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

commit 851aa86ebc342a00f8247f6aa4858d4c22e065bc
Author: Hugo Buddelmeijer <[email protected]>
AuthorDate: Mon Jun 15 18:13:36 2026 +0200

    gnu: python-uvicorn: Update to 0.49.0-0.e8a31bc.
    
    * gnu/packages/python-web.scm (python-uvicorn): Update to 0.49.0-0.e8a31bc.
    [arguments]<#:test-flags>: Remove outdated flags, ignore benchmarks.
    
    Merges: guix/guix!9321
    Change-Id: I57381b1e30db3d6d25a6ced9f5f2105fcc96b866
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-web.scm | 25 ++++++++++---------------
 1 file changed, 10 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index f970dc82d7..ee0ae3881c 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -10419,32 +10419,27 @@ cython_always = true"))))))))
 (define-public python-uvicorn
   (package
     (name "python-uvicorn")
-    (version "0.40.0")
+   ;; 0.49.0 (2026-06-03), release does not work with python-websockets 16.0,
+   ;; see: <https://github.com/Kludex/uvicorn/pull/2985>.
+    (properties '((commit . "e8a31bca03254b8457c4c89596e310282cc33edc")
+                  (revision . "0")))
+    (version (git-version "0.49.0"
+                          (assoc-ref properties 'revision)
+                          (assoc-ref properties 'commit)))
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
               (url "https://github.com/encode/uvicorn";)
-              (commit version)))
+              (commit (assoc-ref properties 'commit))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0laplrb2sf9jxv4prhrsqf8kpynipqml2idqq4fr7ikij8qsz6b2"))))
+        (base32 "1vd1680a1k3jcdgc3jd5p3a6zmhz4r8bgzb7v7zhpxrkkdsisrxj"))))
     (build-system pyproject-build-system)
     (arguments
      (list
       #:test-flags
-      #~(list "-o" "asyncio_mode=auto"
-              ;; After tests have been passed successfully some sockets leave
-              ;; unclosed, causing Pytest to raise warning on teardown.
-              "-W" "ignore::ResourceWarning"
-              "-W" "ignore::pytest.PytestUnraisableExceptionWarning"
-              ;; For some reason tests stacked in infinity re-invocation loop:
-              ;; AssertionError where is_alive =
-              ;; <uvicorn.supervisors.multiprocess.Process object at
-              ;; 0x7ffff39b6110>.is_alive.
-              ;; Maybe this <https://github.com/encode/uvicorn/issues/2466>.
-              "--ignore=tests/supervisors/test_multiprocess.py"
-
+      #~(list "--ignore=tests/benchmarks"
               #$@(cond
                   ((or (target-aarch64?)
                        (target-riscv64?))

Reply via email to