-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
Incorrect minimum version of Python for Windows build bootstrapping #122573
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hello! |
I can reproduce it by building CPython with the
So it's actually related only to the jit build. The default build is not affected. |
|
This is without the --jit option -- I believe my other PR touched something related to global objects, which in turn triggered the invocation of cases_generator/opcode_id_generator.py, which failed, on the default build. |
This is the other PR: #119316 |
You're right. |
Match statements in tooling require a more recent Python. Tools/cases_generator/*.py (and `Tools/jit/*.py` in 3.13+). Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: Gregory P. Smith <greg@krypto.org>
…honGH-122574) Match statements in tooling require a more recent Python. Tools/cases_generator/*.py (and `Tools/jit/*.py` in 3.13+). (cherry picked from commit d0b92dd) Co-authored-by: Jonathan Protzenko <protz@microsoft.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: Gregory P. Smith <greg@krypto.org>
…honGH-122574) Match statements in tooling require a more recent Python. `Tools/cases_generator/*.py` Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: Gregory P. Smith <greg@krypto.org>
backports pending and assigned, closing. thanks! |
…-122574) (#122674) gh-122573: Require Python 3.10 or newer for Windows builds (GH-122574) Match statements in tooling require a more recent Python. Tools/cases_generator/*.py (and `Tools/jit/*.py` in 3.13+). (cherry picked from commit d0b92dd) Co-authored-by: Jonathan Protzenko <protz@microsoft.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: Gregory P. Smith <greg@krypto.org>
…-122574) (#122677) gh-122573: Require Python 3.10 or newer for Windows builds (GH-122574) Match statements in tooling require a more recent Python. `Tools/cases_generator/*.py` Co-authored-by: Jonathan Protzenko <protz@microsoft.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
…honGH-122574) Match statements in tooling require a more recent Python. Tools/cases_generator/*.py (and `Tools/jit/*.py` in 3.13+). Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: Gregory P. Smith <greg@krypto.org>
…honGH-122574) Match statements in tooling require a more recent Python. Tools/cases_generator/*.py (and `Tools/jit/*.py` in 3.13+). Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: Gregory P. Smith <greg@krypto.org>
Bug report
Bug description:
Python now requires 3.10 to build itself, because
match
case statements have begun proliferating in the cpython repository. However, the Windows build still thinks 3.9 is enough, which results in a build error on a standard Visual Studio 2022 environment.CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
The text was updated successfully, but these errors were encountered: