3
0
Fork 0
forked from mirrors/nixpkgs

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 { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, fetchpatch
, matchpy , matchpy
, numpy , numpy
, astunparse , astunparse
@ -16,24 +17,18 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "uarray"; pname = "uarray";
version = "0.4"; version = "0.5.1";
format = "flit";
# will have support soon see
# https://github.com/Quansight-Labs/uarray/pull/64
disabled = isPy37;
src = fetchPypi { src = fetchPypi {
inherit pname version; 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 ]; checkInputs = [ pytest nbval pytestcov numba ];
propagatedBuildInputs = [ matchpy numpy astunparse typing-extensions black ]; propagatedBuildInputs = [ matchpy numpy astunparse typing-extensions black ];
checkPhase = '' pythonImportsCheck = [ "uarray" ];
${python.interpreter} extract_readme_tests.py
pytest
'';
meta = with lib; { meta = with lib; {
description = "Universal array library"; description = "Universal array library";