Repository navigation
Normalize dependency inputs in tool receipts - #21930
Closed
charliermarsh wants to merge 10 commits into
Closed
charliermarsh wants to merge 10 commits into
charliermarsh wants to merge 10 commits into
Conversation
charliermarsh
temporarily deployed
to
automations
September 23, 2026 01:59 — with
GitHub Actions
Inactive
charliermarsh
had a problem deploying
to
automations
September 23, 2026 02:09 — with
GitHub Actions
Error
charliermarsh
force-pushed
the
charlie/tool-requirement-dedup
branch
from
September 23, 2026 02:17
a0e7cc3 to
51bd134
Compare
charliermarsh
changed the base branch from
main
to
charlie/arbitrary-equality-satisfaction
September 23, 2026 02:17
charliermarsh
force-pushed
the
charlie/tool-requirement-dedup
branch
from
September 23, 2026 02:19
51bd134 to
13ae6b6
Compare
charliermarsh
had a problem deploying
to
automations
September 23, 2026 02:20 — with
GitHub Actions
Error
charliermarsh
had a problem deploying
to
automations
September 23, 2026 02:30 — with
GitHub Actions
Error
charliermarsh
marked this pull request as ready for review
September 23, 2026 02:36
charliermarsh
temporarily deployed
to
automations
September 23, 2026 02:38 — with
GitHub Actions
Inactive
charliermarsh
temporarily deployed
to
automations
September 23, 2026 03:15 — with
GitHub Actions
Inactive
konstin
approved these changes
Sep 23, 2026
Base automatically changed from
charlie/arbitrary-equality-satisfaction
to
main
September 23, 2026 10:57
charliermarsh
added a commit
that referenced
this pull request
Sep 23, 2026
## Summary We resolve `package===1` to version `1.0.0`, but satisfaction checks compare rendered versions and report the installed package as incompatible. Compare parsed versions for `===` so installation reuse and `uv pip check` agree with resolution. Local version labels remain significant: `===1` accepts `1.0.0` but rejects `1.0.0+local`. Prerequisite for #21930.
charliermarsh
force-pushed
the
charlie/tool-requirement-dedup
branch
from
September 23, 2026 10:57
469825d to
f9f7664
Compare
charliermarsh
temporarily deployed
to
automations
September 23, 2026 10:58 — with
GitHub Actions
Inactive
Merging this PR will not alter performance
Performance Changes
Comparing Footnotes
|
charliermarsh
force-pushed
the
charlie/tool-requirement-dedup
branch
from
September 23, 2026 12:52
f9f7664 to
8670d61
Compare
charliermarsh
changed the base branch from
main
to
charlie/false-marker-roundtrip
September 23, 2026 12:52
charliermarsh
had a problem deploying
to
automations
September 23, 2026 12:53 — with
GitHub Actions
Error
charliermarsh
temporarily deployed
to
automations
September 23, 2026 12:59 — with
GitHub Actions
Inactive
charliermarsh
temporarily deployed
to
automations
September 23, 2026 13:16 — with
GitHub Actions
Inactive
charliermarsh
added a commit
that referenced
this pull request
Sep 23, 2026
We serialize always-false markers as `python_version < '0'`, but parsing that expression produces a nonconstant version range. Normalize `python_version < '0'` to false and its complement to true, including equivalent zero spellings, so false markers round-trip correctly. This lets us recognize unchanged false overrides after reading tool receipts. The simplification applies to `python_version`, whose values contain only major and minor release numbers. Prerequisite for #21930.
charliermarsh
force-pushed
the
charlie/tool-requirement-dedup
branch
from
September 23, 2026 14:26
629dadb to
5fd7202
Compare
charliermarsh
temporarily deployed
to
automations
September 23, 2026 14:32 — with
GitHub Actions
Inactive
charliermarsh
temporarily deployed
to
automations
September 23, 2026 14:46 — with
GitHub Actions
Inactive
This comment has been minimized.
This comment has been minimized.
charliermarsh
temporarily deployed
to
automations
September 23, 2026 16:15 — with
GitHub Actions
Inactive
charliermarsh
force-pushed
the
charlie/tool-requirement-dedup
branch
from
September 24, 2026 01:09
ea9cdad to
9d764a0
Compare
charliermarsh
temporarily deployed
to
automations
September 24, 2026 01:09 — with
GitHub Actions
Inactive
charliermarsh
force-pushed
the
charlie/tool-requirement-dedup
branch
from
September 24, 2026 01:38
9d764a0 to
7829a18
Compare
charliermarsh
changed the base branch from
main
to
charlie/intersect-constraint-hashes
September 24, 2026 01:38
charliermarsh
had a problem deploying
to
automations
September 24, 2026 01:39 — with
GitHub Actions
Failure
charliermarsh
force-pushed
the
charlie/tool-requirement-dedup
branch
from
September 25, 2026 14:00
7829a18 to
9351edb
Compare
charliermarsh
force-pushed
the
charlie/intersect-constraint-hashes
branch
from
September 25, 2026 14:00
cee9ebf to
1db9344
Compare
charliermarsh
temporarily deployed
to
automations
September 25, 2026 14:01 — with
GitHub Actions
Inactive
This branch was previously deployed
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.
Repeated
--witharguments currently produce duplicate requirements in tool receipts. We now normalize requirements, constraints, overrides, exclusions, and build constraints when installing tools and reading existing receipts. Equivalent inputs reuse the installed environment, and successful installs and upgrades write normalized receipts. For example,--with 'httpie<1' --with 'httpie<2'records a singlehttpie<1requirement.Each input type has a normalized wrapper in
uv-tool. Requirements and constraints combine overlapping declarations while retaining source identity, prerelease opt-in, and yanked-version eligibility. Overrides retain false markers that suppress dependencies, exclusions retain package and version scopes, and build constraints retain hash restrictions and validation behavior.Depends on #21956, which makes repeated constraint hashes independent of declaration order.
Closes #14023.