python3Packages.gcsfs: 2021.04.0 -> 2021.05.0

launchpad/nixpkgs/master
Fabian Affolter 3 years ago
parent ee9c929fc7
commit 5afbcec69f
  1. 45
      pkgs/development/python-modules/gcsfs/default.nix

@ -1,31 +1,54 @@
{ buildPythonPackage, fetchFromGitHub, lib, pytestCheckHook, google-auth
, google-auth-oauthlib, requests, decorator, fsspec, ujson, aiohttp, crcmod
, pytest-vcr, vcrpy }:
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, google-auth
, google-auth-oauthlib
, requests
, decorator
, fsspec
, ujson
, aiohttp
, crcmod
, pytest-vcr
, vcrpy
}:
buildPythonPackage rec {
pname = "gcsfs";
version = "2021.04.0";
version = "2021.05.0";
disabled = pythonOlder "3.6";
# github sources needed for test data
src = fetchFromGitHub {
owner = "dask";
repo = pname;
rev = version;
sha256 = "sha256-OA43DaQue7R5d6SzfKThEQFEwJndjLfznu1LMubs5fs=";
sha256 = "sha256-I17eWaijxn0+8CzfzvzXVc0t9gQ03vx29a/i+QCQ0/U=";
};
propagatedBuildInputs = [
aiohttp
crcmod
decorator
fsspec
google-auth
google-auth-oauthlib
requests
decorator
fsspec
aiohttp
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" ];
meta = with lib; {

Loading…
Cancel
Save