chore(deps): update ruff dependency from 0.15.1 to 0.15.9 #2262

Open
opened 2026-04-03 11:56:19 +00:00 by freemo · 1 comment
Owner

Metadata

  • Branch: chore/update-ruff-0.15.9
  • Commit Message: chore(deps): update ruff from >=0.15.0,<0.16.0 to >=0.15.9,<0.16.0
  • Milestone: v3.2.0
  • Parent Epic: #946

Background and Context

The project currently pins ruff to >=0.15.0,<0.16.0 in the [project.optional-dependencies] dev section of pyproject.toml. The installed version is 0.15.1, while the latest available patch release in the 0.15.x series is 0.15.9.

Ruff follows a rapid release cadence and patch releases within a minor series contain bug fixes, performance improvements, and rule refinements. Staying on 0.15.1 means the project misses 8 patch releases worth of linting accuracy improvements and potential false-positive/false-negative fixes.

Additionally, the [project.optional-dependencies] docs section contains a looser ruff>=0.4.0 pin that should be tightened to align with the dev constraint.

Current Behavior

  • pyproject.toml dev dependency: ruff>=0.15.0,<0.16.0
  • Installed version: 0.15.1
  • Latest 0.15.x patch: 0.15.9
  • Docs dependency: ruff>=0.4.0 (unpinned upper bound, inconsistent with dev)

Expected Behavior

  • pyproject.toml dev dependency updated to ruff>=0.15.9,<0.16.0
  • pyproject.toml docs dependency updated to ruff>=0.15.9,<0.16.0 for consistency
  • All nox sessions (lint, format, typecheck, etc.) pass with the updated version
  • No new linting violations introduced by the version bump

Acceptance Criteria

  • pyproject.toml dev dependency updated to ruff>=0.15.9,<0.16.0
  • pyproject.toml docs dependency updated to ruff>=0.15.9,<0.16.0
  • uv.lock (or equivalent lock file) regenerated to reflect the new pin
  • All nox sessions pass without errors after the update
  • No new ruff violations are introduced; any newly flagged issues are resolved
  • Coverage remains ≥ 97%

Supporting Information

  • Current pin location: pyproject.toml, [project.optional-dependencies]dev and docs
  • Installed version confirmed via pip show ruff: 0.15.1
  • Latest patch confirmed via pip index versions ruff: 0.15.9
  • Ruff changelog: https://github.com/astral-sh/ruff/releases

Subtasks

  • Update ruff>=0.15.0,<0.16.0ruff>=0.15.9,<0.16.0 in [project.optional-dependencies] dev
  • Update ruff>=0.4.0ruff>=0.15.9,<0.16.0 in [project.optional-dependencies] docs
  • Regenerate lock file (uv lock or equivalent)
  • Run nox -s lint and resolve any newly flagged violations
  • Run nox -s format to confirm formatting is unaffected
  • Run full nox suite (all default sessions) and confirm all pass
  • Verify coverage ≥ 97% via nox -s coverage_report

Definition of Done

This issue is complete when:

  • All subtasks above are completed and checked off.
  • A Git commit is created where the first line of the commit message matches the Commit Message in Metadata exactly (chore(deps): update ruff from >=0.15.0,<0.16.0 to >=0.15.9,<0.16.0), followed by a blank line, then additional lines providing relevant details about the implementation.
  • The commit is pushed to the remote on the branch matching the Branch in Metadata exactly (chore/update-ruff-0.15.9).
  • The commit is submitted as a pull request to master, reviewed, and merged before this issue is marked done.
  • All nox stages pass.
  • Coverage ≥ 97%.

Automated by CleverAgents Bot
Supervisor: Unknown | Agent: ca-new-issue-creator

## Metadata - **Branch**: `chore/update-ruff-0.15.9` - **Commit Message**: `chore(deps): update ruff from >=0.15.0,<0.16.0 to >=0.15.9,<0.16.0` - **Milestone**: v3.2.0 - **Parent Epic**: #946 ## Background and Context The project currently pins `ruff` to `>=0.15.0,<0.16.0` in the `[project.optional-dependencies] dev` section of `pyproject.toml`. The installed version is `0.15.1`, while the latest available patch release in the `0.15.x` series is `0.15.9`. Ruff follows a rapid release cadence and patch releases within a minor series contain bug fixes, performance improvements, and rule refinements. Staying on `0.15.1` means the project misses 8 patch releases worth of linting accuracy improvements and potential false-positive/false-negative fixes. Additionally, the `[project.optional-dependencies] docs` section contains a looser `ruff>=0.4.0` pin that should be tightened to align with the dev constraint. ## Current Behavior - `pyproject.toml` dev dependency: `ruff>=0.15.0,<0.16.0` - Installed version: `0.15.1` - Latest `0.15.x` patch: `0.15.9` - Docs dependency: `ruff>=0.4.0` (unpinned upper bound, inconsistent with dev) ## Expected Behavior - `pyproject.toml` dev dependency updated to `ruff>=0.15.9,<0.16.0` - `pyproject.toml` docs dependency updated to `ruff>=0.15.9,<0.16.0` for consistency - All nox sessions (`lint`, `format`, `typecheck`, etc.) pass with the updated version - No new linting violations introduced by the version bump ## Acceptance Criteria - [ ] `pyproject.toml` dev dependency updated to `ruff>=0.15.9,<0.16.0` - [ ] `pyproject.toml` docs dependency updated to `ruff>=0.15.9,<0.16.0` - [ ] `uv.lock` (or equivalent lock file) regenerated to reflect the new pin - [ ] All nox sessions pass without errors after the update - [ ] No new ruff violations are introduced; any newly flagged issues are resolved - [ ] Coverage remains ≥ 97% ## Supporting Information - Current pin location: `pyproject.toml`, `[project.optional-dependencies]` → `dev` and `docs` - Installed version confirmed via `pip show ruff`: `0.15.1` - Latest patch confirmed via `pip index versions ruff`: `0.15.9` - Ruff changelog: https://github.com/astral-sh/ruff/releases ## Subtasks - [ ] Update `ruff>=0.15.0,<0.16.0` → `ruff>=0.15.9,<0.16.0` in `[project.optional-dependencies] dev` - [ ] Update `ruff>=0.4.0` → `ruff>=0.15.9,<0.16.0` in `[project.optional-dependencies] docs` - [ ] Regenerate lock file (`uv lock` or equivalent) - [ ] Run `nox -s lint` and resolve any newly flagged violations - [ ] Run `nox -s format` to confirm formatting is unaffected - [ ] Run full `nox` suite (all default sessions) and confirm all pass - [ ] Verify coverage ≥ 97% via `nox -s coverage_report` ## Definition of Done This issue is complete when: - All subtasks above are completed and checked off. - A Git commit is created where the **first line** of the commit message matches the Commit Message in Metadata exactly (`chore(deps): update ruff from >=0.15.0,<0.16.0 to >=0.15.9,<0.16.0`), followed by a blank line, then additional lines providing relevant details about the implementation. - The commit is pushed to the remote on the branch matching the **Branch** in Metadata exactly (`chore/update-ruff-0.15.9`). - The commit is submitted as a **pull request** to `master`, reviewed, and **merged** before this issue is marked done. - All nox stages pass. - Coverage ≥ 97%. --- **Automated by CleverAgents Bot** Supervisor: Unknown | Agent: ca-new-issue-creator
freemo added this to the v3.2.0 milestone 2026-04-03 12:02:51 +00:00
freemo removed this from the v3.2.0 milestone 2026-04-06 22:30:56 +00:00
Author
Owner

This issue has been moved to the backlog as part of an aggressive grooming of the v3.2.0 milestone. It has been deemed non-critical for the minimal viability of the milestone and will be addressed in a future release.

This issue has been moved to the backlog as part of an aggressive grooming of the v3.2.0 milestone. It has been deemed non-critical for the minimal viability of the milestone and will be addressed in a future release.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
cleveragents/cleveragents-core#2262
No description provided.