← Back to Pull requests

python3Packages.awscrt: link system aws libraries #596784

Open
unknown opened this pull request with 289 lines diff across 3 files
View on GitHub
unknown unknown commented on Dec 02, 2026 20:04 UTC
Author

as is preferred in nixpkgs, we should link against the system versions of these libraries instead of the versions that are vendored in the python library. this lets us take quick advantage of security updates (especially important for security-critical libraries like s2n-tls) and reduces build times. this also happens to fix the build under clang 23 (ref: #562683), as one of the vendored libraries broke there but the nixpkgs versions do not.

im not too familiar with our python packaging, so i hope i did this right.

Things done

  • Fits [CONTRIBUTING.md], [pkgs/README.md], [maintainers/README.md] and other READMEs.

  • Follows the [automation/AI policy].

  • Built on platform:

  • - [x] x86_64-linux
    - [x] aarch64-linux
    - [x] aarch64-darwin
  • Tested, as applicable:

  • - [ ] Basic functionality of all binary files, usually in ./result/bin/.
    - [ ] Ran nixpkgs-review on this PR. See [nixpkgs-review usage].
    - [ ] [Package tests] at passthru.tests.
    - [ ] [NixOS tests] in [nixos/tests].
    - [ ] Tests in [lib/tests] or [pkgs/test] for functions and "core" functionality.
  • [Nixpkgs Release Notes]

  • - [ ] Package update: when the change is major or breaking.
  • [NixOS Release Notes]

  • - [ ] Module addition: when adding a new NixOS module.
    - [ ] Module update: when the change is significant.

    [Package tests]: https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md#package-tests
    [NixOS tests]: https://nixos.org/manual/nixos/unstable/index.html#sec-nixos-tests
    [nixpkgs-review usage]: https://github.com/Mic92/nixpkgs-review#usage

    [CONTRIBUTING.md]: https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md
    [automation/AI policy]: https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#automationai-policy
    [lib/tests]: https://github.com/NixOS/nixpkgs/blob/master/lib/tests
    [maintainers/README.md]: https://github.com/NixOS/nixpkgs/blob/master/maintainers/README.md
    [nixos/tests]: https://github.com/NixOS/nixpkgs/blob/master/nixos/tests
    [pkgs/README.md]: https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md
    [pkgs/test]: https://github.com/NixOS/nixpkgs/blob/master/pkgs/test
    [Nixpkgs Release Notes]: https://github.com/NixOS/nixpkgs/blob/master/doc/release-notes
    [NixOS Release Notes]: https://github.com/NixOS/nixpkgs/blob/master/nixos/doc/manual/release-notes

    Diff: 289 lines (+216 / -73) across 3 files Reviewer: ethancedwards8 Review duration: 366m
    All Vouch review confidence checks passed
    Residual risk 0.21 = Change Risk (0.40) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.40 · 289 lines diff across 3 files
    0.40
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    46%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.339
    Real PR Conversation Timeline
    1 comments
    "Review active on #596784"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.7% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 39.8% (MEDIUM) · Higher = larger blast radius
    39.8%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 46.7% · Lower = rushed or shallow review
    46.7%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 21.2% · Safe to merge
    21.2%
    Repository