mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02:00
python3.pkgs.fsspec: fix build
This commit is contained in:
parent
c6efab9b60
commit
39626dcc2a
|
@ -2,28 +2,32 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, pytest
|
, pytestCheckHook
|
||||||
|
, numpy
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "fsspec";
|
pname = "fsspec";
|
||||||
version = "0.6.2";
|
version = "0.7.4";
|
||||||
disabled = pythonOlder "3.5";
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "intake";
|
owner = "intake";
|
||||||
repo = "filesystem_spec";
|
repo = "filesystem_spec";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1y3d6xw14rcldz9779ir6mjaff4rk82ch6ahn4y9mya0qglpc31i";
|
sha256 = "0ylslmkzc803050yh8dl6cagabb9vrygz6w2zsmglzn4v9sz6jgd";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest
|
pytestCheckHook
|
||||||
|
numpy
|
||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
disabledTests = [
|
||||||
pytest
|
# Test assumes user name is part of $HOME
|
||||||
'';
|
# AssertionError: assert 'nixbld' in '/homeless-shelter/foo/bar'
|
||||||
|
"test_strip_protocol_expanduser"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A specification that python filesystems should adhere to";
|
description = "A specification that python filesystems should adhere to";
|
||||||
|
|
Loading…
Reference in a new issue