Skip to content

Commit d16c5ea

Browse files
committed
Pin numpy required version to 1.x.x
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
1 parent e2d54b4 commit d16c5ea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

python/requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
bandit
3-
numpy
3+
numpy<=2.0
44
setuptools
55
setuptools_scm
66
pytest

python/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def get_long_description():
3636
packages = ['dlisio', 'dlisio.dlis', 'dlisio.lis', 'dlisio.common', 'dlisio.dlis.utils'],
3737
license = 'LGPL-3.0',
3838
platforms = 'any',
39-
install_requires = ['numpy'],
39+
install_requires = ['numpy < 2.0'],
4040
setup_requires = ['setuptools >= 28',
4141
'pybind11 >= 2.3',
4242
'setuptools_scm',

0 commit comments

Comments
 (0)