Skip to content

Commit

Permalink
Pin numpy required version to 1.x.x
Browse files Browse the repository at this point in the history
Numpy 2.0 will release in a few months time and we don't know how that
will affect us. Until there is a release candidate for numpy 2.0 we
should set a 1.x.x as an strict requirement. See [1].

[1] numpy/numpy#24300
  • Loading branch information
ErlendHaa committed Aug 17, 2023
1 parent cefed8a commit 07e1db4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/setup.py
Expand Up @@ -36,7 +36,7 @@ def get_long_description():
packages = ['dlisio', 'dlisio.dlis', 'dlisio.lis', 'dlisio.common', 'dlisio.dlis.utils'],
license = 'LGPL-3.0',
platforms = 'any',
install_requires = ['numpy'],
install_requires = ['numpy < 2.0'],
setup_requires = ['setuptools >= 28',
'pybind11 >= 2.3',
'setuptools_scm',
Expand Down

0 comments on commit 07e1db4

Please sign in to comment.