mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
python3Packages.fsspec: fix tests on darwin, 0.7.4 -> 0.8.3
This commit is contained in:
parent
c9c10e240e
commit
4dbd770f30
@ -4,18 +4,20 @@
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
, numpy
|
||||
, stdenv
|
||||
, isPy38
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fsspec";
|
||||
version = "0.7.4";
|
||||
version = "0.8.3";
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "intake";
|
||||
repo = "filesystem_spec";
|
||||
rev = version;
|
||||
sha256 = "0ylslmkzc803050yh8dl6cagabb9vrygz6w2zsmglzn4v9sz6jgd";
|
||||
sha256 = "0mfy0wxjfwwnp5q2afhhfbampf0fk71wsv512pi9yvrkzzfi1hga";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
@ -27,6 +29,8 @@ buildPythonPackage rec {
|
||||
# Test assumes user name is part of $HOME
|
||||
# AssertionError: assert 'nixbld' in '/homeless-shelter/foo/bar'
|
||||
"test_strip_protocol_expanduser"
|
||||
] ++ lib.optionals (stdenv.isDarwin && isPy38) [
|
||||
"test_modified" # fails on hydra, works locally
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user