astheeggeggs / lshmm

code to run Li and Stephens
MIT License
4 stars 3 forks source link

Require numpy 1.x #88

Closed szhan closed 3 months ago

szhan commented 3 months ago

The CI tests are failing because they are using numpy 2.0. I'm seeing these messages from the CI tests.

"A module that was compiled using NumPy 1.x cannot be run in NumPy 2.0.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'."

We should require numpy < 2 for now.

szhan commented 3 months ago

Also, I think we need to require numba < 0.60, because 0.60.0 support numpy 2.0. See the release notes here.