ci(sdk-python): pin ruff to 0.15.22 (0.16.0 turns the lint gate red repo-wide) - #831
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The sdk-python workflow installs unpinned ruff (
pip install ruff). ruff 0.16.0 just released, and under it current main failsruff 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
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)Follow-up: bump the pin deliberately in its own PR alongside the new-rule fixes.
🤖 Generated with Claude Code