[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
180/361: gnu: python-pytest-toolbox: Move to pyproject-build-system.
From: |
guix-commits |
Subject: |
180/361: gnu: python-pytest-toolbox: Move to pyproject-build-system. |
Date: |
Fri, 22 Nov 2024 06:00:36 -0500 (EST) |
andreas pushed a commit to branch python-team
in repository guix.
commit a0e61f534f316c63d53933c44799f4e8794b7945
Author: Nicolas Graves <ngraves@ngraves.fr>
AuthorDate: Fri May 10 00:53:45 2024 +0200
gnu: python-pytest-toolbox: Move to pyproject-build-system.
* gnu/packages/python-check.scm (python-pytest-toolbox):
[build-system]: Move to pyproject-build-system.
[arguments]<#:phases>: Restrict 'check phase replacement to
'pre-check phase.
Change-Id: Id0804db32d30314076d1e411711881bbe3a3f6e1
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/python-check.scm | 20 +++++++++-----------
1 file changed, 9 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 0be97411cb..aa915731fd 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1606,18 +1606,16 @@ service processes for your tests with pytest.")
(file-name (git-file-name name version))
(sha256
(base32 "1wqkr3g5gmqdxmhzfsxbwy8pm3cadaj6a8cxq58w9bacly4hqbh0"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
- '(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? inputs outputs #:allow-other-keys)
- (when tests?
- (substitute* "setup.cfg"
- ((".*timeout.*") ""))
- ;; Make the installed plugin discoverable by Pytest.
- (add-installed-pythonpath inputs outputs)
- (invoke "pytest" "-vv")))))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'pre-check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (substitute* "setup.cfg"
+ ((".*timeout.*") ""))))))))
(native-inputs
(list python-pydantic python-pytest python-pytest-isort))
(home-page "https://github.com/samuelcolvin/pytest-toolbox")
- 70/361: gnu: Add python-fqdn., (continued)
- 70/361: gnu: Add python-fqdn., guix-commits, 2024/11/22
- 71/361: gnu: Add python-overrides., guix-commits, 2024/11/22
- 61/361: gnu: python-nbclient: Add Setuptools and Wheel., guix-commits, 2024/11/22
- 82/361: gnu: python-prometheus-client: Update to 0.20.0., guix-commits, 2024/11/22
- 95/361: gnu: python-notebook: Update to 6.5.7., guix-commits, 2024/11/22
- 99/361: gnu: python-jupyter-server-mathjax: Update to 0.2.6., guix-commits, 2024/11/22
- 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 <=
- 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, 2024/11/22
- 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