[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
185/474: gnu: python-jaraco-functools: Move to pyproject-build-system.
From: |
guix-commits |
Subject: |
185/474: gnu: python-jaraco-functools: Move to pyproject-build-system. |
Date: |
Sat, 30 Nov 2024 18:20:16 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 940207532002c05fd22110f3dcbe072d07de8e19
Author: Nicolas Graves <ngraves@ngraves.fr>
AuthorDate: Fri May 10 00:53:50 2024 +0200
gnu: python-jaraco-functools: Move to pyproject-build-system.
* gnu/packages/python-xyz.scm:
(python-jaraco-functools-bootstrap)[build-system]: Move to
pyproject-build-system.
(python-jaraco-functools)[arguments]: Convert <#:phases> to
<#:test-flags>.
Change-Id: Id41967b3cb426045877ceccd9b391d545d759560
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/python-xyz.scm | 18 ++++++------------
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c1819defb5..2e5123d801 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12237,7 +12237,7 @@ procedures.")
(uri (pypi-uri "jaraco.functools" version))
(sha256
(base32 "186xqzs3bqhjwajnprxy3sc3h0w5vdld8spc1dxjnn9720yykq1i"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments (list #:tests? #f))
(native-inputs (list python-setuptools-scm))
(propagated-inputs (list python-more-itertools))
@@ -12255,17 +12255,11 @@ module with a few extra procedures.")
(package-arguments python-jaraco-functools-bootstrap)
((#:tests? _ #f)
(not (%current-target-system)))
- ((#:phases phases #~%standard-phases)
- #~(modify-phases #$phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- ;; Do not test the myproject.toml build as it tries to pull
- ;; dependencies from the Internet. Do not run a test that
- ;; tries to emulate a broken proprietary CI set-up, fails
- ;; to do so correctly, and then throws an error about it.
- (invoke "pytest" "-vv" "-k"
- "not project and not test_function_throttled"))))))))
+ ;; Do not test the myproject.toml build as it pulls dependencies.
+ ;; Do not run a test that tries to emulate a broken proprietary CI
+ ;; set-up, fails to do so correctly, and then throws an error.
+ ((#:test-flags test-flags '())
+ '(list "-k" "not project and not test_function_throttled"))))
(native-inputs
(modify-inputs
(package-native-inputs python-jaraco-functools-bootstrap)
- 90/474: gnu: python-nbconvert: Use pyproject-build-system., (continued)
- 90/474: gnu: python-nbconvert: Use pyproject-build-system., guix-commits, 2024/11/30
- 91/474: gnu: python-trio: Use pyproject-build-system., guix-commits, 2024/11/30
- 92/474: gnu: python-jupyter-client: Update to 7.4.4., guix-commits, 2024/11/30
- 95/474: gnu: python-notebook: Update to 6.5.7., guix-commits, 2024/11/30
- 101/474: gnu: python-openapi-schema-validator: Update to 0.6.2., guix-commits, 2024/11/30
- 144/474: gnu: python-aionotify: Update to 0.3.0., guix-commits, 2024/11/30
- 174/474: gnu: python-amqp: Move to pyproject-build-system., guix-commits, 2024/11/30
- 151/474: gnu: qtile: Update to 0.23.0., guix-commits, 2024/11/30
- 168/474: gnu: python-cbor2: Move to pyproject-build-system., guix-commits, 2024/11/30
- 177/474: gnu: abjad-ext-rmakers: Update to 3.19., guix-commits, 2024/11/30
- 185/474: gnu: python-jaraco-functools: Move to pyproject-build-system.,
guix-commits <=
- 193/474: gnu: python-apprise: Improve package style., guix-commits, 2024/11/30
- 198/474: gnu: python-rich: Update to 13.7.1., guix-commits, 2024/11/30
- 210/474: gnu: python-pyan3: Move to pyproject-build-system., guix-commits, 2024/11/30
- 238/474: gnu: python-parameterized-next: Adjust inputs., guix-commits, 2024/11/30
- 229/474: gnu: Remove python-m2r., guix-commits, 2024/11/30
- 232/474: gnu: python-django-4.2: Adjust inputs., guix-commits, 2024/11/30
- 245/474: gnu: nikola: Fix build., guix-commits, 2024/11/30
- 262/474: gnu: python-urwid: Update to 2.6.16., guix-commits, 2024/11/30
- 256/474: gnu: python-defusedxml: Update to 0.7.1., guix-commits, 2024/11/30
- 248/474: gnu: Add python-pytest-html., guix-commits, 2024/11/30