rekado pushed a commit to branch master
in repository guix.
commit 595c139ef4ea1d2e525e39c51ab7843d35c2e230
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Tue Jan 14 22:58:50 2025 +0100
gnu: Add python-s3fs.
* gnu/packages/python-web.scm (python-s3fs): New variable.
Change-Id: I5f9f02cc91f3037d382af68c785d215550a0efe6
---
gnu/packages/python-web.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 24fd733e8e..7785c79809 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5436,6 +5436,35 @@ Betamax that may possibly end up in the main package.")
(home-page "https://gitlab.com/betamax/serializers")
(license license:asl2.0)))
+(define-public python-s3fs
+ (package
+ (name "python-s3fs")
+ (version "2024.12.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "s3fs" version))
+ (sha256
+ (base32 "0mpxk4xvg0gwzapdh9r3fvnjhi8ymf96f7c756xabk26b67kl3qv"))))
+ (build-system pyproject-build-system)
+ ;; Many tests fail with "No such file or directory" raised by the HTTP
+ ;; client.
+ (arguments (list #:tests? #false))
+ (propagated-inputs (list python-aiobotocore python-aiohttp python-fsspec))
+ (native-inputs
+ (list python-flask ;for moto
+ python-flask-cors
+ python-moto
+ python-pytest
+ python-pytest-asyncio
+ python-setuptools
+ python-wheel))
+ (home-page "https://github.com/fsspec/s3fs/")
+ (synopsis "Convenient filesystem interface over S3")
+ (description "This package provides a convenient filesystem interface over
+S3.")
+ (license license:bsd-3)))
+
(define-public python-s3transfer
(package
(name "python-s3transfer")