-
Notifications
You must be signed in to change notification settings - Fork 95
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
Numpy compatibility issue #974
Comments
Thanks, could you issue a PR to trigger CI?On Aug 4, 2024, at 17:04, Moritz E. Beber ***@***.***> wrote:
When I install biom-format and numpy >= 2 in an environment, I get a lot of errors of the sort:
ValueError('numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject')
That is even though, version 2.1.16 promises numpy 2.0 compatibility.
I think, the reason is that you do not restrict the numpy version in your build instructions and your wheels are compiled against numpy <2.
[build-system]
requires = ["setuptools","wheel", "numpy", "cython"]
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
I can, but the nasty side-effect of that will be loss of compatibility with numpy <2. Is that what the project wants? |
It isn’t but would like to see what happens. I’m OOO for the next few weeks so cannot look close, but would greatly appreciate any effort that could be contributed for numpy 1 and 2 supportOn Aug 4, 2024, at 17:58, Moritz E. Beber ***@***.***> wrote:
I can, but the nasty side-effect of that will be loss of compatibility with numpy <2. Is that what the project wants?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
same here but when installing with poetry:
(this installation comming from scikit-bio using poetry) NOTE: if i installing with pip, it works fine. Report on Scikit-bio forum: scikit-bio/scikit-bio#2101 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I install biom-format and numpy >= 2 in an environment, I get a lot of errors of the sort:
That is even though, version 2.1.16 promises numpy 2.0 compatibility.
I think, the reason is that you do not restrict the numpy version in your build instructions and your wheels are compiled against numpy <2.
The text was updated successfully, but these errors were encountered: