rekado pushed a commit to branch python-team
in repository guix.

commit 23b2392684fcf2f0f4ce026736cc2ed67507143c
Author: Ricardo Wurmus <rek...@elephly.net>
AuthorDate: Sun Jan 12 21:25:33 2025 +0100

    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
---
 gnu/packages/python-web.scm | 31 +++++++++++++++++++------------
 1 file changed, 19 insertions(+), 12 deletions(-)

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

Reply via email to