You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
WHL: uploading nightlies for CPython 3.15 (+3.15t ?) #43
I've been testing astropy-dev against numpy-dev main + cp315 alphas for a couple months and I've yet to report any incompatibility between the latter 2. I wouldn't presume this happened magically, so supposedly, there must be some level of testing going on in numpy proper, and I'm opening this ticket to ask whether plans to add cp315 to nightly build matrices are already underway, or if there are any known blocker that I just didn't find (apologies if I did !).
There's one not very interesting error on win32 about a large-memory test, looks like that can be skipped if it keeps failing. The more interesting failures happen only on the GIL-enabled interpreters, and are compile tests that fail on:
LINK : fatal error LNK1104: cannot open file 'python3t.lib'
Meson trying to link to python3t.dll on the GIL-enabled build is probably a known issue, but I don't have the details sharp right now - @ngoldbaum or @mgorny does one of you know?
Meson trying to link to python3t.dll on the GIL-enabled build is probably a known issue, but I don't have the details sharp right now - @ngoldbaum or @mgorny does one of you know?
I don't think I've seen this exact error before. I'll try to reproduce it on my Windows machine.
The build that's failing is the test module for abi3t support that @kumaraditya303 added recently. Not sure offhand why this test doesn't cause issues in NumPy's CI but does cause issues in the build here. Digging in more.
OK, I think I understand what's happening. Meson doesn't yet support building abi3t extensions on Windows, so it's not adding python3t.lib to the linker command. Instead, NumPy is explicitly defining Py_TARGET_ABI3T in the test, which causes Python to emit python3t.lib as a required library. However, meson passes python3.lib as a fully qualified path, it doesn't simply add the parent directory of python3.lib to the linker search path. So even though there is a python3t.lib right next to the python3.lib that's explicitly passed in, MSVC doesn't know about it and the build fails.
So to fix this there's going to need to be some work in meson to wire up the Windows library search paths correctly.
For now, in NumPy, I'm just going to only enable that test on the free-threaded build on Windows. I'm also going to add Python 3.15 CI on Windows and MacOS.
Activity
andyfaff commentedon Apr 26, 2026
3.15 is currently being tested on a linux job.
andyfaff commentedon Apr 26, 2026
The beta release of 3.15 occurs on May 5th, we may start nightlies after that.
andyfaff commentedon May 10, 2026
Nightly wheels will have to wait until
cibuildwheelsupports the 3.15 beta, it seems that support is being added in pypa/cibuildwheel#2833andyfaff commentedon May 10, 2026
I do have a PR ready to go when that happens.
blink1073 commentedon May 14, 2026
https://github.com/pypa/cibuildwheel/releases/tag/v4.0.0rc1 has Python 3.15 support if you're willing to use that for nightlies. We're tracking this issue from scikit-image.
andyfaff commentedon May 14, 2026
We'll wait for the full release of cibuildwheel before using it
neutrinoceros commentedon Jun 8, 2026
cibuildwheel 4.0.0 is up now !
andyfaff commentedon Jun 8, 2026
I've got the changes running on my fork. I'm not sure if we're going to wait for a cooldown period (of cibuildwheel) before merging here.
andyfaff commentedon Jun 8, 2026
All the cp315 windows tests fail, https://github.com/andyfaff/numpy-release/actions/runs/27133356740/job/80079582160?pr=4
rgommers commentedon Jun 8, 2026
There's one not very interesting error on win32 about a large-memory test, looks like that can be skipped if it keeps failing. The more interesting failures happen only on the GIL-enabled interpreters, and are compile tests that fail on:
Meson trying to link to
python3t.dllon the GIL-enabled build is probably a known issue, but I don't have the details sharp right now - @ngoldbaum or @mgorny does one of you know?ngoldbaum commentedon Jun 8, 2026
I don't think I've seen this exact error before. I'll try to reproduce it on my Windows machine.
ngoldbaum commentedon Jun 8, 2026
This makes a little more sense with a bit of extra context from the build log:
The build that's failing is the test module for abi3t support that @kumaraditya303 added recently. Not sure offhand why this test doesn't cause issues in NumPy's CI but does cause issues in the build here. Digging in more.
ngoldbaum commentedon Jun 8, 2026
It turns out we're only running Python 3.15 CI on Linux right now so NumPy's CI never hit this case.
ngoldbaum commentedon Jun 8, 2026
OK, I think I understand what's happening. Meson doesn't yet support building abi3t extensions on Windows, so it's not adding
python3t.libto the linker command. Instead,NumPyis explicitly definingPy_TARGET_ABI3Tin the test, which causes Python to emitpython3t.libas a required library. However, meson passespython3.libas a fully qualified path, it doesn't simply add the parent directory ofpython3.libto the linker search path. So even though there is apython3t.libright next to thepython3.libthat's explicitly passed in, MSVC doesn't know about it and the build fails.So to fix this there's going to need to be some work in meson to wire up the Windows library search paths correctly.
For now, in NumPy, I'm just going to only enable that test on the free-threaded build on Windows. I'm also going to add Python 3.15 CI on Windows and MacOS.
ngoldbaum commentedon Jun 10, 2026
The fix in NumPy is merged. @andyfaff would you mind trying again?
andyfaff commentedon Jun 10, 2026
See #51
andyfaff commentedon Jun 11, 2026
That PR is merged now. We'll see 3.15 nightlies in the next scheduled run.
ngoldbaum commentedon Jun 11, 2026
The windows 32 bit 3.15t job is hitting failures.
Maybe we should simply disable 3.15t win32 builds? I don't think we ever intend to ship them.
We should fix the issues but disabling builds we don't intend to support long-term seems like a practical solution to unblock nightlies.
andyfaff commentedon Jun 11, 2026
If we don't intend to ship them then I can strip them out of the build, I'll make a PR.