python3Packages.fsspec: 0.5.2 -> 0.6.2 enable tests

This commit is contained in:
Chris Ostrouchov 2019-12-29 17:52:40 -05:00
parent 0b960bccd7
commit b555997f31
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573

View File

@ -1,26 +1,34 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchFromGitHub
, pythonOlder , isPy27
, pytest
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "fsspec"; pname = "fsspec";
version = "0.5.2"; version = "0.6.2";
disabled = isPy27;
disabled = pythonOlder "3.5"; src = fetchFromGitHub {
owner = "intake";
src = fetchPypi { repo = "filesystem_spec";
inherit pname version; rev = version;
sha256 = "6531a5fa9ea6bf27a5180d225558a8a7aa5d7c3cbf7e8b146dd37ac699017937"; sha256 = "1y3d6xw14rcldz9779ir6mjaff4rk82ch6ahn4y9mya0qglpc31i";
}; };
# no tests checkInputs = [
doCheck = false; pytest
];
checkPhase = ''
pytest
'';
meta = with lib; { meta = with lib; {
description = "A specification that python filesystems should adhere to."; description = "A specification that python filesystems should adhere to";
homepage = "https://github.com/intake/filesystem_spec"; homepage = https://github.com/intake/filesystem_spec;
license = licenses.bsd3; license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
}; };
} }