From 4f26735e754690cd59ed4c8ca9a344dc98c55f50 Mon Sep 17 00:00:00 2001 From: Hugo Buddelmeijer Date: Mon, 15 Jun 2026 18:13:36 +0200 Subject: 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 --- gnu/packages/python-web.scm | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index d35a6e700a2..8abaa1ada5c 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -10473,32 +10473,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: . + (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 = - ;; .is_alive. - ;; Maybe this . - "--ignore=tests/supervisors/test_multiprocess.py" - + #~(list "--ignore=tests/benchmarks" #$@(cond ((or (target-aarch64?) (target-riscv64?)) -- cgit v1.2.3