-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
pip install fails on Python 3.11b3 #141
Comments
Thanks for the report. I did not yet start testing with 3.11. I hope to get to it soon though. |
This seems to be an issue with type casts with the new inline functions included in 3.11.x. I've created a CPython bug since I don't know if it is a bug with CPython or a bug with the kiwisolver code. See: Using |
The issue can be worked around by using nullptr, as per change below. However, I think the
|
Thanks for investigating. I will make a PR with those changes while waiting to see if a fix lands in CPython and add 3.11 to the test matrix. |
PR is at #142 and appears to work just fine. I will merge sometimes next week if nothing happens in the meantime. |
Thanks! |
The release process has started but the aarch build is real slow. Hopefully the wheels will appear on PyPI later today |
The build is much longer than the typical duration I can see in the history. Maybe it's just randomly hanging ? |
Right I will trig it again |
The discussed fix appears to fail on MacOS ARM (see #144). I would appreciate if anybody with more C++ background has an idea on how to fix this for all compilers and architectures. |
I think the following CPython patch may have made #142 unecessary : python/cpython@8bcc3fa This patch was not yet shipped, and will (likely) be included only in Python 3.11.0b4 (scheduled for this Thursday). |
Thanks I will look into reverting the change once the beta is out. |
@MatthieuDartiailh FYI Python 3.11.0b4 is now available after a couple weeks of delay :) |
Thanks I am waiting for it to be available on GHA to merge the relevant PR. |
It's been available on GHA for a couple hours |
Everything seems to be installing fine for SymPy with 3.11b4: There is a test failure but it's unrelated to kiwi. |
I merged the PR and will try to cut a new release soon. |
This is from SymPy's CI:
https://github.com/sympy/sympy/runs/6711439310?check_suite_focus=true
You can see the build steps here:
https://github.com/sympy/sympy/blob/ff00553cf2a03ce048bf46c25c8a3cbe2a636c2c/.github/workflows/runtests.yml#L186-L200
I'm not sure which dependency pulls in kiwisolver but pip fails to build it on Ubuntu with Python 3.11b3 from these steps:
This was all working a week or so ago with Python 3.11b1 so I'm not sure what has changed.
The relevant part of the error message:
The text was updated successfully, but these errors were encountered: