Skip to content

chore(deps-dev): bump ruff from 0.16.10 to 0.17.5 - #432

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/ruff-0.17.5
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/ruff-0.17.5

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Bumps ruff from 0.16.10 to 0.17.5.

Release notes

Sourced from ruff's releases.

0.17.5

Release Notes

Released on 2026-11-12.

Preview features

  • Redirect renamed rules (#30081)
  • [flake8-async] Implement pytest-raises-exception-group (ASYNC401) (#28772)
  • [flake8-logging-format] Mark G004 fix as unsafe (#30087)
  • [pylint] Implement no-method-argument (PLE0211) (#29748)
  • [refurb] Do not offer fix when write is nested in an expression (FURB103) (#29789)
  • [ruff] Add renamed-rule (RUF202) (#30079)
  • [ruff] Expand redirected-noqa to other suppression comments (RUF101) (#30078)

Bug fixes

  • Avoid crashing when Ruff logs to a closed stderr pipe (#30209)
  • Fix fixes that add or remove a keyword argument with a parenthesized value (#30189)
  • [flake8-import-conventions] Avoid shadowing names when fixing import aliases (ICN001) (#30035)
  • [flake8-bugbear] Fix B010 autofix for parenthesized setattr calls (#30168)
  • [flake8-pyi] Fix PYI034 autofix for parenthesized self annotations (#30173)
  • [pyupgrade] Fix UP031 duplicating closing parentheses around the format string (#30172)

Rule changes

  • [flake8-bugbear] Ignore frozen dataclass instantiations (B008) (#29231)

Performance

Other changes

  • Fix FreeBSD source builds with libc 0.2.190 (#30176)

Contributors

... (truncated)

Changelog

Sourced from ruff's changelog.

0.17.5

Released on 2026-11-12.

Preview features

  • Redirect renamed rules (#30081)
  • [flake8-async] Implement pytest-raises-exception-group (ASYNC401) (#28772)
  • [flake8-logging-format] Mark G004 fix as unsafe (#30087)
  • [pylint] Implement no-method-argument (PLE0211) (#29748)
  • [refurb] Do not offer fix when write is nested in an expression (FURB103) (#29789)
  • [ruff] Add renamed-rule (RUF202) (#30079)
  • [ruff] Expand redirected-noqa to other suppression comments (RUF101) (#30078)

Bug fixes

  • Avoid crashing when Ruff logs to a closed stderr pipe (#30209)
  • Fix fixes that add or remove a keyword argument with a parenthesized value (#30189)
  • [flake8-import-conventions] Avoid shadowing names when fixing import aliases (ICN001) (#30035)
  • [flake8-bugbear] Fix B010 autofix for parenthesized setattr calls (#30168)
  • [flake8-pyi] Fix PYI034 autofix for parenthesized self annotations (#30173)
  • [pyupgrade] Fix UP031 duplicating closing parentheses around the format string (#30172)

Rule changes

  • [flake8-bugbear] Ignore frozen dataclass instantiations (B008) (#29231)

Performance

Other changes

  • Fix FreeBSD source builds with libc 0.2.190 (#30176)

Contributors

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.16.10 to 0.17.5.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.16.10...0.17.5)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.17.5
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from a team as a code owner November 18, 2026 00:26
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Nov 18, 2026
@github-actions

Copy link
Copy Markdown

AI review: 1 P0-P2 finding(s)

Reviewed c6fbc8a. Run log

Dependabot bumps the dev-only linter ruff from 0.16.10 to 0.17.5 in pyproject.toml and uv.lock. The lockfile revision also goes from 3 to 5. The SDK runtime is unaffected, but the PR leaves ruff's exact required-version pin at 0.16.10, so the repository's lint and format checks will refuse to run with the new ruff.

🟠 P1

  • pyproject.toml:59 ruff bumped to 0.17.5 but tool.ruff.required-version still pins ==0.16.10

Not checked: The AI review read the diff, the code, and the PR's text; it ran no tests or builds and read nothing outside this repository.

  • Whether ruff check and ruff format --check pass on the existing code under 0.17.x, given select = ["ALL"] with preview = true and new preview rules such as PLE0211, ASYNC401 and RUF202.
  • Whether CI's pinned uv 0.12.17 accepts the revision-5 uv.lock under --locked without trying to rewrite it.
  • Whether any rule names in the ruff ignore/per-file-ignores config were renamed in 0.17 and now trigger redirect or renamed-rule diagnostics.
  • Compatibility with the preview/ALL lint configuration, formatting, and OpenAPI generation requires running the existing checks after fixing the version mismatch.

Push a fix, or have a collaborator with write access (including the PR author) add the ai-review-override label to accept c6fbc8a as is. An override also needs a human review.

Failing round 1 of 3 since this PR was last marked ready for review. If 3 rounds in a row find P0-P2 problems, the AI review moves the PR back to draft for the author to re-assess the approach.

Human review: not needed

Comment thread pyproject.toml
"basedpyright==1.40.1",
"pytest==9.1.1",
"ruff==0.16.10",
"ruff==0.17.5",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟠 P1: ruff bumped to 0.17.5 but tool.ruff.required-version still pins ==0.16.10

pyproject.toml:144 still sets [tool.ruff] required-version = "==0.16.10". With ruff 0.17.5 installed from the lock, poe lint (ruff check --config pyproject.toml .) and poe format-check exit with a version-mismatch error before linting anything. That fails poe checks/poe quality in CI, and on main if merged. maintainers/releasing.md and the comment in .github/dependabot.yml call out this step for every ruff update. To fix it, change required-version to ==0.17.5. Also update maintainers/quality-policy.lock.json:273 and the lock digest (LOCK_SHA256 checked in scripts/check_quality_policy.py); otherwise poe policy fails next.

Found by claude-opus-5-5

Comment thread pyproject.toml
"basedpyright==1.40.1",
"pytest==9.1.1",
"ruff==0.16.10",
"ruff==0.17.5",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟠 P1: Synchronize Ruff’s required-version with the dependency bump

The updated development group installs Ruff 0.17.5, but [tool.ruff].required-version still requires exactly 0.16.10. Ruff therefore refuses to run, causing scripts/check_quality_policy.sh, poe lint, and poe format-check to fail across the CI matrix. Update the required version together with maintainers/quality-policy.lock.json and its LOCK_SHA256 in scripts/check_quality_policy.py.

Found by gpt-6.1-sol

@dependabot @github

dependabot Bot commented on behalf of github Nov 18, 2026

Copy link
Copy Markdown
Contributor Author

Looks like ruff is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this Nov 18, 2026
@dependabot
dependabot Bot deleted the dependabot/uv/ruff-0.17.5 branch November 18, 2026 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants