summary refs log tree commit diff
path: root/pkgs/development/python-modules/gcsfs/default.nix
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-06-07 10:00:58 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2021-06-08 20:18:09 +0200
commit5afbcec69f1cb2b8143947567512469e2ef58873 (patch)
treede3e084543eca9724133eaf8e1623736c390c285 /pkgs/development/python-modules/gcsfs/default.nix
parentee9c929fc7bbe1e2e3252146eed040dc18e73c4e (diff)
downloadnixpkgs-5afbcec69f1cb2b8143947567512469e2ef58873.tar
nixpkgs-5afbcec69f1cb2b8143947567512469e2ef58873.tar.gz
nixpkgs-5afbcec69f1cb2b8143947567512469e2ef58873.tar.bz2
nixpkgs-5afbcec69f1cb2b8143947567512469e2ef58873.tar.lz
nixpkgs-5afbcec69f1cb2b8143947567512469e2ef58873.tar.xz
nixpkgs-5afbcec69f1cb2b8143947567512469e2ef58873.tar.zst
nixpkgs-5afbcec69f1cb2b8143947567512469e2ef58873.zip
python3Packages.gcsfs: 2021.04.0 -> 2021.05.0
Diffstat (limited to 'pkgs/development/python-modules/gcsfs/default.nix')
-rw-r--r--pkgs/development/python-modules/gcsfs/default.nix45
1 files changed, 34 insertions, 11 deletions
diff --git a/pkgs/development/python-modules/gcsfs/default.nix b/pkgs/development/python-modules/gcsfs/default.nix
index 483e4a61084..c71794b106e 100644
--- a/pkgs/development/python-modules/gcsfs/default.nix
+++ b/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; {