aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/fsspec/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/fsspec/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/fsspec/default.nix18
1 files changed, 11 insertions, 7 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/fsspec/default.nix b/nixpkgs/pkgs/development/python-modules/fsspec/default.nix
index 8f2c11f4265..a20b00087b7 100644
--- a/nixpkgs/pkgs/development/python-modules/fsspec/default.nix
+++ b/nixpkgs/pkgs/development/python-modules/fsspec/default.nix
@@ -2,28 +2,32 @@
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
-, pytest
+, pytestCheckHook
+, numpy
}:
buildPythonPackage rec {
pname = "fsspec";
- version = "0.6.2";
+ version = "0.7.4";
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "intake";
repo = "filesystem_spec";
rev = version;
- sha256 = "1y3d6xw14rcldz9779ir6mjaff4rk82ch6ahn4y9mya0qglpc31i";
+ sha256 = "0ylslmkzc803050yh8dl6cagabb9vrygz6w2zsmglzn4v9sz6jgd";
};
checkInputs = [
- pytest
+ pytestCheckHook
+ numpy
];
- checkPhase = ''
- pytest
- '';
+ disabledTests = [
+ # Test assumes user name is part of $HOME
+ # AssertionError: assert 'nixbld' in '/homeless-shelter/foo/bar'
+ "test_strip_protocol_expanduser"
+ ];
meta = with lib; {
description = "A specification that python filesystems should adhere to";