[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
44/55: gnu: python-uvicorn: Update to 0.23.2.
From: |
guix-commits |
Subject: |
44/55: gnu: python-uvicorn: Update to 0.23.2. |
Date: |
Thu, 21 Sep 2023 13:31:39 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 0e25cba87d7fa915b4e357e475759e10b953cac6
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Mon Sep 11 21:50:59 2023 +0800
gnu: python-uvicorn: Update to 0.23.2.
* gnu/packages/python-web.scm (python-uvicorn): Update to 0.23.2.
[build-system]: Switch to PYPROJECT-BUILD-SYSTEM.
[arguments]: Adjust accordingly.
[native-inputs]: Add PYTHON-A2WSGI and PYTHON-HATCHLING.
[propagated-inputs]: Remove PYTHON-ASGIREF.
---
gnu/packages/python-web.scm | 35 ++++++++++++++++-------------------
1 file changed, 16 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index ca65ea162f..6aaa7504c4 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5784,7 +5784,7 @@ and fairly speedy.")
(define-public python-uvicorn
(package
(name "python-uvicorn")
- (version "0.17.6")
+ (version "0.23.2")
(source
(origin
;; PyPI tarball has no tests.
@@ -5794,23 +5794,21 @@ and fairly speedy.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0npwls02nhna2lyw2nksxij16l9agf12c9f42pvxb5yrpi9l16c8"))))
- (build-system python-build-system)
+ (base32 "1qa4cwifss9cnasfr0ffn76rvh7wcfjkl6nw99yz43rjmdpj3h7p"))))
+ (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"
- "-k"
- (string-append
- ;; These error or fail due to networking.
- "not test_keepalive "
- "and not test_bind_unix_socket_works_with_"
- "reload_or_workers "))))))))
- (native-inputs
- (list python-httpx-bootstrap
+ (list #:test-flags
+ #~(list "-o" "asyncio_mode=auto"
+ "-k"
+ (string-join
+ ;; These error or fail due to networking.
+ '("not test_keepalive"
+ "not test_bind_unix_socket_works_with_reload_or_workers")
+ " and "))))
+ (native-inputs
+ (list python-a2wsgi
+ python-hatchling
+ python-httpx-bootstrap
python-pytest
python-pytest-asyncio
python-pytest-mock
@@ -5818,8 +5816,7 @@ and fairly speedy.")
python-trustme
python-wsproto))
(propagated-inputs
- (list python-asgiref
- python-click
+ (list python-click
python-dotenv
python-h11
python-httptools
- 17/55: gnu: Add python-dj-email-url., (continued)
- 17/55: gnu: Add python-dj-email-url., guix-commits, 2023/09/21
- 21/55: gnu: Add python-django-configurations., guix-commits, 2023/09/21
- 23/55: gnu: python-django-picklefield: Update to 3.1.0., guix-commits, 2023/09/21
- 27/55: gnu: graphite-web: Update to 1.1.10., guix-commits, 2023/09/21
- 28/55: gnu: Remove python-django@2.2., guix-commits, 2023/09/21
- 29/55: gnu: python-flex: Update to 6.14.1., guix-commits, 2023/09/21
- 34/55: gnu: python-django@3.2: Update to 3.2.21., guix-commits, 2023/09/21
- 35/55: gnu: python-asgiref: Update to 3.7.2., guix-commits, 2023/09/21
- 40/55: gnu: python-distlib: Don't reference the implicit bash input., guix-commits, 2023/09/21
- 52/55: gnu: python-libnacl: Update to 2.1.0., guix-commits, 2023/09/21
- 44/55: gnu: python-uvicorn: Update to 0.23.2.,
guix-commits <=
- 49/55: gnu: python-incremental: Update to 22.10.0., guix-commits, 2023/09/21
- 46/55: gnu: python-psycopg: Update to 3.1.10., guix-commits, 2023/09/21
- 48/55: gnu: python-txaio: Update to 23.1.1., guix-commits, 2023/09/21
- 11/55: gnu: Add python-sphinx-basic-ng., guix-commits, 2023/09/21
- 16/55: services: nftables: Add 'configuration' action., guix-commits, 2023/09/21
- 22/55: gnu: Add python-django-ninja., guix-commits, 2023/09/21
- 55/55: gnu: python-bwapy: Fix typo., guix-commits, 2023/09/21
- 02/55: gnu: Add python-dirty-equals., guix-commits, 2023/09/21
- 07/55: gnu: Add python-html5tagger., guix-commits, 2023/09/21
- 09/55: gnu: Add python-pyproject-hooks., guix-commits, 2023/09/21