Title: PYTHON_FOR_REGEN only works with Python 3.10 or newer · Issue #104487 · python/cpython · GitHub
Open Graph Title: PYTHON_FOR_REGEN only works with Python 3.10 or newer · Issue #104487 · python/cpython
X Title: PYTHON_FOR_REGEN only works with Python 3.10 or newer · Issue #104487 · python/cpython
Description: On current main, PYTHON_FOR_REGEN only works with Python 3.10 or newer. Previously, we've tried to maintain backwards compatibility with older Python versions in our build system. Last time we adjusted PYTHON_FOR_REGEN (gh-98988), we del...
Open Graph Description: On current main, PYTHON_FOR_REGEN only works with Python 3.10 or newer. Previously, we've tried to maintain backwards compatibility with older Python versions in our build system. Last time we adju...
X Description: On current main, PYTHON_FOR_REGEN only works with Python 3.10 or newer. Previously, we've tried to maintain backwards compatibility with older Python versions in our build system. Last time we ...
Opengraph URL: https://github.com/python/cpython/issues/104487
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"PYTHON_FOR_REGEN only works with Python 3.10 or newer","articleBody":"On current `main`, `PYTHON_FOR_REGEN` only works with Python 3.10 or newer.\r\n\r\nPreviously, we've tried to maintain backwards compatibility with older Python versions in our build system. Last time we adjusted `PYTHON_FOR_REGEN` (gh-98988), we deliberately did not bump the minimal version requirements; our `configure` checks for Python 3.11 through Python 3.6.\r\n\r\nWhile working on gh-104050, a discussion about version requirements came up, and we found out that on `main`, `make clinic` only works when `PYTHON_FOR_REGEN` is Python 3.10 or newer. Also, the newly introduced \"generate cases script\" uses pattern matching and uses newly introduced typing features. Per now, `PYTHON_FOR_REGEN` must be 3.10 or newer.\r\n\r\nThere are two solution to this:\r\n\r\n1. bump the `PYTHON_FOR_REGEN` version requirements to 3.10 in `configure`\r\n2. amend the problematic build scripts, so older Python versions are still supported\r\n\r\nPersonally, I think I'm leaning towards the former. Apparently no core dev, triager or other contributor has noticed this issue until now. No buildbot has failed (we don't test the minimum required version; perhaps we should). OTOH, I understand that it makes stuff like bootstrapping slightly more cumbersome.\r\n\r\nAnyway, we should probably at least bump the version requirement from Python 3.6 to 3.8.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-104488\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/erlend-aasland","@type":"Person","name":"erlend-aasland"},"datePublished":"2023-05-14T22:14:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/104487/cpython/issues/104487"}
| 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:b23daaa3-b735-a7e1-3f7b-6a2b083365ad |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9B2E:70C3B:856434:B5C3B9:6969E350 |
| html-safe-nonce | cd7a5932f00d1cdce5825e0e3803bfe24ecb3daccc1c0d893d5f115cdbf30b6c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjJFOjcwQzNCOjg1NjQzNDpCNUMzQjk6Njk2OUUzNTAiLCJ2aXNpdG9yX2lkIjoiOTE4MzkwOTg4MzQwMjY0MjI1NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 39997efff7d0d820c0c5972ef6c2388659321c84c00d17e2bd23df4fe15a19bf |
| hovercard-subject-tag | issue:1709092775 |
| 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/104487/issue_layout |
| twitter:image | https://opengraph.githubassets.com/16d6e642df5490d9850cf778147677a0b1b4a802fcaf29bb7ef02695172a95e8/python/cpython/issues/104487 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/16d6e642df5490d9850cf778147677a0b1b4a802fcaf29bb7ef02695172a95e8/python/cpython/issues/104487 |
| og:image:alt | On current main, PYTHON_FOR_REGEN only works with Python 3.10 or newer. Previously, we've tried to maintain backwards compatibility with older Python versions in our build system. Last time we adju... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | erlend-aasland |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| 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 | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width