Repository navigation
dependabot relock: drop the YAML quotes around a bumped version (unblocks #8401) - #8474
Merged
Merged
Conversation
Dependabot's metadata footer quotes a version that reads as a number (dependency-version: '26.3'). The quotes reached pin_requirements.py as -P pip=='26.3', uv refused it, and the relock of PR #8401 failed, which left bootstrap.txt with setuptools unpinned and every install job red. Co-Authored-By: Claude Fable 5.2 <[email protected]>
Contributor
|
No description provided. |
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.
Why
Dependabot PR #8401 (the weekly ci-requirements bump) has been red on 20 checks since 2026-11-13. One bug causes all of them.
dependency-version: '26.3'(pip).dependabot_relock.pykept the quotes and calledpin_requirements.py ... -P "pip=='26.3'". uv refused it, so the relock job failed (run).bootstrap.txtstood, in which setuptools is unpinned. Every job that installs it then died in about 20 seconds:In --require-hashes mode, all requirements must have their versions pinned with ==.What
parse_dependabot_metadatastrips single or double quotes from the version.-Parguments that result.Verification
pytest tests/tools/test_dependabot_relock.py: 7 passed.ruff checkandruff format --checkon both files: clean.After merge
The relock workflow runs main's copy of the tool, so #8401 needs a new relock run once this lands (re-run the failed relock job, or
@dependabot rebase).🤖 Generated with Claude Code