diff --git a/pkgs/development/python-modules/numpy/default.nix b/pkgs/development/python-modules/numpy/default.nix index a163ef6449a98..924f6dc269fd5 100644 --- a/pkgs/development/python-modules/numpy/default.nix +++ b/pkgs/development/python-modules/numpy/default.nix @@ -12,6 +12,7 @@ , cython , setuptoolsBuildHook , pythonOlder +, typing-extensions }: assert (!blas.isILP64) && (!lapack.isILP64); @@ -44,15 +45,15 @@ 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.21.6"; + version = "1.23.1"; - format = "pyproject.toml"; + format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - extension = "zip"; - sha256 = "sha256-7LVSUROXBmaf3sL/BzyY746ahEc+UecWIRtBqg8Y5lY="; + extension = "tar.gz"; + hash = "sha256-10jvNJv+8uEZS1naN+1aKcGeqNfmNCAZkhuiuk/YtiQ="; }; patches = lib.optionals python.hasDistutilsCxxPatch [ @@ -83,6 +84,7 @@ in buildPythonPackage rec { checkInputs = [ pytest hypothesis + typing-extensions ]; checkPhase = ''