python3Packages.uarray: 0.4 -> 0.5.1

This commit is contained in:
Jonathan Ringer 2019-10-17 01:59:13 -07:00 committed by Frederik Rietdijk
parent d59337e806
commit 5305675861

View File

@ -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";