← Back to Pull requests

Read site-packages location from the installed python's record #6143

Closed
unknown closed this pull request without merging on Sep 18, 2026 11:03 UTC
View on GitHub
unknown unknown commented on Sep 17, 2026 22:41 UTC
Author

Description

get_site_packages() derived the path from the python version and the platform, hardcoding Lib/site-packages on Windows. In python 3.15 conda-forge started using lib/python/site-packages on Windows, so SP_DIR pointed at a directory that does not exist and recipes relying on it silently produced empty packages.

See also https://github.com/conda-forge/cfep/blob/main/cfep-27.md

Closes #5563
See also #6079

Checklist - did you ...

<!-- If any of the following items aren't relevant to your contribution,
please either tick them or use ~strikethrough~ so we know you've gone
through the checklist. -->

  • Add a file to the news directory (using the template) for the next release's release notes?

  • <!-- All "significant" changes should get an entry:
    - user-facing changes or enhancements
    - bug fixes
    - deprecations
    - documentation updates
    - etc -->
  • Add / update necessary tests?

  • Add / update outdated documentation?
  • <!-- Just as a reminder, everyone in all conda org spaces (including PRs)
    must follow the Conda Org Code of Conduct (link below).

    Finally, once again, thanks for your time and effort. If you have any
    feedback in regards to your experience contributing here, please
    let us know!

    Helpful links:
    - Conda Org COC: https://github.com/conda/conda-build/blob/main/CODE_OF_CONDUCT.md
    - Contributing docs: https://github.com/conda/conda-build/blob/main/CONTRIBUTING.md -->

    Diff: 205 lines (+153 / -52) across 2 files Reviewer: jaimergp Review duration: 741m
    All Vouch review confidence checks passed
    Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.36 · 205 lines diff across 2 files
    0.36
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    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
    Diff Size diff_size
    0.319
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #6143"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% 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: 36.3% (MEDIUM) · Higher = larger blast radius
    36.3%
    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: 60.5% · Lower = rushed or shallow review
    60.5%
    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: 14.3% · Safe to merge
    14.3%