python: numpy: 1.16.4 -> 1.17.0

This commit is contained in:
Frederik Rietdijk 2019-07-27 11:34:47 +02:00
parent fae3438572
commit 55d82d5430
2 changed files with 14 additions and 5 deletions

@ -16,12 +16,12 @@ let
};
in buildPythonPackage rec {
pname = "numpy";
version = "1.16.4";
version = "1.17.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "7242be12a58fec245ee9734e625964b97cf7e3f2f7d016603f9e56660ce479c7";
sha256 = "951fefe2fb73f84c620bec4e001e80a80ddaa1b84dce244ded7f1e0cbe0ed34a";
};
nativeBuildInputs = [ gfortran pytest ];

@ -3840,9 +3840,18 @@ in {
Nuitka = callPackage ../development/python-modules/nuitka { };
numpy = callPackage ../development/python-modules/numpy {
blas = pkgs.openblasCompat;
};
numpy = let
numpy_ = callPackage ../development/python-modules/numpy {
blas = pkgs.openblasCompat;
};
numpy_2 = numpy_.overridePythonAttrs(oldAttrs: rec {
version = "1.16.4";
src = oldAttrs.src.override {
inherit version;
sha256 = "1ivrwh66cmly7xh1dl7pybizfz5rcicn4kkkx5g29v4gll9bwhkj";
};
});
in if pythonOlder "3.5" then numpy_2 else numpy_;
numpydoc = callPackage ../development/python-modules/numpydoc { };