-
Notifications
You must be signed in to change notification settings - Fork 25
Update Cython 3 and Numpy 2 #72
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
Conversation
- Added Macro in setup.py to force new numpy api - Replaced code belonging to old numpy api - Fixed Build Problems on Cython>=3.0.0 and Numpy>=2.0.0 - Replaced np.npy_clongdouble with long double complex to fix compilation issues - Fixed dtypes that broke due to Numpy 2.0.0
2110262 to
2e0a7c8
Compare
b379725 to
bfe74c3
Compare
|
@Maki4748 I was finally able to pass all the tests. Can you test on your side to see if it's good for you. I had a lot of problems with the numpy 1 & 2 compatibility and the support for windows and linux these are my findings. The names of the type and the sizes are not verry clear. I'm not verry proud of the code so dont hesitate to make comment on it. |
|
@fbordeu Yeah, I figured we need to deal with this properly at some point, I tried around and since char, short, long and long long are basically just int with a different width, I changed it up to the proper c int types with defined width, and the tests at least on windows are passing. Could you merge this for now? |
Update code to support python 3.13, numpy 1 and cython 3.
Update documentation with the new url of the project