Ruff 0.17.3
Ruff 0.17.3 was released on October 26, 2026. The release is a maintenance update: one new preview rule, one notable fix in the pyupgrade family, and no changes to stable rule behavior or configuration format.
Overview
Ruff 0.17.3 follows 0.17.2, which shipped on October 22, 2026. Astral continues to publish small, frequent patches to the linter and formatter rather than batching work into larger milestones. The build landed on PyPI on October 26 and is already bundled in the official VS Code extension, which pins ruff==0.17.3.
Preview Features
The only new rule in this release is shared-clock-mock (#29074), which belongs to the suspicious rule family. Because it is a preview rule, it is not enabled by default. It has to be selected explicitly in the select list of the Ruff configuration before it will report anything.
Bug Fixes
The pyupgrade rules received a fix that avoids incorrect conversions. This matters for projects that run ruff check --fix over older codebases, where a wrong rewrite can silently change runtime behavior. After upgrading, re-run the linter with --diff on a dirty branch and confirm that any automatic rewrite still produces what you expect.
Breaking Changes
None. Stable rule behavior is unchanged, so existing ruff.toml or pyproject.toml settings keep working without edits.
Deprecations
No new deprecations were announced with 0.17.3.
Upgrade Instructions
uv tool upgrade rufffor tool installs managed by uv.pip install -U ruff==0.17.3for pip installs and pinned CI images.- Run
ruff checkandruff format --checklocally before pushing, so a formatting difference does not surprise the pipeline. - Update editor extensions if you rely on the bundled binary instead of a project virtualenv.
Release Information
Version: 0.17.3. Released: October 26, 2026. Details are available in the Astral changelog on GitHub and the PyPI release history.