From 9b74eef20aadb05b080049dc756c4a022ef99596 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 13 Mar 2022 00:19:04 +0100 Subject: [PATCH] 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. --- pkgs/development/python-modules/numpy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/numpy/default.nix b/pkgs/development/python-modules/numpy/default.nix index 6ecad79b7f21..2fbe1a7a694c 100644 --- a/pkgs/development/python-modules/numpy/default.nix +++ b/pkgs/development/python-modules/numpy/default.nix @@ -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 [