python3Packages.gcsfs: 2021.04.0 -> 2021.05.0

This commit is contained in:
Fabian Affolter 2021-06-07 10:00:58 +02:00
parent ee9c929fc7
commit 5afbcec69f

View File

@ -1,31 +1,54 @@
{ buildPythonPackage, fetchFromGitHub, lib, pytestCheckHook, google-auth { lib
, google-auth-oauthlib, requests, decorator, fsspec, ujson, aiohttp, crcmod , buildPythonPackage
, pytest-vcr, vcrpy }: , fetchFromGitHub
, pytestCheckHook
, pythonOlder
, google-auth
, google-auth-oauthlib
, requests
, decorator
, fsspec
, ujson
, aiohttp
, crcmod
, pytest-vcr
, vcrpy
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "gcsfs"; pname = "gcsfs";
version = "2021.04.0"; version = "2021.05.0";
disabled = pythonOlder "3.6";
# github sources needed for test data
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dask"; owner = "dask";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-OA43DaQue7R5d6SzfKThEQFEwJndjLfznu1LMubs5fs="; sha256 = "sha256-I17eWaijxn0+8CzfzvzXVc0t9gQ03vx29a/i+QCQ0/U=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
aiohttp
crcmod
decorator
fsspec
google-auth google-auth
google-auth-oauthlib google-auth-oauthlib
requests requests
decorator
fsspec
aiohttp
ujson ujson
crcmod
]; ];
checkInputs = [ pytestCheckHook pytest-vcr vcrpy ]; checkInputs = [
pytest-vcr
pytestCheckHook
vcrpy
];
disabledTests = [
# Tests wants to communicate with the Link-local address
"test_GoogleCredentials_None"
];
pythonImportsCheck = [ "gcsfs" ]; pythonImportsCheck = [ "gcsfs" ];
meta = with lib; { meta = with lib; {