about summary refs log tree commit diff
path: root/pkgs/development/python-modules/uarray
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2019-10-17 01:59:13 -0700
committerFrederik Rietdijk <fridh@fridh.nl>2019-10-18 09:54:04 +0200
commit53056758612481e80dbdaab9f9fa96ead8e3ec57 (patch)
tree7f8207796dad2b8551a74c662c5dc2388af126f2 /pkgs/development/python-modules/uarray
parentd59337e8060fe94bdb52f155cbfdeb20d68f1e0a (diff)
python3Packages.uarray: 0.4 -> 0.5.1
Diffstat (limited to 'pkgs/development/python-modules/uarray')
-rw-r--r--pkgs/development/python-modules/uarray/default.nix15
1 files changed, 5 insertions, 10 deletions
diff --git a/pkgs/development/python-modules/uarray/default.nix b/pkgs/development/python-modules/uarray/default.nix
index fad2dee2d165a..f0b42e6609f7b 100644
--- a/pkgs/development/python-modules/uarray/default.nix
+++ b/pkgs/development/python-modules/uarray/default.nix
@@ -1,6 +1,7 @@
 { lib
 , buildPythonPackage
 , fetchPypi
+, fetchpatch
 , matchpy
 , numpy
 , astunparse
@@ -16,24 +17,18 @@
 
 buildPythonPackage rec {
   pname = "uarray";
-  version = "0.4";
-  format = "flit";
-  # will have support soon see
-  # https://github.com/Quansight-Labs/uarray/pull/64
-  disabled = isPy37;
+  version = "0.5.1";
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "4ec88f477d803a914d58fdf83aeedfb1986305355775cf55525348c62cce9aa4";
+    sha256 = "0j2pin54pwm1vdgza8irxcjb2za7h41c0ils04afssdn59cixslx";
   };
 
+  doCheck = false; # currently has circular dependency module import, remove when bumping to >0.5.1
   checkInputs = [ pytest nbval pytestcov numba ];
   propagatedBuildInputs = [ matchpy numpy astunparse typing-extensions black ];
 
-  checkPhase = ''
-    ${python.interpreter} extract_readme_tests.py
-    pytest
-  '';
+  pythonImportsCheck = [ "uarray" ];
 
   meta = with lib; {
     description = "Universal array library";