Skip to content

ci(sdk-python): pin ruff to 0.15.22 (0.16.0 turns the lint gate red repo-wide) - #831

Merged
AbirAbbas merged 1 commit into
mainfrom
ci/pin-ruff-01522
Jul 28, 2026
Merged

ci(sdk-python): pin ruff to 0.15.22 (0.16.0 turns the lint gate red repo-wide)#831
AbirAbbas merged 1 commit into
mainfrom
ci/pin-ruff-01522

Conversation

@AbirAbbas

Copy link
Copy Markdown
Contributor

Summary

The sdk-python workflow installs unpinned ruff (pip install ruff). ruff 0.16.0 just released, and under it current main fails ruff check . with 2721 errors (I001, BLE001, C408, …) while passing 0.15.22 clean — so every sdk-python PR's Lint job is now red regardless of its content. First hit: #783's lint-and-test jobs.

Changes Made

  • Pin pip install "ruff==0.15.22" in .github/workflows/sdk-python.yml — the newest version main is actually clean under.

Test Plan

  • ruff check . on main with 0.15.22 → clean; with 0.16.0 → 2721 errors (verified locally on both)
  • Lint job green on this PR

Follow-up: bump the pin deliberately in its own PR alongside the new-rule fixes.


🤖 Generated with Claude Code

ruff 0.16.0 released and the workflow installs unpinned ruff, so the Lint
step now fails with ~2700 pre-existing violations (I001, BLE001, C408, ...)
on every sdk-python PR — current main itself is red under 0.16.0 and clean
under 0.15.22. Pin the version CI actually validated against; bump
deliberately alongside the rule fixes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@AbirAbbas
AbirAbbas requested a review from a team as a code owner July 28, 2026 23:05
@AbirAbbas
AbirAbbas merged commit d65fbe0 into main Jul 28, 2026
23 checks passed
@AbirAbbas
AbirAbbas deleted the ci/pin-ruff-01522 branch July 28, 2026 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant