CherryPicked: [v4.18] fix(deps): move ruff to dev deps & widen requires-python for Python 3.14 - #2785
Conversation
ruff is a linter/formatter — it has no runtime purpose and adds ~11MB of platform-specific binaries to every install. It is already managed via pre-commit hooks (ruff-pre-commit), so it only needs to be available for local development. Move ruff from dependencies to [dependency-groups] dev. Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: Meni Yakove <441263+myakove@users.noreply.github.com>
|
@rnetser — AI automatically resolved merge conflicts for this cherry-pick. Please review the changes carefully and verify correctness before merging. |
|
Report bugs in Issues Welcome! 🎉This pull request will be automatically processed with the following features:
🔄 Automatic Actions
📋 Available CommandsPR Status Management
Review & Approval
Testing & Validation
Cherry-pick Operations
Branch Management
Label Management
✅ Merge RequirementsThis PR will be automatically approved when the following conditions are met:
📊 Review ProcessApprovers and ReviewersApprovers:
Reviewers:
Available Labels
AI Features
Security Checks
💡 Tips
For more information, please refer to the project documentation or contact the maintainers. |
|
/lgtm |
The CI server runs Python 3.14.6, which was excluded by the previous upper bound (<3.14). Widen to <3.15 so the package installs on Python 3.14.x. Co-authored-by: Cursor <cursoragent@cursor.com>
|
/security-override |
|
Security checks overridden by @rnetser. Security check runs set to pass. |
|
/verified |
Summary
Cherry-pick and follow-up fix for the
v4.18branch:main(original PR: fix(deps): move ruff from runtime to dev dependency group #2780, owner: rnetser). Movesrufffrom runtime dependencies to thedevdependency group so it is not installed with the package.requires-python— updatesrequires-pythonfrom">=3.9, <3.14"to">=3.9, <3.15"so installs succeed on CI hosts running Python 3.14.6 (fixespython-module-installfailure).Commits
55dfc700— fix(deps): move ruff from runtime to dev dependency group (fix(deps): move ruff from runtime to dev dependency group #2780)4053f0e6— fix(deps): widen requires-python to include Python 3.14