guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit a1e109ab46539f22cecbbb719b0a909055e556c8
Author: Sharlatan Hellseher <sharlata...@gmail.com>
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 4d7d003436..f7a8cb89fb 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -1761,10 +1761,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";)

Reply via email to