-
Notifications
You must be signed in to change notification settings - Fork 27
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
Incompatibility problem with numpy 2.0.0 #40
Comments
Hi. Thanks for pointing this out. I think the problem is that that numpy 2.0.0 doesn't support the np.int_t type for some reason. I've changed the default output type to |
The new branch seems to work well. It no longer triggers errors. I also tested decoding a small repetition code, which returned an expected result. Thanks for this fixing! |
Any chance of getting this fix merged and released as a new version (before the v2 release)? Potentially, besides the fix for numpy 2.0 compatibility, wheels for Python 3.12 would be great and should be easy to do. |
@burgholzer I've made pull request #44 to ship this? Could you confirm it works in your environment? Then it can be shipped 🚢 |
uv venv --python 3.12 .venv312
source .venv312/bin/activate
uv pip install git+https://github.com/quantumgizmos/ldpc@issue40 succeeds without issues om my Linux machine as well as my Windows and my Apple arm64 machine. |
Thanks @burgholzer pr #44 is now integrated and uploaded to PyPi! |
Many thanks 🙏🏼 |
Incompatible problem with the newly released numpy 2.0.0 (https://pypi.org/project/numpy/2.0.0/#history).
Versions: python==3.12, ldpc==0.1.51, numpy=2.0.0, scipy==1.13.1
The text was updated successfully, but these errors were encountered: