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

commit 7eb1432477539a42e959cdb80fe6ae00797dff11
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Nov 2 05:00:50 2025 +0100

    gnu: python-pyro4: Correct package.
    
    * gnu/packages/python-xyz.scm (python-pyro4)
    [native-inputs]: Reintroduce python-pytest.
    [arguments]<#:test-flags>: Correct them.
    <#:phases>: Remove them.
    
    Change-Id: Icdc6b1e39a829d979b27037fda7dce632b64da4d
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 15479aba4b..d32b36b266 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -26295,7 +26295,7 @@ http://semver.org/}.";)
            #~(list "-k"
                    (string-join
                     ;; Those tests require network.
-                    (list "testBCstart"
+                    (list "not testBCstart"
                           "testAutoClean"
                           "testDaemonPyroObj"
                           "testLookupAndRegister"
@@ -26315,18 +26315,12 @@ http://semver.org/}.";)
                           "testGetIP"
                           ;; XXX: Unclear why this test fails.
                           "testCustomClassFail")
-                    " and not "))
-           #:phases
-           #~(modify-phases %standard-phases
-               (replace 'check
-                 (lambda* (#:key tests? test-flags #:allow-other-keys)
-                   (if tests?
-                       (apply invoke "python" "-m" "unittest" test-flags)
-                       (format #t "test suite not run.~%")))))))
+                    " and not "))))
     (native-inputs
      (list python-cloudpickle
            python-dill
            python-msgpack
+           python-pytest
            python-setuptools
            python-wheel))
     (propagated-inputs

Reply via email to