Repository navigation
ci: upgrade uv.lock with a scheduled workflow instead of dependabot - #865
Merged
Merged
Conversation
|
☂️ Python Coverage
Overall Coverage
New FilesNo new covered files... Modified FilesNo covered modified files...
|
Dependabot's uv updater can't handle a lockfile that forks by Python version (requires-python >= 3.8), so every update failed with dependency_file_not_resolvable. Run `uv lock --upgrade` weekly and open a PR using a GitHub App token so CI runs on it. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
nealrichardson
force-pushed
the
uv-lock-upgrade-workflow
branch
from
October 14, 2026 13:45
a444d9e to
0a2b8da
Compare
zackverham
approved these changes
Oct 14, 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.
Dependabot's
uvupdater failed on every Python dependency (run). Becauserequires-python = ">=3.8",uv.lockresolves different versions for different Python ranges (e.g. ipykernel 6.29.5 / 6.31.0 / 7.3.0 for 3.8 / 3.9 / 3.10+). Dependabot tries to pin each package's newest version across all of them, which can't resolve for 3.8/3.9.uv lock --upgradehandles this fine..github/workflows/uv-lock-upgrade.yml: weekly (Mon 10:00 UTC) and on manual run, runsuv lock --upgradeand opens or updates a PR on theuv-lock-upgradebranch, with uv's change summary in the PR body. It uses a GitHub App token (POSIT_CONNECT_PROJECTS_CLIENT_ID/POSIT_CONNECT_PROJECTS_PEM) so CI runs on the PR; PRs opened withGITHUB_TOKENdon't trigger workflows.uvecosystem fromdependabot.yml; GitHub Actions updates stay with Dependabot.After merging, trigger it once with
gh workflow run uv-lock-upgrade.ymlto check that it works. Review the first upgrade PR carefully: a dry run showedpackagingmoving from 26.2 down to 25.0, probably because an upgraded dependency caps it.🤖 Generated with Claude Code