[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
143/242: gnu: python-uvicorn: Update to 0.17.6.
From: |
guix-commits |
Subject: |
143/242: gnu: python-uvicorn: Update to 0.17.6. |
Date: |
Wed, 11 May 2022 18:03:18 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit caf496eb55de34e9f64bfb73265d46c014bfd8b3
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 3e024b4fae..41de186b6f 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
- 123/242: gnu: Add python-sphinx-sitemap., (continued)
- 123/242: gnu: Add python-sphinx-sitemap., guix-commits, 2022/05/11
- 124/242: gnu: texlive-fontspec: Add missing propagated inputs., guix-commits, 2022/05/11
- 130/242: gnu: Add texlive-cm-lgc., guix-commits, 2022/05/11
- 131/242: gnu: Add texlive-xindy., guix-commits, 2022/05/11
- 135/242: gnu: Add python-rfc3339-validator., guix-commits, 2022/05/11
- 133/242: gnu: python-websockets: Update to 10.3 and enable tests., guix-commits, 2022/05/11
- 139/242: gnu: python-httpcore: Update to 0.14.7 and enable tests., guix-commits, 2022/05/11
- 153/242: gnu: Add python-jupyterlab-server., guix-commits, 2022/05/11
- 142/242: gnu: python-httpx: Update to 0.22.0., guix-commits, 2022/05/11
- 151/242: gnu: Add python-dictpath., guix-commits, 2022/05/11
- 143/242: gnu: python-uvicorn: Update to 0.17.6.,
guix-commits <=
- 154/242: gnu: python-hypothesis-6.23: Update to 6.43.3., guix-commits, 2022/05/11
- 155/242: gnu: python-numpy: Update to 1.21.6 and parallelize build/tests., guix-commits, 2022/05/11
- 148/242: gnu: Add python-aioredis., guix-commits, 2022/05/11
- 156/242: gnu: python-llvmlite: Update to 0.38.0., guix-commits, 2022/05/11
- 160/242: gnu: python-scikit-learn: Parallelize build and test suite., guix-commits, 2022/05/11
- 159/242: gnu: python-pandas: Update to 1.4.2., guix-commits, 2022/05/11
- 161/242: gnu: python-pynndescent: Update to 0.5.6., guix-commits, 2022/05/11
- 163/242: gnu: python-jupyter-server: Update to 1.16.0., guix-commits, 2022/05/11
- 164/242: gnu: python-voila: Update to 0.3.5., guix-commits, 2022/05/11
- 165/242: gnu: python-sparqlwrapper: Update to 2.0.0., guix-commits, 2022/05/11