diff options
| author | Hugo Buddelmeijer <hugo@buddelmeijer.nl> | 2026-06-15 18:13:36 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-08-08 23:02:02 +0100 |
| commit | 4f26735e754690cd59ed4c8ca9a344dc98c55f50 (patch) | |
| tree | ffa0cb9814cd64eb50ee6043d423ad76b1d40746 /gnu/packages/python-web.scm | |
| parent | a8a59a3dc6b970ab1f8e776f8031cb4e01275255 (diff) | |
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 <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
| -rw-r--r-- | gnu/packages/python-web.scm | 25 |
1 files changed, 10 insertions, 15 deletions
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")))))))) | |||
| 10473 | (define-public python-uvicorn | 10473 | (define-public python-uvicorn |
| 10474 | (package | 10474 | (package |
| 10475 | (name "python-uvicorn") | 10475 | (name "python-uvicorn") |
| 10476 | (version "0.40.0") | 10476 | ;; 0.49.0 (2026-06-03), release does not work with python-websockets 16.0, |
| 10477 | ;; see: <https://github.com/Kludex/uvicorn/pull/2985>. | ||
| 10478 | (properties '((commit . "e8a31bca03254b8457c4c89596e310282cc33edc") | ||
| 10479 | (revision . "0"))) | ||
| 10480 | (version (git-version "0.49.0" | ||
| 10481 | (assoc-ref properties 'revision) | ||
| 10482 | (assoc-ref properties 'commit))) | ||
| 10477 | (source | 10483 | (source |
| 10478 | (origin | 10484 | (origin |
| 10479 | (method git-fetch) | 10485 | (method git-fetch) |
| 10480 | (uri (git-reference | 10486 | (uri (git-reference |
| 10481 | (url "https://github.com/encode/uvicorn") | 10487 | (url "https://github.com/encode/uvicorn") |
| 10482 | (commit version))) | 10488 | (commit (assoc-ref properties 'commit)))) |
| 10483 | (file-name (git-file-name name version)) | 10489 | (file-name (git-file-name name version)) |
| 10484 | (sha256 | 10490 | (sha256 |
| 10485 | (base32 "0laplrb2sf9jxv4prhrsqf8kpynipqml2idqq4fr7ikij8qsz6b2")))) | 10491 | (base32 "1vd1680a1k3jcdgc3jd5p3a6zmhz4r8bgzb7v7zhpxrkkdsisrxj")))) |
| 10486 | (build-system pyproject-build-system) | 10492 | (build-system pyproject-build-system) |
| 10487 | (arguments | 10493 | (arguments |
| 10488 | (list | 10494 | (list |
| 10489 | #:test-flags | 10495 | #:test-flags |
| 10490 | #~(list "-o" "asyncio_mode=auto" | 10496 | #~(list "--ignore=tests/benchmarks" |
| 10491 | ;; After tests have been passed successfully some sockets leave | ||
| 10492 | ;; unclosed, causing Pytest to raise warning on teardown. | ||
| 10493 | "-W" "ignore::ResourceWarning" | ||
| 10494 | "-W" "ignore::pytest.PytestUnraisableExceptionWarning" | ||
| 10495 | ;; For some reason tests stacked in infinity re-invocation loop: | ||
| 10496 | ;; AssertionError where is_alive = | ||
| 10497 | ;; <uvicorn.supervisors.multiprocess.Process object at | ||
| 10498 | ;; 0x7ffff39b6110>.is_alive. | ||
| 10499 | ;; Maybe this <https://github.com/encode/uvicorn/issues/2466>. | ||
| 10500 | "--ignore=tests/supervisors/test_multiprocess.py" | ||
| 10501 | |||
| 10502 | #$@(cond | 10497 | #$@(cond |
| 10503 | ((or (target-aarch64?) | 10498 | ((or (target-aarch64?) |
| 10504 | (target-riscv64?)) | 10499 | (target-riscv64?)) |
