Repository navigation
chore(deps): bump uv to 0.11.0 (reqwest 0.13) - #6127
Merged
Merged
Conversation
baszalmstra
force-pushed
the
bump-uv-0.11.0
branch
4 times, most recently
from
May 15, 2026 11:18
f4f4ce6 to
88fffc8
Compare
baszalmstra
force-pushed
the
bump-uv-0.11.0
branch
5 times, most recently
from
May 15, 2026 13:10
0136a58 to
e2aff2e
Compare
baszalmstra
marked this pull request as ready for review
May 15, 2026 13:48
tdejager
requested changes
May 15, 2026
| /// runtime and emits a warning. Use `webpki` or `system` explicitly, | ||
| /// or set `SSL_CERT_FILE` / `SSL_CERT_DIR`. | ||
| #[deprecated( | ||
| note = "merging webpki + native roots is no longer supported; use `system`, `webpki`, or set SSL_CERT_FILE/DIR" |
Contributor
There was a problem hiding this comment.
Suggested change
| note = "merging webpki + native roots is no longer supported; use `system`, `webpki`, or set SSL_CERT_FILE/DIR" | |
| note = "merging webpki + native roots is no longer supported: use `system`, `webpki`, or set SSL_CERT_FILE/DIR" |
Comment on lines
+230
to
+240
| /// Build the [`BaseClientBuilder`] that all uv flows in pixi share. | ||
| /// | ||
| /// Centralises TLS / proxy / middleware wiring so the registry-client and | ||
| /// satisfaction code paths stay in sync. | ||
| /// | ||
| /// Shares pixi's reqwest client (TLS, proxies, mirrors, connection pool) | ||
| /// with uv via `custom_client` when no host needs the per-host TLS bypass. | ||
| /// uv's `allow_insecure_host` routes flagged hosts through a separate | ||
| /// `dangerous_client` with cert verification disabled; reqwest 0.13 has no | ||
| /// per-host opt-in on a single `Client`, so when the list is non-empty we | ||
| /// let uv build its own dual clients via `with_system_certs` instead. |
Contributor
There was a problem hiding this comment.
Let claude rewrite this comment, its a bit fuzzy to me.
baszalmstra
force-pushed
the
bump-uv-0.11.0
branch
from
May 15, 2026 13:55
e2aff2e to
674823e
Compare
tdejager
approved these changes
May 15, 2026
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.
Summary
Single bump that aligns pixi with the new reqwest 0.13 / astral-middleware 0.5 world. uv 0.11.0 is the first uv release on this stack, and rattler 0.43 + rattler-build (post #2493) coordinate on it.
Versions
uv0.10.12 → 0.11.0reqwest0.12 → 0.13astral-reqwest-middleware0.4 → 0.5,astral-reqwest-retry0.8 → 0.9http-cache-reqwest0.16 → 1.0.0-alpha.6 (first release on reqwest 0.13)rattler0.42 → 0.43,rattler_cache0.7→0.8,rattler_index0.28→0.29,rattler_networking0.26→0.27,rattler_package_streaming0.25→0.26,rattler_repodata_gateway0.28→0.29,rattler_s30.1→0.2,rattler_shell0.26→0.27,rattler_solve6→7 (major),rattler_upload0.6→0.7rattler-build(git/main, includes chore: bump rattler crates and migrate to reqwest 0.13 rattler-build#2493)urlpin 2.5.4 → 2.5,memchr2.7.4 → 2.8 (rattler-build's lower bound)patches/reqwest_middleware_shim: now re-exports astral-reqwest-middleware 0.5 (version bumped to 0.5.99 to satisfy http-cache-reqwest's\"0.5.0\"requirement). The shim is still needed because http-cache-reqwest references thereqwest-middlewarecrate name on crates.io while rattler/uv use the astral fork.Per workspace convention, only minor/major bumps appear in
Cargo.toml; patch versions are tracked inCargo.lock.Feature renames
rustls-tls→rustlsacross all crates (Cargo.toml + cfg attrs + doc comments). Matches the new convention from rattler + reqwest 0.13.rustls-tls-native-roots,native-tls-alpn, andmacos-system-configuration. Replaced respectively with manual cert loading (see below), no-op (ALPN is on by default), andsystem-proxy.TLS rewrite (mirrors uv PR astral-sh/uv#18550)
reqwest 0.13 removed
tls_built_in_root_certs/_webpki_certs/_native_certsin favor oftls_certs_only(Vec<Certificate>). We mirror uv's approach with a smallCertificatesnewtype:crates/pixi_utils/src/tls.rswith factorieswebpki_roots(),from_native_store(),from_env()(handlesSSL_CERT_FILE/SSL_CERT_DIR), andto_reqwest_certs().load_root_certificatesresolves: env vars > config-set value > backend-aware default.default_tls_root_certs()helper returnsSystemCertson native-tls builds andWebpkion rustls builds.Config changes (with backward compat)
TlsRootCertsenum:Native→ renamed toSystemCerts(serde\"system-certs\"). Matches uv's vocabulary.tls-root-certs = \"native\"configs still load; they map to a newLegacyNativevariant marked#[deprecated]that emits a runtime warning pointing users at the new spelling.All(merge webpki + native) is deprecated: uv 0.11's public API can't merge trust stores, so we can't faithfully forward it for uv anymore. Falls through toSystemCertsat runtime with a warning. Usewebpki,system-certs, or setSSL_CERT_FILE/SSL_CERT_DIR.SystemCerts(wasAll).Config::tls_root_certs_explicit() -> Option<TlsRootCerts>returns the user-set value without applying a default, lettingpixi_utilslayer its backend-aware fallback.uv API deltas absorbed
BaseClientBuilder::native_tls(_)+built_in_root_certs(_)→ single.with_system_certs(bool). Helpershould_use_system_certs_for_uvmaps the config: native-tls build ORTlsRootCerts::SystemCerts | LegacyNative→true;Webpki/All→false.RepositoryUrl: Into<Url>removed → Deref-chain inpixi_uv_conversions::conversions.rattler_solve::SolverTask::locked_packagesis nowVec<&'a RepoDataRecord>(was owned).rattler_upload::upload_package_to_s3signature change: takesResolvedS3Credentialsdirectly (no moreauth_storage). Wired the existingResolvedS3Credentials::from_sdk()instance through. Full manifest-driven credentials wiring is in feat(publish): honor workspace.s3-options when uploading to s3 #6069 (still open) and out of scope here.Test plan
tls-root-certs = \"native\"still works and emits deprecation warningtls-root-certs = \"system\"worksSSL_CERT_FILE/SSL_CERT_DIRoverride configAI Disclosure
Tools: Claude