python312Packages.fsspec: 2024.3.0 -> 2024.12.0; python312Packages.s3fs: 2024.9.0 -> 2024.12.0 (#353271)

Changed files
+65 -35
pkgs
development
python-modules
fsspec
s3fs
+38 -18
pkgs/development/python-modules/fsspec/default.nix
···
aiohttp,
buildPythonPackage,
fetchFromGitHub,
+
hatchling,
+
hatch-vcs,
numpy,
paramiko,
pytest-asyncio,
···
buildPythonPackage rec {
pname = "fsspec";
-
version = "2024.3.0";
-
format = "setuptools";
+
version = "2024.12.0";
+
pyproject = true;
disabled = pythonOlder "3.8";
···
owner = "fsspec";
repo = "filesystem_spec";
tag = version;
-
hash = "sha256-C+47BcIELZTEARXW8fAMHMjyKUWxU1tNKWGoPPtt/fQ=";
+
hash = "sha256-Vc0vBayPg6zZ4+pxJsHChSGg0kjA0Q16+Gk0bO0IEpI=";
};
-
propagatedBuildInputs = [
-
aiohttp
-
paramiko
-
requests
-
smbprotocol
-
tqdm
+
build-system = [
+
hatchling
+
hatch-vcs
];
optional-dependencies = {
-
entrypoints = [ ];
abfs = [ adlfs ];
adl = [ adlfs ];
+
arrow = [ pyarrow ];
dask = [
dask
distributed
···
requests
dropbox
];
+
entrypoints = [ ];
+
full = [
+
adlfs
+
aiohttp
+
dask
+
distributed
+
dropbox
+
# dropboxdrivefs
+
fusepy
+
gcsfs
+
libarchive-c
+
ocifs
+
panel
+
paramiko
+
pyarrow
+
pygit2
+
requests
+
s3fs
+
smbprotocol
+
tqdm
+
];
+
fuse = [ fusepy ];
gcs = [ gcsfs ];
git = [ pygit2 ];
github = [ requests ];
gs = [ gcsfs ];
+
gui = [ panel ];
hdfs = [ pyarrow ];
-
arrow = [ pyarrow ];
http = [
aiohttp
requests
];
-
sftp = [ paramiko ];
-
s3 = [ s3fs ];
+
libarchive = [ libarchive-c ];
oci = [ ocifs ];
+
s3 = [ s3fs ];
+
sftp = [ paramiko ];
smb = [ smbprotocol ];
ssh = [ paramiko ];
-
fuse = [ fusepy ];
-
libarchive = [ libarchive-c ];
-
gui = [ panel ];
tqdm = [ tqdm ];
};
nativeCheckInputs = [
+
aiohttp
numpy
pytest-asyncio
pytest-mock
···
pythonImportsCheck = [ "fsspec" ];
-
meta = with lib; {
+
meta = {
description = "Specification that Python filesystems should adhere to";
homepage = "https://github.com/fsspec/filesystem_spec";
changelog = "https://github.com/fsspec/filesystem_spec/raw/${version}/docs/source/changelog.rst";
-
license = licenses.bsd3;
+
license = lib.licenses.bsd3;
maintainers = [ ];
};
}
+27 -17
pkgs/development/python-modules/s3fs/default.nix
···
buildPythonPackage,
docutils,
fetchPypi,
+
flask,
+
flask-cors,
fsspec,
+
moto,
+
pytestCheckHook,
pythonOlder,
+
setuptools,
}:
buildPythonPackage rec {
pname = "s3fs";
-
version = "2024.9.0";
-
format = "setuptools";
+
version = "2024.12.0";
+
pyproject = true;
-
disabled = pythonOlder "3.7";
+
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
-
hash = "sha256-ZJNwWrtQN01reZT5YW0nrb3YohnIY1EAvcKGOC79kfU=";
+
hash = "sha256-Gw86j1lGzKW6KYcdZ5KrHkUo7XYjJ9iu+vyBtzuZ/VY=";
};
-
postPatch = ''
-
sed -i 's/fsspec==.*/fsspec/' requirements.txt
-
'';
+
buildInputs = [ docutils ];
-
buildInputs = [ docutils ];
+
build-system = [ setuptools ];
-
propagatedBuildInputs = [
+
dependencies = [
aiobotocore
aiohttp
fsspec
];
-
# Depends on `moto` which has a long dependency chain with exact
-
# version requirements that can't be made to work with current
-
# pythonPackages.
-
doCheck = false;
-
pythonImportsCheck = [ "s3fs" ];
-
meta = with lib; {
+
nativeCheckInputs = [
+
flask
+
flask-cors
+
moto
+
pytestCheckHook
+
];
+
+
disabledTests = [
+
# require network access
+
"test_async_close"
+
];
+
+
meta = {
description = "Pythonic file interface for S3";
homepage = "https://github.com/fsspec/s3fs";
changelog = "https://github.com/fsspec/s3fs/raw/${version}/docs/source/changelog.rst";
-
license = licenses.bsd3;
-
maintainers = with maintainers; [ teh ];
+
license = lib.licenses.bsd3;
+
maintainers = with lib.maintainers; [ teh ];
};
}