Skip to content

Numpy compatibility issue #974

Description

@Midnighter

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"]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions