Skip to content

[Backport staging-26.05] python3Packages.grpcio: link vendored roots.pem to cacert - #583600

Open
nixpkgs-ci[bot] wants to merge 1 commit into
staging-26.05from
backport-576514-to-staging-26.05
Open

nixpkgs-ci[bot] wants to merge 1 commit into
staging-26.05from
backport-576514-to-staging-26.05

Conversation

@nixpkgs-ci

@nixpkgs-ci nixpkgs-ci Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Bot-based backport to staging-26.05, triggered by a label in #576514.

Before merging, ensure that this backport is acceptable for the release.

Even as a non-committer, if you find that it is not acceptable, leave a comment.

Tip

If you maintain all packages touched by this pull request, and they are all located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this PR using the nixpkgs-merge-bot.

grpcio sets a roots override callback. The callback returns the
vendored grpc/_cython/_credentials/roots.pem. gRPC core calls it before
it tries the system trust store, so grpcio always uses the vendored
copy. That copy does not get cacert updates. It still contains
emSign ECC Root CA - G3, for example.

Replace the vendored file with a link to the cacert bundle, so that
a cacert update also updates the grpcio trust store.
GRPC_DEFAULT_SSL_ROOTS_FILE_PATH still overrides it.

Assisted-by: Claude Code (claude-opus-5)
(cherry picked from commit 57a4f0f)
@nixpkgs-ci
nixpkgs-ci Bot requested a review from zimbatm November 5, 2026 12:22
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-linux: 2501-5000 This PR causes many rebuilds on Linux and should target the staging branches. 10.rebuild-darwin: 1001-2500 This PR causes many rebuilds on Darwin and should most likely target the staging branches. llm-assisted Contributions that include code generation with LLMs 7.no default reviewers This PR targets a package or module with no existing maintainers; roving reviewers, take pity! 6.topic: python Python is a high-level, general-purpose programming language. 4.workflow: backport This targets a stable branch labels Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.workflow: backport This targets a stable branch 6.topic: python Python is a high-level, general-purpose programming language. 7.no default reviewers This PR targets a package or module with no existing maintainers; roving reviewers, take pity! 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 1001-2500 This PR causes many rebuilds on Darwin and should most likely target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 2501-5000 This PR causes many rebuilds on Linux and should target the staging branches. llm-assisted Contributions that include code generation with LLMs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant