[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: |
Thu, 21 Nov 2024 06:29:13 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 997498e18816880c95a72ad1e0fae41e1319462d
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")
- 73/361: gnu: Add python-pytest-jupyter., (continued)
- 73/361: gnu: Add python-pytest-jupyter., guix-commits, 2024/11/21
- 86/361: gnu: python-jupyter-core: Update to 5.7.2., guix-commits, 2024/11/21
- 80/361: gnu: python-jsonschema: Update to 4.22.0., guix-commits, 2024/11/21
- 67/361: gnu: Add python-rfc3986-validator., guix-commits, 2024/11/21
- 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 <=
- 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, 2024/11/21
- 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