mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-uvicorn: Update to 0.32.0.
* gnu/packages/python-web.scm (python-uvicorn): Update to 0.32.0. [arguments]: Enable more tests; add phase 'patch-pyproject. Change-Id: I7b1efb0a8319d02a8ea83a03299b1c2fa3adf0aa
This commit is contained in:
parent
603bee5f3b
commit
72ef08da9d
1 changed files with 12 additions and 10 deletions
|
@ -6515,7 +6515,7 @@ and fairly speedy.")
|
||||||
(define-public python-uvicorn
|
(define-public python-uvicorn
|
||||||
(package
|
(package
|
||||||
(name "python-uvicorn")
|
(name "python-uvicorn")
|
||||||
(version "0.23.2")
|
(version "0.32.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
;; PyPI tarball has no tests.
|
;; PyPI tarball has no tests.
|
||||||
|
@ -6525,17 +6525,19 @@ and fairly speedy.")
|
||||||
(commit version)))
|
(commit version)))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1qa4cwifss9cnasfr0ffn76rvh7wcfjkl6nw99yz43rjmdpj3h7p"))))
|
(base32 "0csl5drf58yhih6kyl5imkkb1hsv24c99fjkzhr3pmzas0jahf1d"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:test-flags
|
(list
|
||||||
#~(list "-o" "asyncio_mode=auto"
|
#:test-flags
|
||||||
"-k"
|
'(list "-o" "asyncio_mode=auto")
|
||||||
(string-join
|
#:phases
|
||||||
;; These error or fail due to networking.
|
'(modify-phases %standard-phases
|
||||||
'("not test_keepalive"
|
(add-after 'unpack 'patch-pyproject
|
||||||
"not test_bind_unix_socket_works_with_reload_or_workers")
|
(lambda _
|
||||||
" and "))))
|
;; Hatchling doesn't like this.
|
||||||
|
(substitute* "pyproject.toml"
|
||||||
|
((".*Programming Language :: Python :: 3.13.*") "")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-a2wsgi
|
(list python-a2wsgi
|
||||||
python-hatchling
|
python-hatchling
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue