You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My understanding is that a version number exists for these distributions in their metadata, but we currently don't keep it around (I believe). We need the version number for our universal lock file, as part of #3347.
The text was updated successfully, but these errors were encountered:
## Summary
In `ResolutionGraph::from_state`, we have mechanisms to grab the hashes
and metadata for all distributions -- but we then throw that information
away. This PR preserves it on a new `AnnotatedDist` (yikes, open to
suggestions) that wraps `ResolvedDist` and includes (1) the hashes
(computed or from the registry) and (2) the `Metadata23`, which lets us
extract the version.
Closes#3356.
Closes#3357.
When creating a
Lock
, we currently have atodo!()
when trying to extract version numbers:uv/crates/uv-resolver/src/lock.rs
Lines 281 to 287 in e33ff95
For example, when the distribution comes from a direct URL, it only has a URL and not a version number:
uv/crates/distribution-types/src/lib.rs
Lines 567 to 571 in e33ff95
My understanding is that a version number exists for these distributions in their metadata, but we currently don't keep it around (I believe). We need the version number for our universal lock file, as part of #3347.
The text was updated successfully, but these errors were encountered: