Skip to content

Pin ruff to <0.16 to fix CI lint failures - #293

Merged
pendingintent merged 2 commits into
masterfrom
pi-pin-ruff-version
Aug 10, 2026
Merged

Pin ruff to <0.16 to fix CI lint failures#293
pendingintent merged 2 commits into
masterfrom
pi-pin-ruff-version

Conversation

@pendingintent

Copy link
Copy Markdown
Owner

Summary

  • ruff 0.16 expanded its default lint rule selection; since pyproject.toml pinned only ruff>=0.5.0 with no upper bound, CI picked up 0.16.2 while local dev environments stayed on 0.15.x.
  • This surfaced ~1,900 lint findings on otherwise-unchanged code, unrelated to any actual diff, breaking CI (Python) on master (and previously on PR Release v 1.6 #291).
  • Pins ruff>=0.5.0,<0.16 so CI stays aligned with the rule set that was actually passing, until the rule selection is deliberately revisited.

Test plan

  • CI (Python) passes on this PR across all Python versions (3.11–3.14)

ruff 0.16 expanded its default lint rule selection, causing
CI to install a newer ruff than the local dev environment and
surface ~1900 new findings unrelated to this branch's changes.
Pin the dev dependency to keep CI aligned with the previously
passing rule set until the rule selection is deliberately
updated.
@pendingintent

Copy link
Copy Markdown
Owner Author

@claude please check SQL injection risk

mcp 2.0 removed/renamed the Server.list_tools/call_tool
decorator API that src/soa_builder/mcp/server.py relies on.
pyproject.toml only required mcp>=1.0.0 with no upper bound,
so CI installed 2.0.0 while local dev stayed on 1.28.1,
breaking pytest collection for the whole test suite.
@pendingintent
pendingintent merged commit 2bf71eb into master Aug 10, 2026
11 checks passed
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