ci(deps): bump lower bound on pip dependabot PRs#40308
Merged
Merged
Conversation
…: increase) Follow-up to @villebro's review on #40186. Dependabot's default behavior for the pip ecosystem is to only *widen the upper bound* of constraints in `pyproject.toml`, leaving the lower bound at the old version forever. Over time the lower bound becomes meaningless because no installed environment ever resolves that low. Setting `versioning-strategy: increase` makes dependabot bump both sides of the range to the new version, e.g. `sqlglot>=28.10.0, <29` → `sqlglot>=30.8.0, <31` in one PR. Lockfile regeneration (`./scripts/uv-pip-compile.sh`) still needs a human or a separate hook — dependabot for pip doesn't auto-run uv — but the pyproject.toml side is now consistent with what's intended. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
|
Bito Automatic Review Skipped - Files Excluded |
hainenber
approved these changes
May 21, 2026
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
Follow-up to @villebro's review on #40186 (sqlglot 28→30 bump). Dependabot's default behavior for the pip ecosystem is to only widen the upper bound of constraints in `pyproject.toml`, leaving the lower bound at the old version forever. Over time the lower bound becomes meaningless because no installed environment ever resolves that low.
Setting `versioning-strategy: increase` makes dependabot bump both sides of the range to the new version, e.g. `sqlglot>=28.10.0, <29` → `sqlglot>=30.8.0, <31` in one PR.
BEFORE/AFTER
Take a bump from sqlglot 28.10.0 → 30.8.0:
<29→<31<29→<31>=28.10.0(unchanged)>=30.8.0The lower bound drift is what @villebro flagged on #40186 — over many bumps it becomes a fiction.
What this PR doesn't do
Lockfile regeneration (`./scripts/uv-pip-compile.sh` against `requirements/base.txt` / `development.txt`) still needs a human or a separate hook. Dependabot for pip doesn't auto-run `uv` and won't update compiled pin files. That's a separate problem to solve later — this PR just fixes the `pyproject.toml`-side drift.
TESTING INSTRUCTIONS
Config-only change. To validate, dependabot's next pip-ecosystem PR will set both bounds.
ADDITIONAL INFORMATION
🤖 Generated with Claude Code