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 ca68eca commit 206d155
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/requirements-dev.txt
@@ -1,6 +1,6 @@

bandit
numpy
numpy<=2.0
setuptools
setuptools_scm
pytest
Expand Down
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 206d155

Please sign in to comment.