Repository navigation
Conversation
uv >= 0.12.14 checks wheel coverage per resolver fork. With an open requires-python, the 3.14 and >=3.15 forks have no compatible wheels on our internal pypi (asyncpg, uvloop), so any `uv lock --upgrade-package` fails. This blocks all Dependabot security updates for uv.lock.
oioki
added a commit
that referenced
this pull request
Oct 1, 2026
Alternative to #126158. Instead of capping `requires-python`, keep it at `>=3.13` (#125179) and limit `[tool.uv] environments` to `python_version < '3.14'`. Only the lock's fork markers change. All Dependabot security updates for `uv.lock` currently fail (urllib3, Django, PyJWT, oauthlib): ``` uv lock --upgrade-package urllib3==2.8.0 error: No solution found when resolving dependencies for split (python_full_version >= '3.15' ...) cause: asyncpg==0.31.0 has no `sys_platform == 'darwin' or sys_platform == 'linux'`-compatible wheels ``` Since uv 0.12.14 ([astral-sh/uv#21672](astral-sh/uv#21672)) wheel coverage is checked per resolver fork, and our internal PyPI has no cp314/cp315 wheels for several deps (asyncpg, uvloop, rpds-py, tiktoken, vroomrs, xmlsec). `bump-version.yml` is unaffected only because it pins uv 0.12.10. Compared to #126158, this keeps the project's declared Python support unchanged and only narrows what we lock for. Lifting it once the mirror builds 3.14 (and later 3.15) wheels is a one-line change. With this change, Dependabot's exact command succeeds for every open pip alert's target version.
Member
Author
|
Superseded by #126162 |
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.
Caps
requires-pythonto==3.13.*(what we run, per.python-version) and relocks. The lock diff only drops the 3.14 / >=3.15 resolution forks and unused cp314 wheel entries.All Dependabot security updates for
uv.lockcurrently fail (urllib3, Django, PyJWT, oauthlib), e.g.:Since uv 0.12.14 (astral-sh/uv#21672), wheel coverage is checked per resolver fork. With an open-ended
requires-python, the 3.14 and >=3.15 forks have no compatible wheels on our internal PyPI (asyncpg, uvloop), so anyuv lock --upgrade-packagefails. The existing lock only works because uv reuses it as-is;bump-version.ymlis unaffected because it pins uv 0.12.10.With this change, Dependabot's exact command succeeds for every open pip alert's target version.