gnu: python-socketio: Update to 5.12.1.

* gnu/packages/python-web.scm (python-socketio): Update to 5.12.1.
[build-system]: Use pyproject-build-system.
[arguments]: Enable tests, but ignore asynchronous tests.
[propagated-inputs]: Remove python-aiohttp, python-requests,
python-websocket-client, python-websockets; add python-msgpack.
[native-inputs]: Add python-pytest, python-pytest-asyncio,
python-pytest-timeout, python-setuptools, python-uvicorn, and python-wheel.
[description]: Complete the sentence.

Change-Id: I3b8670d95be82729f1501f47035ada67bf5ac873
This commit is contained in:
Ricardo Wurmus 2025-01-12 21:25:33 +01:00
parent b187bd7bcd
commit 0a865dead0
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -8486,27 +8486,34 @@ fast. It allows the usage of the @code{async/await} syntax added in Python
(define-public python-socketio (define-public python-socketio
(package (package
(name "python-socketio") (name "python-socketio")
(version "5.1.0") (version "5.12.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "python-socketio" version)) (uri (pypi-uri "python_socketio" version))
(sha256 (sha256
(base32 (base32
"14vhpxdn54lz54mhcqlgcks0ssbws9gd1y7ii16a2g3gpfdc531k")))) "175sd3fdld3s477i6b3v49yhf1alsbm1vaxzq44nqrqb8wgzz682"))))
(build-system python-build-system) (build-system pyproject-build-system)
(arguments
(list #:test-flags
'(list "--timeout=60"
;; These tests freeze.
"--ignore-glob=tests/async/*")))
(propagated-inputs (propagated-inputs
(list python-aiohttp (list python-bidict python-engineio python-msgpack))
python-bidict (native-inputs
python-engineio (list python-pytest
python-requests python-pytest-asyncio
python-websocket-client python-pytest-timeout
python-websockets)) python-setuptools
(arguments '(#:tests? #f)) ; Tests not included in release tarball. python-uvicorn
python-wheel))
(home-page "https://github.com/miguelgrinberg/python-socketio/") (home-page "https://github.com/miguelgrinberg/python-socketio/")
(synopsis "Python Socket.IO server") (synopsis "Python Socket.IO server")
(description (description
"Python implementation of the Socket.IO realtime client and server.") "This package provides a Python implementation of the @code{Socket.IO}
realtime client and server.")
(license license:expat))) (license license:expat)))
(define-public python-socks (define-public python-socks