Repository navigation
Make Term::unwrap_positive crate-private - #86
Merged
Merged
Conversation
konstin
force-pushed
the
konsti/private-unwrap-positive
branch
from
September 19, 2026 22:49
d78c6ad to
b90e227
Compare
konstin
marked this pull request as ready for review
September 19, 2026 22:50
konstin
added a commit
that referenced
this pull request
Sep 19, 2026
Make `Term::unwrap_positive` crate-private, matching upstream. External callers can borrow the version set by matching `Term::Positive`. Paired with astral-sh/uv#21647, which removes uv's remaining call.
konstin
added a commit
that referenced
this pull request
Oct 17, 2026
Make `Term::unwrap_positive` crate-private, matching upstream. External callers can borrow the version set by matching `Term::Positive`. Paired with astral-sh/uv#21647, which removes uv's remaining call.
konstin
added a commit
that referenced
this pull request
Oct 17, 2026
Make `Term::unwrap_positive` crate-private, matching upstream. External callers can borrow the version set by matching `Term::Positive`. Paired with astral-sh/uv#21647, which removes uv's remaining call.
konstin
added a commit
to astral-sh/uv
that referenced
this pull request
Oct 21, 2026
Avoid calling into PubGrub's implementation details by using dedicated methods. Match `Term::Positive` directly to borrow the version range without requiring a public `Term::unwrap_positive`. Paired with astral-sh/pubgrub#80 and astral-sh/pubgrub#86. Use the released astral-pubgrub 0.7.0 and astral-version-ranges 0.2.3, with the unstable state API enabled for uv's incremental resolver. Stacked on #21648.
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.
Make
Term::unwrap_positivecrate-private, matching upstream. External callers can borrow the version set by matchingTerm::Positive.Paired with astral-sh/uv#21647, which removes uv's remaining call.