GeezerVison is showing github.com — [3.13] gh-141004: Add a CI job ensuring that new C APIs include documentation (GH-142102) by ZeroIntensity · Pull Request #142248 · python/cpython
Conversation
ZeroIntensity
commented
Dec 4, 2025
•
edited by bedevere-app
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
(cherry picked from commit 1a7824a)
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Dec 4, 2025
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
@hugovk Quick question -- it seems CI on 3.13 uses Python 3.12, not 3.13. Is that intentional? If so, I need to remove the use of _colorize here on 3.13.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Do you know if the configure script on 3.13 checks for 3.14? I think that might be the problem. I'm guessing that Python 3.12 is already installed on the system the CI job is running on, and actions/setup-python installs 3.14, which isn't detected by the configure script, so it falls back to 3.12.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Do you know if the configure script on 3.13 checks for 3.14?
No, it only checks the current version and lower.
main:
|
for ac_prog in python$PACKAGE_VERSION python3.15 python3.14 python3.13 python3.12 python3.11 python3.10 python3 python |
3.14:
|
for ac_prog in python$PACKAGE_VERSION python3.15 python3.14 python3.13 python3.12 python3.11 python3.10 python3 python |
3.13:
|
for ac_prog in python$PACKAGE_VERSION python3.13 python3.12 python3.11 python3.10 python3 python |
I think that might be the problem. I'm guessing that Python 3.12 is already installed on the system the CI job is running on, and actions/setup-python installs 3.14, which isn't detected by the configure script, so it falls back to 3.12.
Yes, that indeed looks like the problem.
Here's a test workflow that installs a give version, then tries to check for them all:
python3.15 --version --version || true
python3.14 --version --version || true
python3.13 --version --version || true
python3.12 --version --version || true
python3.11 --version --version || true
python3.10 --version --version || true
And they all have the given version, plus 3.12. For example with 3.15:
Python 3.15.0a2 (main, Nov 19 2025, 15:10:47) [GCC 13.3.0]
/home/runner/work/_temp/9872e36d-a21e-4c3e-8aa1-e6d8f6781c42.sh: line 2: python3.14: command not found
/home/runner/work/_temp/9872e36d-a21e-4c3e-8aa1-e6d8f6781c42.sh: line 3: python3.13: command not found
Python 3.12.3 (main, Nov 6 2025, 13:44:16) [GCC 13.3.0]
/home/runner/work/_temp/9872e36d-a21e-4c3e-8aa1-e6d8f6781c42.sh: line 5: python3.11: command not found
/home/runner/work/_temp/9872e36d-a21e-4c3e-8aa1-e6d8f6781c42.sh: line 6: python3.10: command not found
And it's an old 3.12.3 baked into the image, because when we specifically ask for 3.12 we get the newest 3.12.12:
/home/runner/work/_temp/5205e491-dc12-4355-bc92-e4fd7a15bf8a.sh: line 1: python3.15: command not found
/home/runner/work/_temp/5205e491-dc12-4355-bc92-e4fd7a15bf8a.sh: line 2: python3.14: command not found
/home/runner/work/_temp/5205e491-dc12-4355-bc92-e4fd7a15bf8a.sh: line 3: python3.13: command not found
Python 3.12.12 (main, Oct 10 2025, 01:01:16) [GCC 13.3.0]
/home/runner/work/_temp/5205e491-dc12-4355-bc92-e4fd7a15bf8a.sh: line 5: python3.11: command not found
/home/runner/work/_temp/5205e491-dc12-4355-bc92-e4fd7a15bf8a.sh: line 6: python3.10: command not found
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Thanks, I created an issue: #142457
|
hugovk reacted with thumbs up emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
ezio-melotti
Awaiting requested review from ezio-melotti
ezio-melotti is a code owner
hugovk
Awaiting requested review from hugovk
hugovk is a code owner
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|