Repository navigation
chore(ci): keep published version floors in Dependabot updates - #268
Open
jeffdupont wants to merge 3 commits into
Open
jeffdupont wants to merge 3 commits into
jeffdupont wants to merge 3 commits into
Conversation
Dependabot raised the minimum versions in the packages' pyproject.toml (for example ai>=0.7,<0.8 to ai>=0.8.0,<0.9), which forces every user to upgrade. increase-if-necessary leaves a requirement alone when it already allows the new release, and otherwise widens it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
increase-if-necessary still raises the floor when a release falls outside the range (^1.0.0 becomes ^2.0.0). widen keeps the old minimum. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
uv does not accept widen, and increase-if-necessary still raises the floor when a release falls outside the range. lockfile-only never edits the packages' requirements. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jeffdupont
marked this pull request as ready for review
November 2, 2026 21:27
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
Dependabot's first run raised the minimum versions in the published packages'
pyproject.tomlfiles, which would force every user of those packages to upgrade:ai>=0.7,<0.8→ai>=0.8.0,<0.9(vercel-agents, vercel-messages)openai-agents>=0.17,<0.25→openai-agents>=0.24.0,<0.25langchain-openai>=1.3→>=1.7.2(langchain-agents, langchain-messages), and the rootlangchain-openai>=0.3→>=1.7.2langchain-anthropic>=1.4.8→>=1.7.6, and theanthropicextras>=1.4→>=1.7.6This sets
versioning-strategy: 'lockfile-only'on theuventry, so Dependabot updatesuv.lockand never edits a package's version requirements. The GitHub Actions entry is unchanged.The other values
uvaccepts were considered and not used:increaseraises the floor;auto(the default) raised it in this repo's first run, as above.increase-if-necessarykeeps a requirement that already allows the release, but still raises the floor when the release falls outside the range (^1.0.0becomes^2.0.0in GitHub's docs).widenis not accepted foruv; Dependabot's config check rejects it.Trade-off: with
lockfile-only, Dependabot opens no PR for a release outside a package's range, such asai0.8 againstai>=0.7,<0.8. Moving a range stays a manual decision.After this merges, comment
@dependabot recreateon #263, #265 and #267 so they are rebuilt as lock-file updates. #266 will likely close, sinceai0.8 is outside the range.Not in scope: #263, #265 and #267 also fail the parameter-forwarding tests because the new provider releases accept new keys. Those need classifying in each handler and are a separate change.
🤖 Generated with Claude Code
Note
Overview
Dependabot’s uv workspace entry now uses
versioning-strategy: lockfile-only, with comments that published packages should only getuv.lockbumps—not edits topyproject.tomlversion floors.This reverses behavior where the first Dependabot run raised minimum requirements (e.g.
ai,openai-agents,langchain-*), which would have forced downstream users to upgrade. GitHub Actions Dependabot settings are unchanged.Trade-off: releases outside an existing semver range won’t get automatic PRs; widening or bumping published ranges stays manual.
Reviewed by Cursor Bugbot for commit 045190e. Bugbot is set up for automated code reviews on this repo. Configure here.