GNU bug report logs -
#75835
[PATCH 0/2] Update python-warcio to 1.7.5.
Previous Next
Reported by: Felix Gruber <felgru <at> posteo.net>
Date: Sat, 25 Jan 2025 18:41:02 UTC
Severity: normal
Tags: patch
Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
* 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
---
gnu/packages/python-web.scm | 76 +++++++++++++++++++------------------
1 file changed, 40 insertions(+), 36 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 1bdc7dafa5..3faa6db06a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -49,7 +49,7 @@
;;; Copyright © 2021 Alice Brenon <alice.brenon <at> ens-lyon.fr>
;;; Copyright © 2022 John Kehayias <john.kehayias <at> protonmail.com>
;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo <at> cyberdimension.org>
-;;; Copyright © 2022, 2023 Felix Gruber <felgru <at> posteo.net>
+;;; Copyright © 2022, 2023, 2025 Felix Gruber <felgru <at> posteo.net>
;;; Copyright © 2022 Peter Polidoro <peter <at> polidoro.io>
;;; Copyright © 2022 Antero Mejr <antero <at> mailbox.org>
;;; Copyright © 2022 Luis Henrique Gomes Higino <luishenriquegh2701 <at> gmail.com>
@@ -7696,44 +7696,48 @@ (define-public python-wsgiprox
(define-public python-warcio
;; The PyPI release is missing some test support files (see:
;; https://github.com/webrecorder/warcio/issues/132).
- (let ((revision "0")
- (commit "aa702cb321621b233c6e5d2a4780151282a778be"))
- (package
- (name "python-warcio")
- (version (git-version "1.7.4" revision commit))
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/webrecorder/warcio")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "11afr6zy3r6rda81010iq496dazg4xid0izg3smg6ighpmvsnzf2"))))
- (build-system pyproject-build-system)
- (arguments
- (list
- #:test-flags ; These tests fail due to networking requirements.
- '(list "-k" (format #f "not ~a"
- (string-join
- '("test_post_chunked"
- "test_remote"
- "test_capture_http_proxy"
- "test_capture_https_proxy"
- "test_capture_https_proxy_same_session")
- " and not ")))))
- (native-inputs
- ;; These inputs are required for the test suite.
- (list python-httpbin python-pytest-cov python-requests
- python-wsgiprox))
- (home-page "https://github.com/webrecorder/warcio")
- (synopsis "Streaming web archival archive (WARC) library")
- (description "warcio is a Python library to read and write the WARC format
+ (package
+ (name "python-warcio")
+ (version "1.7.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/webrecorder/warcio")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0r3kijsm8wsbipi5pxsrqpg5nn4w8iaw5i8010b0ligmfxnxamlb"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags ; These tests fail due to networking requirements.
+ '(list "-k" (format #f "not ~a"
+ (string-join
+ '("test_post_chunked"
+ "test_remote"
+ "test_capture_http_proxy"
+ "test_capture_https_proxy"
+ "test_capture_https_proxy_same_session")
+ " and not "))
+ ; The following test requires the hookdns package.
+ "--ignore=test/test_capture_http_proxy.py")))
+ (native-inputs
+ ;; These inputs are required for the test suite.
+ (list python-httpbin
+ python-pytest-cov
+ python-requests
+ python-setuptools
+ python-wheel
+ python-wsgiprox))
+ (home-page "https://github.com/webrecorder/warcio")
+ (synopsis "Streaming web archival archive (WARC) library")
+ (description "warcio is a Python library to read and write the WARC format
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
files.")
- (license license:asl2.0))))
+ (license license:asl2.0)))
(define-public python-websockets
(package
--
2.45.2
This bug report was last modified 116 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.