[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: |
Fri, 22 Nov 2024 06:00:43 -0500 (EST) |
andreas pushed a commit to branch python-team
in repository guix.
commit 6b45449be0df85a82b280f2c846b73c18139ce20
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
- 109/361: gnu: python-cattrs: Update to 23.2.3., (continued)
- 109/361: gnu: python-cattrs: Update to 23.2.3., guix-commits, 2024/11/22
- 120/361: gnu: python-platformdirs: Update to 4.2.1., guix-commits, 2024/11/22
- 125/361: gnu: python-sphinx-5: Disable failing tests., guix-commits, 2024/11/22
- 151/361: gnu: qtile: Update to 0.23.0., guix-commits, 2024/11/22
- 180/361: gnu: python-pytest-toolbox: Move to pyproject-build-system., guix-commits, 2024/11/22
- 158/361: gnu: python-scikit-rf: Fix tests., guix-commits, 2024/11/22
- 189/361: gnu: Add ghc-xcb-types., guix-commits, 2024/11/22
- 188/361: gnu: python-nbstripout: Move to pyproject-build-system., guix-commits, 2024/11/22
- 192/361: gnu: python-pint: Disable benchmark tests., guix-commits, 2024/11/22
- 200/361: gnu: Add python-sphinx-autodoc-typehints-5., guix-commits, 2024/11/22
- 213/361: gnu: python-warcio: Move to pyproject-build-system.,
guix-commits <=
- 222/361: gnu: python-urllib3: Update to 2.2.1., guix-commits, 2024/11/22
- 237/361: gnu: python-optree: Adjust inputs., guix-commits, 2024/11/22
- 238/361: gnu: python-parameterized-next: Adjust inputs., guix-commits, 2024/11/22
- 30/361: gnu: python-traitlets: Update to 5.14.1., guix-commits, 2024/11/22
- 33/361: gnu: Add python-rapidfuzz., guix-commits, 2024/11/22
- 72/361: gnu: Add python-hatch-jupyter-builder., guix-commits, 2024/11/22
- 76/361: gnu: python-attrs: Update to 23.2.0., guix-commits, 2024/11/22
- 67/361: gnu: Add python-rfc3986-validator., guix-commits, 2024/11/22
- 81/361: gnu: python-websocket-client: Update to 1.8.0., guix-commits, 2024/11/22
- 85/361: gnu: python-pyzmq: Use Tornado 6., guix-commits, 2024/11/22