ci(dependabot): exclude majors from the python group - #170
Conversation
A single incompatible major (chardet 5->7 in PR #169) made the whole 35-package grouped bump unresolvable and failed pytest on all matrix jobs. Restrict the python-dependencies group to minor+patch so majors arrive as individual, testable PRs -- mirroring the existing npm group policy.
|
Note
|
| Layer / File(s) | Summary |
|---|---|
Restrict pip group updates to minor/patch .github/dependabot.yml |
Adds an update-types block and comments limiting grouped Python dependency PRs to "minor" and "patch" versions, excluding major updates from the grouped PR flow. |
Estimated code review effort: 1 (Trivial) | ~2 minutes
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
| Check name | Status | Explanation |
|---|---|---|
| Description Check | ✅ Passed | Check skipped - CodeRabbit’s high-level summary is enabled. |
| Title check | ✅ Passed | The title clearly matches the change: Dependabot’s Python group is restricted to minor and patch updates. |
| Docstring Coverage | ✅ Passed | No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. |
| Linked Issues check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
✨ Finishing Touches
🧪 Generate unit tests (beta)
- Create PR with unit tests
- Commit unit tests in branch
chore/dependabot-python-exclude-majors
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands.
Deploying attestix with
|
| Latest commit: |
2b8157a
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://4157bb9e.attestix.pages.dev |
| Branch Preview URL: | https://chore-dependabot-python-excl.attestix.pages.dev |
Fixes the root cause of #169: chardet 5->7 (a major) made the 35-package grouped bump unresolvable. Restrict the python group to minor+patch so majors come as individual PRs (mirrors the npm group policy). Config-only change.
Summary by CodeRabbit