python3Packages.numpy: revert to setuptools
Somehow the pyproject configuration fails.
This commit is contained in:
parent
9b4a97f4f1
commit
b462aefc7f
1 changed files with 2 additions and 8 deletions
|
@ -11,7 +11,6 @@
|
||||||
, lapack
|
, lapack
|
||||||
, writeTextFile
|
, writeTextFile
|
||||||
, cython
|
, cython
|
||||||
, setuptoolsBuildHook
|
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -41,13 +40,8 @@ let
|
||||||
};
|
};
|
||||||
in buildPythonPackage rec {
|
in buildPythonPackage rec {
|
||||||
pname = "numpy";
|
pname = "numpy";
|
||||||
|
|
||||||
# Attention! v1.22.0 breaks scipy and by extension scikit-learn, so
|
|
||||||
# build both to verify they don't break.
|
|
||||||
# https://github.com/scipy/scipy/issues/15414
|
|
||||||
version = "1.23.3";
|
version = "1.23.3";
|
||||||
|
format = "setuptools";
|
||||||
format = "pyproject";
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
|
@ -63,7 +57,7 @@ in buildPythonPackage rec {
|
||||||
./numpy-distutils-C++.patch
|
./numpy-distutils-C++.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ gfortran cython setuptoolsBuildHook ];
|
nativeBuildInputs = [ gfortran cython ];
|
||||||
buildInputs = [ blas lapack ];
|
buildInputs = [ blas lapack ];
|
||||||
|
|
||||||
# we default openblas to build with 64 threads
|
# we default openblas to build with 64 threads
|
||||||
|
|
Loading…
Reference in a new issue