compomics / ms2pip

MS²PIP: Fast and accurate peptide spectrum prediction for multiple fragmentation methods, instruments, and labeling techniques.
https://ms2pip.readthedocs.io
Apache License 2.0
37 stars 18 forks source link

Build with Numpy 1.16.6 #134

Closed RalfG closed 3 years ago

RalfG commented 3 years ago

Packages build with Numpy >=1.20.0 are not backwards compatible with previous Numpy versions. This would lead to an error when starting ms2pip:

ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject

Building with an earlier Numpy version (1.16.6) should retain forwards compatibility with newer Numpy versions.

See https://numpy.org/doc/stable/release/1.20.0-notes.html#c-api-changes and https://github.com/numpy/numpy/pull/16938.