Enforce available distributions for supported environments#18451
Merged
charliermarsh merged 1 commit intomainfrom Mar 16, 2026
Merged
Enforce available distributions for supported environments#18451charliermarsh merged 1 commit intomainfrom
charliermarsh merged 1 commit intomainfrom
Conversation
6f9d0d4 to
8138136
Compare
8cceeb5 to
1dc43cf
Compare
1dc43cf to
4ba3ab9
Compare
4ba3ab9 to
94b4e4d
Compare
konstin
approved these changes
Mar 16, 2026
zaniebot
pushed a commit
to zaniebot/uv
that referenced
this pull request
Mar 17, 2026
…verage PR astral-sh#18451 changed `artifact_environments` from only `required_environments` to `supported_environments + required_environments`, causing `tool.uv.environments` to enforce artifact coverage. This breaks packages like flashinfer-jit-cache that provide platform-specific wheels from custom indexes when the environment can't be forked further. Split `artifact_environments` into separate `supported_environments` and `required_environments` fields. For `supported_environments` (from `tool.uv.environments`), fork when possible but skip when forking fails. For `required_environments` (from `tool.uv.required-environments`), keep the existing behavior of erroring when forking fails. URL dependencies continue to enforce coverage for both supported and required environments since they are explicit pinned files. Fixes astral-sh#18527 https://claude.ai/code/session_01DHYzoSf5k4hoWSNgKCSj9y
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
A revival of #17118. We now enforce that builds are available for all supported environments in addition to required environments.
Closes #17067.
Closes #17060.