[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
185/361: gnu: python-jaraco-functools: Move to pyproject-build-system.
From: |
guix-commits |
Subject: |
185/361: gnu: python-jaraco-functools: Move to pyproject-build-system. |
Date: |
Fri, 22 Nov 2024 06:00:37 -0500 (EST) |
andreas pushed a commit to branch python-team
in repository guix.
commit a9dd7ad26a110ce77f2e9f1033d3c6e72830ac01
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 d80640163e..998abb075c 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)
- 249/361: gnu: python-cucumber-tag-expressions: Update to 6.1.1., (continued)
- 249/361: gnu: python-cucumber-tag-expressions: Update to 6.1.1., guix-commits, 2024/11/22
- 136/361: gnu: python-seaborn: Correct dependencies., guix-commits, 2024/11/22
- 143/361: gnu: python-zope-i18nmessageid: Update to 5.1.1., guix-commits, 2024/11/22
- 128/361: gnu: python-pycurl: Update to 7.45.3., guix-commits, 2024/11/22
- 137/361: gnu: python-transient: Move to pyproject-build-system., guix-commits, 2024/11/22
- 146/361: gnu: python-django-localflavor: Move to pyproject-build-system., guix-commits, 2024/11/22
- 156/361: gnu: conda: Reindent., guix-commits, 2024/11/22
- 155/361: gnu: conda: Move to pyproject-build-system., guix-commits, 2024/11/22
- 169/361: gnu: python-tinycss: Move to pyproject-build-system., guix-commits, 2024/11/22
- 176/361: gnu: abjad: Update to 3.19., guix-commits, 2024/11/22
- 185/361: gnu: python-jaraco-functools: Move to pyproject-build-system.,
guix-commits <=
- 184/361: gnu: python-jaraco-context: Move to pyproject-build-system., guix-commits, 2024/11/22
- 182/361: gnu: python-docspec-python: Move to pyproject-build-system., guix-commits, 2024/11/22
- 195/361: gnu: python-orderedmultidict: Move to pyproject-build-system., guix-commits, 2024/11/22
- 201/361: gnu: python-uqbar: Improve package style., guix-commits, 2024/11/22
- 208/361: gnu: tuir: Move to pyproject-build-system., guix-commits, 2024/11/22
- 218/361: gnu: python-cssselect2: Move to pyproject-build-system., guix-commits, 2024/11/22
- 224/361: gnu: python-kiwisolver: Update to 1.4.6., guix-commits, 2024/11/22
- 229/361: gnu: Remove python-m2r., guix-commits, 2024/11/22
- 274/361: gnu: python-cplot: Adjust inputs., guix-commits, 2024/11/22
- 277/361: gnu: python-quadpy: Adjust inputs., guix-commits, 2024/11/22