@@ -5,34 +5,36 @@
55, pytestCheckHook
66, numpy
77, stdenv
8+, aiohttp
9+, pytest-vcr
10+, requests
811}:
912
1013buildPythonPackage rec {
1114 pname = "fsspec";
12− version = "0.8.3";
15+ version = "2021.04.0";
1316 disabled = pythonOlder "3.5";
1417
1518 src = fetchFromGitHub {
1619 owner = "intake";
1720 repo = "filesystem_spec";
1821 rev = version;
19− sha256 = "0mfy0wxjfwwnp5q2afhhfbampf0fk71wsv512pi9yvrkzzfi1hga";
22+ sha256 = "sha256-9072kb1VEQ0xg9hB8yEzJMD2Ttd3UGjBmTuhE+Uya1k=";
2023 };
2124
22− checkInputs = [
23− pytestCheckHook
24− numpy
25− ];
25+ checkInputs = [ pytestCheckHook numpy pytest-vcr ];
26+
27+ __darwinAllowLocalNetworking = true;
28+
29+ propagatedBuildInputs = [ aiohttp requests ];
2630
2731 disabledTests = [
2832 # Test assumes user name is part of $HOME
2933 # AssertionError: assert 'nixbld' in '/homeless-shelter/foo/bar'
3034 "test_strip_protocol_expanduser"
31− # flaky: works locally but fails on hydra
32− # as it uses the install dir for tests instead of a temp dir
33− # resolved in https://github.com/intake/filesystem_spec/issues/432 and
34− # can be enabled again from version 0.8.4
35− "test_pathobject"
35+ # test accesses this remote ftp server:
36+ # https://ftp.fau.de/debian-cd/current/amd64/log/success
37+ "test_find"
3638 ] ++ lib.optionals (stdenv.isDarwin) [
3739 # works locally on APFS, fails on hydra with AssertionError comparing timestamps
3840 # darwin hydra builder uses HFS+ and has only one second timestamp resolution