[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#70855] [PATCH 85/92] gnu: python-warcio: Move to pyproject-build-sy
From: |
Nicolas Graves |
Subject: |
[bug#70855] [PATCH 85/92] gnu: python-warcio: Move to pyproject-build-system. |
Date: |
Fri, 10 May 2024 00:54:20 +0200 |
* gnu/packages/python-web.scm (python-warcio):
[build-system]: Move to pyproject-build-system.
[arguments]: Use <#:test-flags> instead of check phase replacement.
Change-Id: I7fd1ad51cddcbeb42c6aeeda552eb1a7bcd6e712
---
gnu/packages/python-web.scm | 26 ++++++++++----------------
1 file changed, 10 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index c24a3daa2e1..5f07b3cfc50 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6631,24 +6631,18 @@ (define-public python-warcio
(sha256
(base32
"11afr6zy3r6rda81010iq496dazg4xid0izg3smg6ighpmvsnzf2"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
(list
- #:phases
- #~(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "pytest" "-vv"
- ;; These tests fail due to networking requirements.
- "-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 ")))))))))
+ #: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
--
2.41.0
- [bug#70855] [PATCH 77/92] gnu: python-funsor: Ignore flaky test., (continued)
- [bug#70855] [PATCH 77/92] gnu: python-funsor: Ignore flaky test., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 82/92] gnu: python-pyan3: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 81/92] gnu: python-fenics-dijitso: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 73/92] gnu: python-uqbar: Upgrade to python-team branch., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 91/92] gnu: python-notebook: Add python-jupyter-server native-input., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 76/92] gnu: python-zope-i18nmessageid: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 78/92] gnu: borgmatic: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 86/92] gnu: python-certauth: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 89/92] gnu: python-qemu-qmp: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 92/92] build-system/pyproject: Add missing native-inputs., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 85/92] gnu: python-warcio: Move to pyproject-build-system.,
Nicolas Graves <=
- [bug#70855] [PATCH 79/92] gnu: tuir: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 87/92] gnu: python-matplotlib: Ignore failing tests., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 90/92] gnu: python-cssselect2: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 88/92] gnu: python-qemu-qmp: Improve package style., Nicolas Graves, 2024/05/09
- bug#70855: [PATCH 00/92] python-team patches, Nicolas Goaziou, 2024/05/23