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 @@ hard or impossible to fix in cssselect.")
(define-public python-uvloop (define-public python-uvloop
(package (package
(name "python-uvloop") (name "python-uvloop")
(version "0.16.0") (version "0.21.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "uvloop" version)) (uri (pypi-uri "uvloop" version))
(sha256 (sha256
(base32 "0a0jzwrhkszknh14alflrp1db6dyjp7ph730f9yc5lb7gc6c4jzp")) (base32 "1qq46ym3ymzfn4j6fnykfmr1f4qnb7x7p15dlw37hi38v87jpw9v"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
'(begin (delete-file-recursively "vendor") '(begin (delete-file-recursively "vendor")
(delete-file "uvloop/loop.c"))))) (delete-file "uvloop/loop.c")))))
(build-system python-build-system) (build-system pyproject-build-system)
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
@ -6391,14 +6391,19 @@ hard or impossible to fix in cssselect.")
;; It looks like pytest is preventing ;; It looks like pytest is preventing
;; custom stdout/stderr redirection, ;; custom stdout/stderr redirection,
;; even with -s. ;; 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 (native-inputs
(list python-aiohttp (list python-aiohttp
python-cython python-cython-3
python-psutil python-psutil
python-pyopenssl python-pyopenssl
python-pytest python-pytest
python-pytest-timeout)) python-pytest-timeout
python-setuptools
python-wheel))
(inputs (inputs
(list libuv)) (list libuv))
(home-page "https://github.com/MagicStack/uvloop") (home-page "https://github.com/MagicStack/uvloop")