-
Story
-
Resolution: Done
-
Undefined
-
None
Several Python packages with Rust code depend on the "openssl" and "openssl-sys" package. Some packages are configured to default to vendoring OpenSSL, e.g. they compile their own OpenSSL binaries. We want to have all packages use system OpenSSL.
Vendoring can be disabled by setting the env var "OPENSSL_NO_VENDOR=1". In AIPCC-317 I set the env var for hf-transfer. Now a new package outlines_core also has Rust with OpenSSL. We should set the env var globally for all builds.
So far only "hf-transfer" has an explicit opt-in on vendored feature. The other Rust-based packages use the crate's default setting.
[dependencies] openssl = { version = "0.10", features = ["vendored"] }
Reference:
https://docs.rs/openssl/latest/openssl/#manual
TODO:
- Set OPENSSL_NO_VENDOR=1 globally for all builds
- Remove OPENSSL_NO_VENDOR: 1 from hf-transfer settings