guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: python-watchgod: Update to 0.8.1.


From: guix-commits
Subject: 01/02: gnu: python-watchgod: Update to 0.8.1.
Date: Wed, 26 Apr 2023 16:55:25 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 4ea332cd5068df74e4bfff52e84cf128b510e221
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Apr 26 22:52:05 2023 +0200

    gnu: python-watchgod: Update to 0.8.1.
    
    * gnu/packages/python-xyz.scm (python-watchgod): Update to 0.8.1.
    [build-system]: Use pyproject-build-system.
    [arguments]: Specify #:test-flags instead of overwriting 'check phase.
    [native-inputs]: Add python-anyio.
---
 gnu/packages/python-xyz.scm | 19 ++++++++-----------
 1 file changed, 8 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0abfa226f4..16032ab754 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -26251,7 +26251,7 @@ but portable.")
 (define-public python-watchgod
   (package
     (name "python-watchgod")
-    (version "0.7")
+    (version "0.8.1")
     (source
      (origin
        ;; There are no tests in the PyPI tarball.
@@ -26261,18 +26261,15 @@ but portable.")
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1w2xsidwp9n4giqhja0bzw7rwrh01db0kdxf2n54mv3dkx545jpq"))))
-    (build-system python-build-system)
+        (base32 "0zm9xd2qf3d74l67yv8j3zhhhvi0vp25vhkg46l9d7flh9m04qrp"))))
+    (build-system pyproject-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key tests? #:allow-other-keys)
-             (when tests?
-               (invoke "pytest"  "-vv"
-                       "-o" "asyncio_mode=auto")))))))
+     (list #:test-flags '(list "-o" "asyncio_mode=auto"
+                               ;; PytestUnraisableExceptionWarning
+                               "-k" "not test_watch_log and not test_awatch")))
     (native-inputs
-     (list python-coverage
+     (list python-anyio
+           python-coverage
            python-pygments
            python-pytest
            python-pytest-asyncio



reply via email to

[Prev in Thread] Current Thread [Next in Thread]