← Back to Pull requests

Use the `pp80` ABI tag for PyPy 3.12 in the bundled sysconfig #3343

Closed
unknown closed this pull request without merging on Oct 22, 2026 10:52 UTC
View on GitHub
unknown unknown commented on Oct 22, 2026 10:09 UTC
Author

Fixes #3342.

The bundled sysconfig tagged every PyPy version pp73. PyPy 3.12 was first released with PyPy 8.0, so a pp312-pypy312_pp73 wheel can't be installed by any PyPy 3.12.

This replaces the PYPY_ABI_TAG constant with pypy_abi_tag(minor), which returns pp80 for 3.12 and later and pp73 before that. It's used everywhere the constant was: the bundled Linux, macOS and Windows lookups, and the default abi_tag of a PyPy PYO3_CONFIG_FILE. PyPy 3.11 keeps pp73, since it has both 7.3 and 8.0 releases.

Tested by building pyromark with -i pypy3.12 in quay.io/pypa/manylinux2014_x86_64, which has no PyPy 3.12:

  • before (1.15.0): pp312-pypy312_pp73-manylinux_2_17_x86_64. PyPy 8.0.1 rejects it with "is not a supported wheel on this platform".

  • after: pp312-pypy312_pp80-manylinux_2_17_x86_64. It installs on PyPy 8.0.1 (3.12) in quay.io/pypa/manylinux_2_28_x86_64 and imports and runs.
  • cargo fmt is clean, cargo test --lib passes with the new PyPy 3.12 cases for Linux, macOS and Windows, and the change adds no clippy warnings.

    🤖 Generated with Claude Code

    Diff: 141 lines (+105 / -36) across 1 files Reviewer: messense Review duration: 43m
    All Vouch review confidence checks passed
    Residual risk 0.22 = Change Risk (0.56) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.56 · 141 lines diff across 1 files
    0.56
    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.296
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.056
    Real PR Conversation Timeline
    1 comments
    "Review active on #3343"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed sensitive_module
    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: 55.8% (MEDIUM) · Higher = larger blast radius
    55.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: 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: 22.1% · Safe to merge
    22.1%
    Repository