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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 75835 in the body.
You can then email your comments to 75835 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, jgart <at> dismail.de, guix-patches <at> gnu.org
:
bug#75835
; Package
guix-patches
.
(Sat, 25 Jan 2025 18:41:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Felix Gruber <felgru <at> posteo.net>
:
New bug report received and forwarded. Copy sent to
lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, jgart <at> dismail.de, guix-patches <at> gnu.org
.
(Sat, 25 Jan 2025 18:41:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
This patchset updates python-warcio to 1.7.5 and fixes its dependency
python-certauth.
Felix Gruber (2):
gnu: python-certauth: Update to 1.3.0.
gnu: python-warcio: Update to 1.7.5.
gnu/packages/python-crypto.scm | 19 ++++++++-
gnu/packages/python-web.scm | 76 ++++++++++++++++++----------------
2 files changed, 57 insertions(+), 38 deletions(-)
base-commit: b226a1007a9111adacb05984b8d74def24257dce
--
2.45.2
Information forwarded
to
lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, jgart <at> dismail.de, guix-patches <at> gnu.org
:
bug#75835
; Package
guix-patches
.
(Sat, 25 Jan 2025 18:44:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 75835 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-crypto.scm (python-certauth): Fix build.
[arguments]: Disable failing tests.
[native-inputs]: Add python-setuptools and python-wheel.
Change-Id: I623638539fa25d4178fd4b0b4c201e5f91172542
---
gnu/packages/python-crypto.scm | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 6aa8e83d4d..849ec18c4b 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -446,7 +446,22 @@ (define-public python-certauth
"1yxqfb5131wahjyw9pxz03bq476rcfx62s6k53xx4cqbzzgdaqkq"))))
(build-system pyproject-build-system)
(arguments
- (list #:phases
+ (list #:test-flags
+ #~(list
+ "-k"
+ (string-append
+ ; Those tests uses PKCS12, which has been removed in
+ ; pyopenssl 23.3.0:
+ "not test_custom_not_before_not_after"
+ " and not test_ca_cert_in_mem"
+ ; Those tests try to download certificates:
+ " and not test_file_wildcard"
+ " and not test_file_wildcard_subdomains"
+ " and not test_in_mem_parent_wildcard_cert"
+ " and not test_in_mem_parent_wildcard_cert_at_tld"
+ " and not test_in_mem_parent_wildcard_cert_2"
+ ))
+ #:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'adjust-test
(lambda _
@@ -458,7 +473,7 @@ (define-public python-certauth
(propagated-inputs
(list python-pyopenssl python-tldextract))
(native-inputs
- (list python-pytest-cov))
+ (list python-pytest-cov python-setuptools python-wheel))
(home-page "https://github.com/ikreymer/certauth")
(synopsis "Certificate authority creation tool")
(description "This package provides a small library, built on top of
--
2.45.2
Information forwarded
to
lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, jgart <at> dismail.de, guix-patches <at> gnu.org
:
bug#75835
; Package
guix-patches
.
(Sat, 25 Jan 2025 18:44:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 75835 <at> debbugs.gnu.org (full text, mbox):
* 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
Reply sent
to
Sharlatan Hellseher <sharlatanus <at> gmail.com>
:
You have taken responsibility.
(Sat, 25 Jan 2025 22:34:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Felix Gruber <felgru <at> posteo.net>
:
bug acknowledged by developer.
(Sat, 25 Jan 2025 22:34:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 75835-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
--8<---------------cut here---------------start------------->8---
> ./pre-inst-env guix build -P 1 python-warcio
guix build: computing dependents of package python-warcio <at> 1.7.5...
/gnu/store/80i9vla58kpdsq1aai80hhflji2fxcf7-python-warcio-1.7.5
[env: /gnu/store/qkhp11ij3racniwf8wfhala6ya4rf0nm-profile]
> ./pre-inst-env guix build -P 1 python-certauth
guix build: computing dependents of package python-certauth <at> 1.3.0...
/gnu/store/prx662h1xkmb976x3qblpda4jwkld29x-python-certauth-1.3.0
/gnu/store/1j81g3qk2dxj8nx7w4sq5r6nvvzsfs0m-python-wsgiprox-1.5.2
--8<---------------cut here---------------end--------------->8---
Pushed to master:
- a3545762f87 * gnu: python-warcio: Update to 1.7.5.
- 0b7179b8b9b * gnu: python-certauth: Fix build.
--
Thanks,
Oleg
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 23 Feb 2025 12:24:12 GMT)
Full text and
rfc822 format available.
This bug report was last modified 18 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.