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 18, 2023
1 parent 846bea0 commit bfb8d88
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
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

bandit
numpy
numpy<2.0
setuptools
setuptools_scm
pytest
Expand Down
2 changes: 1 addition & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
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 bfb8d88

Please sign in to comment.