Release Notes
Released on 2026-10-26.
Preview features
- [
suspicious] Addshared-clock-mock(#29074)
Bug fixes
- [
pyupgrade] Avoid incorrect conversions to f-strings (UP032) (#25485)
Performance
- Buffer stdout in
ruff format(#29631) - Specialize ASCII identifier lexing (#29503)
- Speed up identifier and keyword lexing (#29463)
Documentation
- [
flake8-bandit] Describe what the rule actually checks forhttpx(S113) (#27936)
Contributors
Install ruff 0.17.3
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/ruff/releases/download/0.17.3/ruff-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://releases.astral.sh/github/ruff/releases/download/0.17.3/ruff-installer.ps1 | iex"Download ruff 0.17.3
Verifying GitHub Artifact Attestations
The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:
gh attestation verify <file-path of downloaded artifact> --repo astral-sh/ruffYou can also download the attestation from GitHub and verify against that directly:
gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation>