guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 29ab189089c120b5b2c73d6c2b00d93b412c503c
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Aug 10 22:59:21 2025 +0100
gnu: python-pytest-relaxed: Fix tests.
* gnu/packages/check.scm (python-pytest-relaxed):
[arguments] <test-flags>: Skip one shaky test.
[native-inputs]: Remove python-pytest and python-wheel; add
python-pytest-bootstrap.
Change-Id: I56037bf27984dd14a7e3504aa8996e5d8748c8d4
---
gnu/packages/check.scm | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index a7908a4f3e..4395db8dc7 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -1759,10 +1759,12 @@ supports coverage of subprocesses.")
(sha256
(base32 "0j37gkgcag4rpv9g5q2n80425cs1alwx8fwncx3mv7sdgqgdgqnz"))))
(build-system pyproject-build-system)
+ (arguments
+ ;; Shaky tests with Pytest@8
+ (list #:test-flags #~(list "-k" "not test_skips_pytest_fixture")))
(native-inputs
- (list python-pytest
- python-setuptools
- python-wheel))
+ (list python-pytest-bootstrap
+ python-setuptools))
(propagated-inputs
(list python-decorator))
(home-page "https://github.com/bitprophet/pytest-relaxed")