Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork249
Initial attempt at support for Python 3.13.#264
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
indygreg commentedMay 19, 2024
Thank you for this PR! I glanced at this and it seems to have all the components for 3.13 support. Let's see what CI says... |
kpfleming commentedMay 19, 2024
Once the CI is happy I'll rebase this and squash it down to one commit, and them mark it ready for review. |
Uh oh!
There was an error while loading.Please reload this page.
kpfleming commentedMay 19, 2024
The builds are failing because the patches for |
kpfleming commentedMay 19, 2024
A bit more progress this morning. A couple of new patches, disabling one (for apple-cross support), but a local Linux build still fails, just much much farther into the process. |
kpfleming commentedMay 21, 2024
Well, I think I've reached the end of what I can reasonably accomplish at this point. The current build failure (in |
zanieb commentedMay 22, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Edit: Perhaps not actually, while it uses |
zanieb commentedMay 22, 2024
Here's thebuild changes in the release notes |
zanieb commentedMay 22, 2024
I presume the newly bundled mimalloc is going to require some sort of handling. Still not quite sure what's causing this particular failure though. |
indygreg commentedMay 24, 2024
python-build-standalone is likely seeing this error because we statically compile extension modules. This configuration isn't well tested by upstream CPython. So it's likely that nobody has noticed yet. Since this source file was generated by clinic, it is possibly a bug in the clinic code generator, which may want to emit the missing |
ofek commentedMay 28, 2024
I'm very excited to start testing free-threading support after this is fixed and merged! |
kpfleming commentedMay 28, 2024
Issue opened:python/cpython#119661 |
kpfleming commentedMay 29, 2024
In the interests of saving the GitHub Actions runners from running jobs that will fail anyway, I'm running local builds now :-) The patch from Victor for the clinic modules was successful, those build properly now. The next problem is: I suspect that support for building against |
kpfleming commentedMay 29, 2024
Turns out that one was easy to fix... I'm continuing onwards :-) |
kpfleming commentedMay 29, 2024
OK, new status report: the actual CPython build succeeds, but then the process stops because |
zanieb commentedJun 6, 2024
|
zanieb commentedJun 6, 2024
Here's a hacky patch that gets to the next failure :)zanieb@805c76f |
kpfleming commentedJun 6, 2024
I've just updated to 3.13.0b2, and removed the patch that was only needed until that release. |
zanieb commentedJun 6, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
The next problem I'm encountering is during validation: which is confusing because at least some of these look correct in Edit: Resolved now. |
kpfleming commentedJun 6, 2024
I left a FIXME in |
zanieb commentedJun 6, 2024
Great I'll take a swing at updating that. |
Uh oh!
There was an error while loading.Please reload this page.
zanieb commentedJun 6, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Now I have a spicy failure on just the PGO builds |
zanieb commentedJun 6, 2024
And this error on the MUSL builds https://github.com/python/cpython/blob/78634cfa3dd4b542897835d5f097604dbeb0f3fd/configure.ac#L1103 |
kpfleming commentedAug 4, 2024
A little more progress... the branch is now building 3.13.0rc1, and it appears that the PGO and MUSL issues are all that is left on Linux. There are still problems on Windows and macOS which are quite beyond my ability to troubleshoot. |
zanieb commentedSep 5, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
I got Windows building over inzanieb#7 — I condensed that into a single commitzanieb@2110d43 |
zanieb commentedSep 5, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
I also got the 3.13 musl builds working over inzanieb#6 Now it's really just the PGO problems (and some complexity around the macOS target version) |
zanieb commentedSep 5, 2024
Withzanieb#6 (comment) I fixed the PGO build failures on Linux :) |
zanieb commentedSep 6, 2024
And now inzanieb#8 it looks like I've got the macOS builds passing. Tomorrow I'll polish it and put up a new pull request. |
kpfleming commentedSep 6, 2024
Fantastic! |
kpfleming commentedSep 6, 2024
Closing in favor of#319. |
A continuation of the wonderful work by@kpfleming in#264Adds initial support for Python 3.13 using CPython 3.13.0rc1.There are a few caveats and interesting details:- BOLT is disabled. There's a segmentation fault in the tests with the BOLT instrumented binaries. The BOLT optimizations are not critical, so we'll follow up on this separately. [See more context](zanieb#6 (comment)).- `mpdecimal` is now built from source on Windows. We already did this in Unix builds, but in Windows we were still using the bundled library. The bundled library is no longer used upstream and it seemed prudent to switch though it will remain available until 3.15. [See more context](zanieb#6 (comment)).- Apple cross-compilation is not available. I have a patch that adds support, but need to test it and it's not needed for these builds. [See more context](zanieb@447fb86).- `run_tests.py` was removed upstream. We provide a compatibility script that calls the appropriate command still so that our distributions are stable. We may want to change how `run_tests.py` is declared in the distribution metadata though. [See more context](#319 (comment)) .
No description provided.