← Back to Pull requests

Expand list of optional Red Hat dependencies #1954

Merged
brettcs merged 1 files (4 lines) on Oct 30, 2026 17:41 UTC
View on GitHub
brettcs brettcs commented on Oct 30, 2026 16:36 UTC
Author

With the current list in devguide, with a fresh Fedora 44 toolbox and cpython checkout:

⟩ sudo dnf install \
gcc gcc-c++ gdb lzma glibc-devel libstdc++-devel openssl-devel \
readline-devel zlib-devel libzstd-devel libffi-devel bzip2-devel \
xz-devel sqlite sqlite-devel sqlite-libs libuuid-devel gdbm-libs \
perf expat expat-devel mpdecimal python3-pip
⟩ make clean && ./configure --with-pydebug && make -j12

Eventually this reports:

./python -E ./Tools/build/generate-build-details.py `cat pybuilddir.txt`/build-details.json
The necessary bits to build these optional modules were not found:
_dbm                  _decimal              _gdbm              
_tkinter                                                       
To find the necessary bits, look in configure.ac and config.log.

Checked 116 modules (37 built-in, 74 shared, 1 n/a on linux-x86_64, 0 disabled, 4 missing, 0 failed on import)

Starting over with the -devel packages added here:

⟩ sudo dnf install \
gcc gcc-c++ gdb lzma glibc-devel libstdc++-devel openssl-devel \
readline-devel zlib-devel libzstd-devel libffi-devel bzip2-devel \
xz-devel sqlite sqlite-devel sqlite-libs libuuid-devel gdbm-devel \
perf expat expat-devel mpdecimal-devel tk-devel python3-pip
⟩ make clean && ./configure --with-pydebug && make -j12

And you get a clean bill of health:

./python -E ./Tools/build/generate-build-details.py `cat pybuilddir.txt`/build-details.json
Checked 116 modules (37 built-in, 78 shared, 1 n/a on linux-x86_64, 0 disabled, 0 missing, 0 failed on import)

Diff: 4 lines (+2 / -2) across 1 files Reviewer: zware Review duration: 65m
All Vouch review confidence checks passed
Residual risk 0.02 = Change Risk (0.13) × (1 − Review Confidence (0.81)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.13 · 4 lines diff across 1 files
0.13
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.70 · 4 substantive comment(s)
0.70
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
80%
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.096
Real PR Conversation Timeline
6 items
python-cla-bot[bot] python-cla-bot[bot] commented on Oct 30, 2026 16:36 UTC
Bot

All commit authors signed the Contributor License Agreement.

![CLA signed](https://cla.python.org/)<!-- CLA BOT SIGNING COMMENT DO NOT EDIT -->

read-the-docs-community[bot] read-the-docs-community[bot] commented on Oct 30, 2026 16:37 UTC
Bot

<!-- readthedocs-55693 -->

Documentation build overview

📚 CPython devguide | 🛠️ Build #35528669 | 📁 Comparing fa0b6aa8fa0b00e16973005c2cd53d75c1a5a074 against latest (859e50e20c316b966451de992af7e8c7c80d1c22)

<kbd> &nbsp; 🔍 Preview build &nbsp; </kbd>

<details open>
<summary>1 file changed</summary>
<br>
<code>±</code> <a href="https://cpython-devguide--1954.org.readthedocs.build/getting-started/setup-building/index.html"><code>getting-started/setup-building/index.html</code></a><br>
</details>

zware zware approved these changes on Oct 30, 2026 16:50 UTC
Approved Reviewer

Approved these changes.

StanFromIreland StanFromIreland commented on code on Oct 30, 2026 16:51 UTC
Code Review
getting-started/setup-building.rst:1

Technically this now includes most of what is below, but it doesn't hurt to be explicti.

StanFromIreland StanFromIreland commented on Oct 30, 2026 17:44 UTC
Contributor

Welcome to CPython contributions, I hope to see you in some more PRs soon ;-)

Reviewers
Assignees
brettcs brettcs
Labels
risk: low confidence: 80.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: 12.6% (LOW) · Higher = larger blast radius
12.6%
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: 80.5% · Lower = rushed or shallow review
80.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: 2.5% · Safe to merge
2.5%