python3Packages.numpy: bump supported Python range

NumPy 1.25.1 only supports Python 3.9-3.11
<https://github.com/numpy/numpy/releases/tag/v1.25.1>.

Closes #256939.
This commit is contained in:
Victor Engmark 2023-10-09 15:12:08 +13:00
parent 35c640b19a
commit fad0bf7d62
No known key found for this signature in database

View File

@ -12,6 +12,7 @@
, lapack
, writeTextFile
, cython
, pythonAtLeast
, pythonOlder
}:
@ -43,7 +44,7 @@ in buildPythonPackage rec {
pname = "numpy";
version = "1.25.1";
format = "setuptools";
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.9" || pythonAtLeast "3.12";
src = fetchPypi {
inherit pname version;