guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit b8f25726da32885c6127133c1daef56de5d25c3c
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Aug 9 17:12:40 2025 +0100
gnu: python-pytest-console-scripts: Update to 1.4.1.
* gnu/packages/python-check.scm (python-pytest-console-scripts): Update to
1.4.1.
[build-system]: Use pyproject.
[arguments] <tests-flags>: Skip 3 tests.
<phases>: Use default 'check.
[propagated-inputs]: Remove python-mock and python-pytest.
[native-inputs]: Remove python-setuptools-scm; add
python-pytest-bootstrap and python-setuptools.
Change-Id: I57a714afa0584ece0157236eb22f74a75f90cd17
---
gnu/packages/python-check.scm | 30 ++++++++++++++----------------
1 file changed, 14 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index d39af13b30..3408cc1915 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1987,29 +1987,27 @@ pytest.")
(define-public python-pytest-console-scripts
(package
(name "python-pytest-console-scripts")
- (version "1.2.1")
+ (version "1.4.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pytest-console-scripts" version))
(sha256
- (base32
- "1qsw3i2h3psyi5avwf14panx8wxqfik2z7294dy37w8ha415iwn7"))))
- (build-system python-build-system)
+ (base32 "15d8yi6g9wd7g6gkzhp0m3fpnbvnglfkhi4yxc1a5by09kc6x0js"))))
+ (build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs outputs tests? #:allow-other-keys)
- (when tests?
- (add-installed-pythonpath inputs outputs)
- (invoke "pytest" "--verbose"
- ;; This one test fails because of PATH assumptions
- "-k" "not test_elsewhere_in_the_path")))))))
- (propagated-inputs
- (list python-mock python-pytest))
+ (list
+ #:test-flags
+ #~(list "-k" (string-join
+ ;; FileNotFoundError: [Errno 2] No such file or directory:
+ ;; 'script.py'
+ (list "not test_elsewhere_in_the_path"
+ "test_shell"
+ "test_run_path")
+ " and not "))))
(native-inputs
- (list python-setuptools-scm))
+ (list python-pytest-bootstrap
+ python-setuptools))
(home-page "https://github.com/kvas-it/pytest-console-scripts")
(synopsis "Pytest plugin for testing console scripts")
(description