python3Packages.fsspec: 2021.04.0 -> 2021.05.0

launchpad/nixpkgs/master
Fabian Affolter 3 years ago
parent fe84261826
commit 0b963e0fed
  1. 29
      pkgs/development/python-modules/fsspec/default.nix

@ -1,32 +1,43 @@
{ lib
, stdenv
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytestCheckHook
, numpy
, stdenv
, aiohttp
, pytest-vcr
, requests
, paramiko
, smbprotocol
}:
buildPythonPackage rec {
pname = "fsspec";
version = "2021.04.0";
disabled = pythonOlder "3.5";
version = "2021.05.0";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "intake";
repo = "filesystem_spec";
rev = version;
sha256 = "sha256-9072kb1VEQ0xg9hB8yEzJMD2Ttd3UGjBmTuhE+Uya1k=";
sha256 = "sha256-MQjUBLmx3Lb3nZNU/AgBKUQ/qNOd+XH+2YI51wV8AO0=";
};
checkInputs = [ pytestCheckHook numpy pytest-vcr ];
propagatedBuildInputs = [
aiohttp
paramiko
requests
smbprotocol
];
__darwinAllowLocalNetworking = true;
checkInputs = [
numpy
pytest-vcr
pytestCheckHook
];
propagatedBuildInputs = [ aiohttp requests ];
__darwinAllowLocalNetworking = true;
disabledTests = [
# Test assumes user name is part of $HOME
@ -43,8 +54,10 @@ buildPythonPackage rec {
"test_touch"
];
pythonImportsCheck = [ "fsspec" ];
meta = with lib; {
description = "A specification that python filesystems should adhere to";
description = "A specification that Python filesystems should adhere to";
homepage = "https://github.com/intake/filesystem_spec";
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];

Loading…
Cancel
Save