[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
213/361: gnu: python-warcio: Move to pyproject-build-system.
From: |
guix-commits |
Subject: |
213/361: gnu: python-warcio: Move to pyproject-build-system. |
Date: |
Thu, 21 Nov 2024 06:29:20 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 3f9967e6ce56f57d813cb13b803d2c8b8a2c0287
Author: Nicolas Graves <ngraves@ngraves.fr>
AuthorDate: Fri May 10 00:54:20 2024 +0200
gnu: python-warcio: Move to pyproject-build-system.
* 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
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
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 e9b8bbcc23..9f023e36ad 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7009,24 +7009,18 @@ them to a designated prefix.")
(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
- 177/361: gnu: abjad-ext-rmakers: Update to 3.19., (continued)
- 177/361: gnu: abjad-ext-rmakers: Update to 3.19., guix-commits, 2024/11/21
- 190/361: gnu: python-sparse: Move to pyproject-build-system., guix-commits, 2024/11/21
- 179/361: gnu: python-pytest-remotedata: Ignore failing test., guix-commits, 2024/11/21
- 187/361: gnu: python-jaraco-test: Move to pyproject-build-system., guix-commits, 2024/11/21
- 193/361: gnu: python-apprise: Improve package style., guix-commits, 2024/11/21
- 194/361: gnu: python-autoflake: Update to 2.3.1., guix-commits, 2024/11/21
- 196/361: gnu: python-flake8-isort: Move to pyproject-build-system., guix-commits, 2024/11/21
- 199/361: gnu: python-cmd2: Move to pyproject-build-system., guix-commits, 2024/11/21
- 205/361: gnu: python-zope-i18nmessageid: Move to pyproject-build-system., guix-commits, 2024/11/21
- 212/361: gnu: python-multidict: Move to pyproject-build-system., guix-commits, 2024/11/21
- 213/361: gnu: python-warcio: Move to pyproject-build-system.,
guix-commits <=
- 215/361: gnu: python-matplotlib: Ignore failing tests., guix-commits, 2024/11/21
- 217/361: gnu: python-qemu-qmp: Move to pyproject-build-system., guix-commits, 2024/11/21
- 216/361: gnu: python-qemu-qmp: Improve package style., guix-commits, 2024/11/21
- 29/361: gnu: python-argcomplete: Update to 3.2.2., guix-commits, 2024/11/21
- 31/361: gnu: python-prompt-toolkit: Update to 3.0.43., guix-commits, 2024/11/21
- 228/361: gnu: python-automat: Update to 22.10.0., guix-commits, 2024/11/21
- 36/361: gnu: python-readme-renderer: Adjust package style., guix-commits, 2024/11/21
- 42/361: gnu: python-pynacl: Add missing inputs., guix-commits, 2024/11/21
- 51/361: gnu: python-partd: Add missing input., guix-commits, 2024/11/21
- 55/361: gnu: python-pyls-black: Add missing inputs., guix-commits, 2024/11/21