Repository navigation
Conversation
| Some(version.clone()), | ||
| dependency_versions.encoded_versions().clone(), | ||
| )); | ||
| // Find a dependency from a package to the current package. |
There was a problem hiding this comment.
De-indented but same logic
Avoid uv calling into pubgrub's implementation details by using dedicated methods instead. Paired with astral-sh/uv#21647.
Avoid uv calling into pubgrub's implementation details by using dedicated methods instead. Paired with astral-sh/uv#21647.
Avoid uv calling into pubgrub's implementation details by using dedicated methods instead. Paired with astral-sh/uv#21647.
Avoid uv calling into pubgrub's implementation details by using dedicated methods instead. Paired with astral-sh/uv#21647.
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.
Avoid uv calling into pubgrub's implementation details by using dedicated methods instead. Paired with astral-sh/uv#21647.
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.
745ec08 to
5b63204
Compare
3ebacee to
a72e48f
Compare
a72e48f to
b8901f5
Compare
b8901f5 to
2fd9aa1
Compare
Avoid uv calling into pubgrub's implementation details by using dedicated methods instead. Paired with astral-sh/uv#21647.
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.
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.
2fd9aa1 to
26af54c
Compare
26af54c to
611860d
Compare
Merging this PR will improve performance by 5.22%2 warnings
Performance Changes
Tip Curious why performance improved? Comment Comparing Footnotes
|
Avoid calling into PubGrub's implementation details by using dedicated methods. Match
Term::Positivedirectly to borrow the version range without requiring a publicTerm::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.