From 494e6be6bbf4517934e91909faca5261b8760210 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Fri, 22 Jan 2016 13:55:46 +0100 Subject: [PATCH] pythonPackages.numba: 0.22.1 -> 0.23.1 Update numba. Even when executing the correct file, the tests still fail; cannot import an extension module. --- pkgs/top-level/python-packages.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index d8d42253df9c..d6182fbec93a 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -12070,12 +12070,12 @@ in modules // { }; numba = buildPythonPackage rec { - version = "0.22.1"; + version = "0.23.1"; name = "numba-${version}"; src = pkgs.fetchurl { url = "https://pypi.python.org/packages/source/n/numba/${name}.tar.gz"; - sha256 = "8194c41cdf96c16e3b3d246c0381daf4e587d1ada761f410efecb8315c2cdda3"; + sha256 = "80ce9968591db7c93e36258cc5e6734eb1e42826332799746dc6c073a6d5d317"; }; NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${pkgs.libcxx}/include/c++/v1"; @@ -12089,6 +12089,14 @@ in modules // { # export NUMBAPRO_LIBDEVICE= #''; + # Copy test script into $out and run the test suite. + checkPhase = '' + cp runtests.py $out/${python.sitePackages}/numba/runtests.py + ${python.interpreter} $out/${python.sitePackages}/numba/runtests.py + ''; + # ImportError: cannot import name '_typeconv' + doCheck = false; + meta = { homepage = http://numba.pydata.org/; license = licenses.bsd2;