~ruther/guix-local

595c139ef4ea1d2e525e39c51ab7843d35c2e230 — Ricardo Wurmus 1 year, 2 months ago 4fc70b6
gnu: Add python-s3fs.

* gnu/packages/python-web.scm (python-s3fs): New variable.

Change-Id: I5f9f02cc91f3037d382af68c785d215550a0efe6
1 files changed, 29 insertions(+), 0 deletions(-)

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +29 -0
@@ 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")