gnu: python-warcio: Update to 1.7.5.

* gnu/packages/python-web.scm (python-warcio): Update to 1.7.5.
[arguments]: Disable loading test file that now requires python-hookdns.
All tests in that file were already skipped before, because they need
network access.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Icadd915e1128f4e04741cbf8a246ad58d631307f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Felix Gruber 2025-01-25 18:43:00 +00:00 committed by Sharlatan Hellseher
parent 0b7179b8b9
commit a3545762f8
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -49,7 +49,7 @@
;;; Copyright © 2021 Alice Brenon <alice.brenon@ens-lyon.fr> ;;; Copyright © 2021 Alice Brenon <alice.brenon@ens-lyon.fr>
;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com> ;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> ;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
;;; Copyright © 2022, 2023 Felix Gruber <felgru@posteo.net> ;;; Copyright © 2022, 2023, 2025 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2022 Peter Polidoro <peter@polidoro.io> ;;; Copyright © 2022 Peter Polidoro <peter@polidoro.io>
;;; Copyright © 2022 Antero Mejr <antero@mailbox.org> ;;; Copyright © 2022 Antero Mejr <antero@mailbox.org>
;;; Copyright © 2022 Luis Henrique Gomes Higino <luishenriquegh2701@gmail.com> ;;; Copyright © 2022 Luis Henrique Gomes Higino <luishenriquegh2701@gmail.com>
@ -7696,21 +7696,19 @@ them to a designated prefix.")
(define-public python-warcio (define-public python-warcio
;; The PyPI release is missing some test support files (see: ;; The PyPI release is missing some test support files (see:
;; https://github.com/webrecorder/warcio/issues/132). ;; https://github.com/webrecorder/warcio/issues/132).
(let ((revision "0")
(commit "aa702cb321621b233c6e5d2a4780151282a778be"))
(package (package
(name "python-warcio") (name "python-warcio")
(version (git-version "1.7.4" revision commit)) (version "1.7.5")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/webrecorder/warcio") (url "https://github.com/webrecorder/warcio")
(commit commit))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"11afr6zy3r6rda81010iq496dazg4xid0izg3smg6ighpmvsnzf2")))) "0r3kijsm8wsbipi5pxsrqpg5nn4w8iaw5i8010b0ligmfxnxamlb"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (list
@ -7722,10 +7720,16 @@ them to a designated prefix.")
"test_capture_http_proxy" "test_capture_http_proxy"
"test_capture_https_proxy" "test_capture_https_proxy"
"test_capture_https_proxy_same_session") "test_capture_https_proxy_same_session")
" and not "))))) " and not "))
; The following test requires the hookdns package.
"--ignore=test/test_capture_http_proxy.py")))
(native-inputs (native-inputs
;; These inputs are required for the test suite. ;; These inputs are required for the test suite.
(list python-httpbin python-pytest-cov python-requests (list python-httpbin
python-pytest-cov
python-requests
python-setuptools
python-wheel
python-wsgiprox)) python-wsgiprox))
(home-page "https://github.com/webrecorder/warcio") (home-page "https://github.com/webrecorder/warcio")
(synopsis "Streaming web archival archive (WARC) library") (synopsis "Streaming web archival archive (WARC) library")
@ -7733,7 +7737,7 @@ them to a designated prefix.")
commonly used in Web archives. It is designed for fast, low-level access to commonly used in Web archives. It is designed for fast, low-level access to
web archival content, oriented around a stream of WARC records rather than web archival content, oriented around a stream of WARC records rather than
files.") files.")
(license license:asl2.0)))) (license license:asl2.0)))
(define-public python-websockets (define-public python-websockets
(package (package