fix(deps): set rangeStrategy widen for all pep621 packages - #708
fix(deps): set rangeStrategy widen for all pep621 packages#708olivermeyer wants to merge 1 commit into
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
PR Review: Renovate Range Strategy Configuration ✅SummaryThis PR correctly configures Renovate to use AnalysisProblem ContextExamined the referenced PRs that demonstrate the issue:
The default The SolutionWith
This is the industry best practice for library dependencies (source). Review Findings✅ Strengths
CRITICAL CHECKS✅ Test Markers
✅ Test Coverage
✅ Code Quality
✅ Architecture Compliance
✅ Breaking Changes
Questions AddressedQ: Does this affect security vulnerability updates? Q: Will this apply to major version updates? Q: What about the runtime-critical packages rule? RecommendationsOptional Enhancement (Non-Blocking)Consider adding an explicit override for security vulnerability alerts if you want aggressive bumping for security fixes: "vulnerabilityAlerts": {
"enabled": true,
"automerge": true,
"rangeStrategy": "bump"
}This would:
However, this is not required for this PR — the current configuration is correct and safe. Verdict✅ APPROVE — This is a focused, correct configuration change that follows best practices for published libraries. The Impact: PRs #697 and #648 can be rebased to pick up the corrected behavior. Verdict: ✅ claude:review:passed |
Codecov Report✅ All modified and coverable lines are covered by tests. |
|



Why?
Renovate was generating bump PRs (e.g.
>=23.0.1,<24→>=25,<26for pyarrow,>=1.19.0,<2→>=2.3,<3for mypy) instead of widening the existing range. For a published SDK, bumping discards backward compatibility with older installed versions that users may have pinned.How?
Adds a
packageRulescoped to thepep621manager withrangeStrategy: widen, covering all update types including major. Renovate will now extend the upper bound of existing ranges rather than replacing them (e.g.>=23.0.1,<26instead of>=25,<26). PRs #697 and #648 can be rebased to pick up the corrected behaviour.