From 07e1db43016bdadde3b151013ab1fefc67f9e124 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erlend=20H=C3=A5rstad?= Date: Thu, 17 Aug 2023 11:59:04 +0200 Subject: [PATCH] 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] https://github.com/numpy/numpy/issues/24300 --- python/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/setup.py b/python/setup.py index bfe63589f..4bbc82283 100755 --- a/python/setup.py +++ b/python/setup.py @@ -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',