Revert "python3Packages.numpy: 1.21.5 -> 1.22.2"

This reverts commit 940af4b22772a13b2fe57e3f082e8d04634b5074.

Causes problems with scikit-learn, details can be found over in
https://github.com/NixOS/nixpkgs/pull/156578.
This commit is contained in:
Martin Weinelt
2022-03-14 00:29:12 +01:00
parent c06ee1153e
commit 9b74eef20a
@@ -44,7 +44,7 @@ in buildPythonPackage rec {
# 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.22.2";
version = "1.21.5";
format = "pyproject.toml";
disabled = pythonOlder "3.7";
@@ -52,7 +52,7 @@ in buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "sha256-B2ruWjdj1B2mvvlWX988uYdgb1Z82LEEre0rOLe0er8=";
sha256 = "sha256-alkovGJBJk3OXtUJ5m8zZ2/Jf0ZOepGe3GcvtVMiIe4=";
};
patches = lib.optionals python.hasDistutilsCxxPatch [