Title: 3.13 CI uses 3.12 for generation scripts · Issue #142457 · python/cpython · GitHub
Open Graph Title: 3.13 CI uses 3.12 for generation scripts · Issue #142457 · python/cpython
X Title: 3.13 CI uses 3.12 for generation scripts · Issue #142457 · python/cpython
Description: In #142248, I noticed that my script did not work in 3.13's CI, because it used Python 3.12 instead of 3.13 or later. The problem is in 3.13's configure script. As noted by @hugovk, 3.13's configure only checks for Python 3.13 and below,...
Open Graph Description: In #142248, I noticed that my script did not work in 3.13's CI, because it used Python 3.12 instead of 3.13 or later. The problem is in 3.13's configure script. As noted by @hugovk, 3.13's configur...
X Description: In #142248, I noticed that my script did not work in 3.13's CI, because it used Python 3.12 instead of 3.13 or later. The problem is in 3.13's configure script. As noted by @hugovk, 3.13...
Opengraph URL: https://github.com/python/cpython/issues/142457
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"3.13 CI uses 3.12 for generation scripts","articleBody":"In #142248, I noticed that my script did not work in 3.13's CI, because it used Python 3.12 instead of 3.13 or later.\n\nThe problem is in 3.13's `configure` script. As [noted](https://github.com/python/cpython/pull/142248#issuecomment-3631606868) by @hugovk, 3.13's `configure` only checks for Python 3.13 and below, so the Python 3.14 installation used by `actions/setup-python` is thrown away, and an old Python 3.12.3 copy that comes with the image is used instead.\n\nThis is quite unfortunate, because for CI tools, we have to either limit ourselves to 3.12 features or create slightly different scripts for each branch (which is not ideal for backporting). In my case, I used `_colorize` in the job that I added, but I would have to remove that usage on the 3.13 branch, which would make it very frustrating to edit the script without conflicts.\n\nI see two good solutions:\n\n1. Force the `actions/setup-python` job to install Python 3.13 instead of 3.14.\n2. Add 3.14 to the `configure` script.\n\nMy personal preference is the latter.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-142499\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/ZeroIntensity","@type":"Person","name":"ZeroIntensity"},"datePublished":"2025-12-09T13:46:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/142457/cpython/issues/142457"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:19e43560-19e9-c705-2792-f8156d0eff20 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9528:3A9D93:2FAF81:43C9AF:696A4C21 |
| html-safe-nonce | 5e026a42ce1fe13577e521e81a1cf061dc94d20945984978e4ffb1859d4eb96a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTI4OjNBOUQ5MzoyRkFGODE6NDNDOUFGOjY5NkE0QzIxIiwidmlzaXRvcl9pZCI6IjQ2MjMwNzAwMDcxMDc2NjkwMjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c9c0516098473c75ed56cb812da012653753c9f4507bde90a74a519f63ec13cf |
| hovercard-subject-tag | issue:3711013321 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/142457/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ab620ca318b7362bf9e8c53b705bb1690a2c7317437789e30c7808ac9b539ecd/python/cpython/issues/142457 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ab620ca318b7362bf9e8c53b705bb1690a2c7317437789e30c7808ac9b539ecd/python/cpython/issues/142457 |
| og:image:alt | In #142248, I noticed that my script did not work in 3.13's CI, because it used Python 3.12 instead of 3.13 or later. The problem is in 3.13's configure script. As noted by @hugovk, 3.13's configur... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ZeroIntensity |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 63c426b30d262aba269ef14c40e3c817b384cd61 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width