[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
137/204: gnu: python-uvicorn: Update to 0.17.6.
From: |
guix-commits |
Subject: |
137/204: gnu: python-uvicorn: Update to 0.17.6. |
Date: |
Wed, 20 Apr 2022 02:03:34 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit dd77071520363f2f5f9a99decbe39788e372add5
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Apr 18 00:11:32 2022 -0400
gnu: python-uvicorn: Update to 0.17.6.
* gnu/packages/python-web.scm (python-uvicorn): Update to 0.17.6.
[phases]{check}: Delete extraneous add-installed-pythonpath and
inputs/outputs
arguments. Add the '-o' 'asyncio_mode=auto' option to pytest invocation,
and
skip two tests.
[native-inputs]: Add python-httpx-bootstrap and python-pytest-asyncio.
[propagated-inputs]: Add python-asgiref and python-dotenv.
---
gnu/packages/python-web.scm | 29 +++++++++++++++++++++--------
1 file changed, 21 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index d33215424c..adda4ab607 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5014,7 +5014,7 @@ and fairly speedy.")
(define-public python-uvicorn
(package
(name "python-uvicorn")
- (version "0.13.2")
+ (version "0.17.6")
(source
(origin
;; PyPI tarball has no tests.
@@ -5024,20 +5024,33 @@ and fairly speedy.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "04zgmp9z46k72ay6cz7plga6d3w3a6x41anabm7ramp7jdqf6na9"))))
+ (base32 "0npwls02nhna2lyw2nksxij16l9agf12c9f42pvxb5yrpi9l16c8"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
- (lambda* (#:key inputs outputs tests? #:allow-other-keys)
- (add-installed-pythonpath inputs outputs)
- (invoke "pytest" "-vv"))))))
+ (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-pytest python-pytest-mock python-requests
- python-trustme python-wsproto))
+ (list python-httpx-bootstrap
+ python-pytest
+ python-pytest-asyncio
+ python-pytest-mock
+ python-requests
+ python-trustme
+ python-wsproto))
(propagated-inputs
- (list python-click
+ (list python-asgiref
+ python-click
+ python-dotenv
python-h11
python-httptools
python-pyyaml
- 198/204: gnu: emacsy: Use webkitgtk-with-libsoup2., (continued)
- 198/204: gnu: emacsy: Use webkitgtk-with-libsoup2., guix-commits, 2022/04/20
- 203/204: gnu: python-flask-login: Update to 0.6.0., guix-commits, 2022/04/20
- 113/204: gnu: python-nbconvert: Update to 6.5.0., guix-commits, 2022/04/20
- 117/204: gnu: python-notebook: Update to 6.4.10., guix-commits, 2022/04/20
- 118/204: gnu: Add python-nbdime., guix-commits, 2022/04/20
- 119/204: gnu: Add python-docrepr., guix-commits, 2022/04/20
- 128/204: gnu: Add python-strict-rfc3339., guix-commits, 2022/04/20
- 129/204: gnu: Add python-rfc3339-validator., guix-commits, 2022/04/20
- 134/204: gnu: Add python-httpcore-bootstrap., guix-commits, 2022/04/20
- 135/204: gnu: Add python-httpx-bootstrap., guix-commits, 2022/04/20
- 137/204: gnu: python-uvicorn: Update to 0.17.6.,
guix-commits <=
- 149/204: gnu: python-numpy: Update to 1.21.6 and parallelize build/tests., guix-commits, 2022/04/20
- 83/204: gnu: Add python-compreffor., guix-commits, 2022/04/20
- 121/204: gnu: Add python-pep621., guix-commits, 2022/04/20
- 130/204: gnu: Add python-openapi-schema-validator., guix-commits, 2022/04/20
- 136/204: gnu: python-httpx: Update to 0.22.0., guix-commits, 2022/04/20
- 140/204: gnu: python-sqlalchemy: Update to 1.4.35., guix-commits, 2022/04/20
- 141/204: gnu: Add python-pecan., guix-commits, 2022/04/20
- 142/204: gnu: Add python-aioredis., guix-commits, 2022/04/20
- 152/204: gnu: python-pandas: Build and run tests in parallel., guix-commits, 2022/04/20
- 155/204: gnu: python-pynndescent: Update to 0.5.6., guix-commits, 2022/04/20