-
Notifications
You must be signed in to change notification settings - Fork 238
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
Is Python 3.12 different? #1658
Comments
Python 3.12 has removed deprecated API from importlib module here: python/cpython#98040 As You do not provide source code we cannot check where is a problem. The latest setuptools is ready on python 3.12 |
Thanks. I appreciate that lack of source code makes this more difficult to debug. I updated the |
Did you have |
Also, older versions of pretty much everything might trigger this. NumPy, for example, must be 1.26.0+ or you'll see this sort of problem. If you are pinning or limiting at all, most likely in pyproject.toml or in requirements.txt if you install from there before building (and avoid build isolation). I'd recommend fully regenerating requirements.txt from requirements.in on Python 3.12 if that's the case. |
Thank you. It was a bad version in |
Description
I'm running cibuildwheel in a GitHub action. This particular example is for Mac/aarch64, I haven't tried the other platforms yet. I upgraded to
cibuildwheel
version2.16.2
(we used 2.11.1 last time I ran this build). I was upgrading for Python 3.12 support, mostly. The build continues to work fine for 3.8, 3.9, 3.10, and 3.11, but falls over for 3.12:If I run the
bdist_wheel
target fromsetup.py
locally, I get some warnings about how that's deprecated, but it does succeed.There's a footnote on the cibuildwheel page that reads:
⁵ CPython 3.12 is built by default using Python RCs, starting with cibuildwheel 2.15.
And I wonder if that's relevant. But a bit of we searching didn't turn up anything obvious.
Am I doing something wrong?
Build log
No response
CI config
https://github.com/Saxonica/BuildWheels/actions/runs/6825329700/job/18562948765
The text was updated successfully, but these errors were encountered: