Repository navigation
[RELEASE-26.05] uv: use only the system CA store - #576587
Closed
bengsparks wants to merge 1 commit into
Closed
bengsparks wants to merge 1 commit into
bengsparks wants to merge 1 commit into
Conversation
4 of 13 tasks
There was a problem hiding this comment.
This report is automatically generated by the PR / Check / cherry-pick CI workflow.
Some of the commits in this PR require the author's and reviewer's attention.
If you need to merge this PR despite the warnings, please dismiss this review shortly before merging.
Important
911b5da is not a cherry-pick, because: updating minor versions which has already advanced to the next major on unstable. Please review this commit manually.
Hint: The full diffs are also available in the runner logs with slightly better highlighting.
Set UV_SYSTEM_CERTS=1 by default with a wrapper. uv then trusts the platform store (SSL_CERT_FILE, SSL_CERT_DIR or /etc/ssl/certs) through rustls-platform-verifier. It does not use the Mozilla roots that webpki-root-certs compiles into the binary. A cacert update now also updates the trust of uv. uvx runs the wrapped uv, so it gets the same setting. Users can still set UV_SYSTEM_CERTS=0 or use --no-system-certs. Part of NixOS#576544. Assisted-by: Claude Code (claude-opus-5) Not-cherry-picked-because: updating minor versions which has already advanced to the next major on unstable
bengsparks
force-pushed
the
zimbatms-uv-cacert
branch
from
October 20, 2026 23:00
403b806 to
911b5da
Compare
Member
|
Let's use the standard backport workflow: #579622 |
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.
Cherry-picked from #576558, part of #576544,
credits to @zimbatm.
Considering uv 13.x will never reach this branch, backporting this env var that has the chance to
reference up-to-date cert bundles seems to be the best chance of success.
Set UV_SYSTEM_CERTS=1 by default with a wrapper. uv then trusts the platform store (SSL_CERT_FILE, SSL_CERT_DIR or /etc/ssl/certs) through rustls-platform-verifier. It does not use the Mozilla roots that webpki-root-certs compiles into the binary. A cacert update now also updates the trust of uv. uvx runs the wrapped uv, so it gets the same setting. Users can still set UV_SYSTEM_CERTS=0 or use --no-system-certs.
Assisted-by: Claude Code (claude-opus-5)
Things done
./result/bin/.nixpkgs-reviewon this PR. See nixpkgs-review usage.passthru.tests.