guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 5330f643722a444698e83656cf42d446e722f0aa
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Jan 18 14:13:46 2026 +0100
gnu: python-pep517: Fix build.
* gnu/packages/python-xyz.scm (python-pep517)
[arguments]<#:phases>: Drop 'check phase replacement.
<#:test-flags>: Ignore configuration, a previously deleted test file,
and deselect a failing test.
[native-inputs]: Inherit from python-pep517-bootstrap.
Change-Id: If37dc5108b96729fc9c09ac3929b9819c79c80a1
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/python-xyz.scm | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9e81ad83b1..5107c84124 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15968,14 +15968,15 @@ versions number match PEP 440.")
(inherit python-pep517-bootstrap)
(name "python-pep517")
(arguments
- '(#:phases (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (delete-file "pytest.ini")
- (delete-file "tests/test_meta.py")
- (if tests?
- (invoke "pytest") #t))))))
- (native-inputs (list python-mock python-pytest python-testpath))))
+ (list
+ #:test-flags
+ #~(list "-c" "/dev/null"
+ "--ignore=tests/test_meta.py"
+ ;; Incompatible with current setuptools.
+ "--deselect=tests/test_call_hooks.py::test_setup_py")))
+ (native-inputs
+ (modify-inputs (package-native-inputs python-pep517-bootstrap)
+ (append python-mock python-pytest python-testpath)))))
(define-public python-pyproject-metadata
(package