gnu: python-uvloop: Update to 0.21.0.

* gnu/packages/python-web.scm (python-uvloop): Update to 0.21.0.
[build-system]: Swap to pyproject-build-system.
[arguments]<test-flags>: Disable one test.
[native-inputs]: Remove python-cython; add python-cython-3,
python-setuptools, and python-wheel.

Change-Id: I1124bbfcfc3f333448cb3c08f9d2b08b61a0a46e
This commit is contained in:
Sharlatan Hellseher 2024-11-26 17:37:41 +00:00
parent 7938fe7662
commit e106fcfba2
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -6344,18 +6344,18 @@ (define-public python-cssselect2
(define-public python-uvloop
(package
(name "python-uvloop")
(version "0.16.0")
(version "0.21.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "uvloop" version))
(sha256
(base32 "0a0jzwrhkszknh14alflrp1db6dyjp7ph730f9yc5lb7gc6c4jzp"))
(base32 "1qq46ym3ymzfn4j6fnykfmr1f4qnb7x7p15dlw37hi38v87jpw9v"))
(modules '((guix build utils)))
(snippet
'(begin (delete-file-recursively "vendor")
(delete-file "uvloop/loop.c")))))
(build-system python-build-system)
(build-system pyproject-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
@ -6391,14 +6391,19 @@ (define-public python-uvloop
;; It looks like pytest is preventing
;; custom stdout/stderr redirection,
;; even with -s.
"and not test_process_streams_redirect "))))))))
"and not test_process_streams_redirect "
;; FileNotFoundError: [Errno 2] No such file or
;; directory
"and not test_process_env_2"))))))))
(native-inputs
(list python-aiohttp
python-cython
python-cython-3
python-psutil
python-pyopenssl
python-pytest
python-pytest-timeout))
python-pytest-timeout
python-setuptools
python-wheel))
(inputs
(list libuv))
(home-page "https://github.com/MagicStack/uvloop")