[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
187/231: gnu: python-pytest-toolbox: Move to pyproject-build-system.
From: |
guix-commits |
Subject: |
187/231: gnu: python-pytest-toolbox: Move to pyproject-build-system. |
Date: |
Tue, 15 Oct 2024 17:11:26 -0400 (EDT) |
sharlatan pushed a commit to branch python-team-old
in repository guix.
commit 15f90081bee9d3d5a6acc273a7445c209ebdbd58
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 f2a355bb41..ccda2042fb 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1481,18 +1481,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")
- 163/231: gnu: gunicorn: Move to pyproject-build-system., (continued)
- 163/231: gnu: gunicorn: Move to pyproject-build-system., guix-commits, 2024/10/15
- 162/231: gnu: python-scikit-rf: Fix tests., guix-commits, 2024/10/15
- 164/231: gnu: python-arrow: Move to pyproject-build-system., guix-commits, 2024/10/15
- 165/231: gnu: dynaconf: Improve package style., guix-commits, 2024/10/15
- 167/231: gnu: python-pypujs: Improve package style., guix-commits, 2024/10/15
- 169/231: gnu: python-nbval: Move to pyproject-build-system., guix-commits, 2024/10/15
- 172/231: gnu: gunicorn: Update to 21.2.0., guix-commits, 2024/10/15
- 166/231: gnu: zulip-term: Move to pyproject-build-system., guix-commits, 2024/10/15
- 179/231: gnu: python-parse-type: Move to pyproject-build-system., guix-commits, 2024/10/15
- 182/231: gnu: python-sphinx-autodoc-typehints: Move to pyproject-build-system., guix-commits, 2024/10/15
- 187/231: gnu: python-pytest-toolbox: Move to pyproject-build-system.,
guix-commits <=
- 189/231: gnu: python-docspec-python: Move to pyproject-build-system., guix-commits, 2024/10/15
- 193/231: gnu: python-jaraco-packaging: Move to pyproject-build-system., guix-commits, 2024/10/15
- 184/231: gnu: abjad-ext-rmakers: Update to 3.19., guix-commits, 2024/10/15
- 185/231: gnu: abjad-ext-nauert: Update to 3.19., guix-commits, 2024/10/15
- 196/231: gnu: Add ghc-xcb-types., guix-commits, 2024/10/15
- 197/231: gnu: python-sparse: Move to pyproject-build-system., guix-commits, 2024/10/15
- 198/231: gnu: python-pytest-enabler: Break dependency cycle., guix-commits, 2024/10/15
- 204/231: gnu: python-flake8-isort: Move to pyproject-build-system., guix-commits, 2024/10/15
- 207/231: gnu: python-cmd2: Move to pyproject-build-system., guix-commits, 2024/10/15
- 210/231: gnu: python-uqbar: Upgrade to python-team branch., guix-commits, 2024/10/15