mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-uvicorn: Update to 0.32.1.
* gnu/packages/python-web.scm (python-uvicorn): Update to 0.32.1. [arguments]<test-flags>: Disable multiprocess tests. <phases>: Remove 'patch-pyproject, newer version of Hatchling does like it now. Change-Id: Ie22fc5134d5e40eb4bb7e27681556fc88af886ef
This commit is contained in:
parent
337d2d0f9f
commit
db7da9c802
1 changed files with 9 additions and 10 deletions
|
@ -6581,7 +6581,7 @@ and fairly speedy.")
|
||||||
(define-public python-uvicorn
|
(define-public python-uvicorn
|
||||||
(package
|
(package
|
||||||
(name "python-uvicorn")
|
(name "python-uvicorn")
|
||||||
(version "0.32.0")
|
(version "0.32.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
;; PyPI tarball has no tests.
|
;; PyPI tarball has no tests.
|
||||||
|
@ -6591,19 +6591,18 @@ and fairly speedy.")
|
||||||
(commit version)))
|
(commit version)))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0csl5drf58yhih6kyl5imkkb1hsv24c99fjkzhr3pmzas0jahf1d"))))
|
(base32 "0mrp87l2d5k2dcz07wj2vysjsa99lw5xp12a1a2xiciahg04w7ib"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:test-flags
|
#:test-flags
|
||||||
'(list "-o" "asyncio_mode=auto")
|
#~(list "-o" "asyncio_mode=auto"
|
||||||
#:phases
|
;; For some reason tests stacked in infinity re-invocation loop:
|
||||||
'(modify-phases %standard-phases
|
;; AssertionError where is_alive =
|
||||||
(add-after 'unpack 'patch-pyproject
|
;; <uvicorn.supervisors.multiprocess.Process object at
|
||||||
(lambda _
|
;; 0x7ffff39b6110>.is_alive.
|
||||||
;; Hatchling doesn't like this.
|
;; Maybe this <https://github.com/encode/uvicorn/issues/2466>.
|
||||||
(substitute* "pyproject.toml"
|
"--ignore=tests/supervisors/test_multiprocess.py")))
|
||||||
((".*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