-
Notifications
You must be signed in to change notification settings - Fork 766
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Paths to using published versions of vendored, forked crates? #5588
Comments
I also found that A similar rationale seems to apply for |
Regarding forked crates that are not directly vendored, but referenced by
|
These have diverged significantly and the upstream versions are only passively maintained, uv requires these custom versions and can't use a system copy. |
Are there remaining open questions here? |
While finishing up a
uv
package for Fedora Linux, I’ve documented several cases where third-party crates have been copied intouv
.crates/pep440-rs
is forked from version 0.6.0 of https://crates.io/crates/pep440_rs which is maintained in https://github.com/konstin/pep440-rscrates/pep508-rs
is forked from version 0.6.0 of https://crates.io/crates/pep508_rs which is maintained in https://github.com/konstin/pep508_rscrates/uv-extract/src/vendor/cloneable_seekable_reader.rs
appears to be forked from https://crates.io/crates/ripunzip which is maintained in https://github.com/google/ripunzip; based on the file’s contents and when it was originally introduced, I think it was forked from version 0.4.0, i.e. https://github.com/google/ripunzip/blob/v0.4.0/src/unzip/cloneable_seekable_reader.rs.wheel_metadata_from_remote_zip
incrates//uv-client/src/remote_metadata.rs
is forked fromlazy_read_wheel_metadata
incrates/rattler_installs_packages/src/index/lazy_metadata.rs
in version 0.9.0 https://crates.io/crates/rattler_installs_packages which is maintained at https://github.com/prefix-dev/ripcrates/uv-virtualenv/
as a whole is derived from https://github.com/konstin/gourgeist 0.0.4, which was published as https://crates.io/crates/gourgeist. I am inclined not to treat this as a case of bundling, because it looks like the project was subsumed intouv
, and the link touv
at https://konstin.github.io/gourgeist/ seems to support this.(Please correct me if any of the above is not quite right.)
Fedora policy requires me to ask if there is a path toward eventually using a system copy of any or all of these libraries, i.e., if the necessary changes may eventually be worked around or upstreamed in the original crates.io packages.
The text was updated successfully, but these errors were encountered: