[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: |
Thu, 21 Nov 2024 06:29:14 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit fc0c66cf8edddecb1b141a6ed605f5d9513044eb
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)
- 317/361: gnu: python-curio: Update to 1.6., (continued)
- 317/361: gnu: python-curio: Update to 1.6., guix-commits, 2024/11/21
- 341/361: gnu: python-pytest-localserver: Update to 0.9.0.post0., guix-commits, 2024/11/21
- 339/361: gnu: Add python-ephemeral-port-reserve., guix-commits, 2024/11/21
- 351/361: gnu: python-pytest-httpserver: Update to 1.1.0., guix-commits, 2024/11/21
- 92/361: gnu: python-jupyter-client: Update to 7.4.4., guix-commits, 2024/11/21
- 183/361: gnu: python-jaraco-classes: Move to pyproject-build-system., guix-commits, 2024/11/21
- 180/361: gnu: python-pytest-toolbox: Move to pyproject-build-system., guix-commits, 2024/11/21
- 175/361: gnu: python-sphinx-autodoc-typehints: Move to pyproject-build-system., guix-commits, 2024/11/21
- 327/361: gnu: python-editables: Update to 0.5., guix-commits, 2024/11/21
- 334/361: gnu: python-pytest-mypy: Update to 0.10.3., guix-commits, 2024/11/21
- 185/361: gnu: python-jaraco-functools: Move to pyproject-build-system.,
guix-commits <=
- 197/361: gnu: python-xmltodict: Move to pyproject-build-system., guix-commits, 2024/11/21
- 200/361: gnu: Add python-sphinx-autodoc-typehints-5., guix-commits, 2024/11/21
- 32/361: gnu: python-ipython: Update to 8.22.1., guix-commits, 2024/11/21
- 88/361: gnu: python-ipykernel: Set environment variable., guix-commits, 2024/11/21
- 59/361: gnu: python-jinja2: Add setuptools and wheel., guix-commits, 2024/11/21
- 50/361: gnu: python-billiard: Add missing inputs., guix-commits, 2024/11/21
- 78/361: gnu: python-send2trash: Update to 1.8.2., guix-commits, 2024/11/21
- 101/361: gnu: python-openapi-schema-validator: Update to 0.6.2., guix-commits, 2024/11/21
- 96/361: gnu: Add python-jupyter-events., guix-commits, 2024/11/21
- 128/361: gnu: python-pycurl: Update to 7.45.3., guix-commits, 2024/11/21