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

commit 43c9309adfa4234adf67fbdcbd206c35aa79407d
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Mon Jul 14 21:31:42 2025 +0100

    gnu: python-aiounittest: Update to 1.5.0.
    
    * gnu/packages/check.scm (python-aiounittest): Update to 1.5.0.
      [build-system]: Use pyproject.
      [arguments] <phases>: Use default 'check.
      [native-inputs]: Remove python-coverage and python-nose; add
      python-pytest and python-setuptools.
    
    Change-Id: I9331b74bf1a0405c74aca2480a151c10fca8490b
---
 gnu/packages/check.scm | 38 +++++++++++++++-----------------------
 1 file changed, 15 insertions(+), 23 deletions(-)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index ff356dfeaa..d25aa5efec 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -4146,31 +4146,23 @@ system.  The code under test requires no modification 
to work with pyfakefs.")
 (define-public python-aiounittest
   (package
     (name "python-aiounittest")
-    (version "1.4.2")
-    ;; Pypi package lacks tests.
+    (version "1.5.0")
     (source
-     (origin (method git-fetch)
-             (uri (git-reference
-                   (url "https://github.com/kwarunek/aiounittest.git";)
-                   (commit version)))
-             (file-name (git-file-name name version))
-             (sha256
-              (base32
-               "0srahyzrk5awfh4rmppvqkblfmiavdklxl9i5mcr8gl7ahiwwl7f"))))
-    (build-system python-build-system)
-    (arguments
-     '(#:phases (modify-phases %standard-phases
-                  (replace 'check
-                    (lambda* (#:key tests? #:allow-other-keys)
-                      (if tests?
-                          (invoke "nosetests" "-v")
-                          (format #t "test suite not run~%"))
-                      #t)))))
-    (propagated-inputs (list python-wrapt))
+     (origin
+       (method git-fetch) ;no tets in PyPI archive
+       (uri (git-reference
+              (url "https://github.com/kwarunek/aiounittest.git";)
+              (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0266i5z589jh75hjzakvwcqx5shgv5zis8mr70qa209v7jjclzfd"))))
+    (build-system pyproject-build-system)
     (native-inputs
-     (list python-coverage python-nose))
-    (home-page
-     "https://github.com/kwarunek/aiounittest";)
+     (list python-pytest
+           python-setuptools))
+    (propagated-inputs
+     (list python-wrapt))
+    (home-page "https://github.com/kwarunek/aiounittest";)
     (synopsis "Test asyncio code more easily")
     (description "Aiounittest is a library that helps write tests using
 asynchronous code in Python (asyncio).")

Reply via email to