@@ -6336,8 +6336,32 @@ (define-public python-warcio
files.")
(license license:asl2.0))))
+(define-public python-websockets-12
+ (package
+ (name "python-websockets")
+ (version "12.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "websockets" version))
+ (sha256
+ (base32 "06wbik9ksfbzafq0fla3r2pjvgpy3c0qrr87w3hhs9kcpfy9rpw1"))))
+ (build-system pyproject-build-system)
+ (arguments (list #:tests? #f))
+ (home-page "https://github.com/aaugustin/websockets")
+ (synopsis
+ "Python implementation of the WebSocket Protocol (RFC 6455 & 7692)")
+ (description
+ "@code{websockets} is a library for building WebSocket servers and clients
+in Python with a focus on correctness and simplicity.
+
+Built on top of @code{asyncio}, Python's standard asynchronous I/O framework,
+it provides an elegant coroutine-based API.")
+ (license license:bsd-3)))
+
(define-public python-websockets
(package
+ (inherit python-websockets-12)
(name "python-websockets")
(version "11.0.3")
(source
@@ -6356,17 +6380,7 @@ (define-public python-websockets
#~(modify-phases %standard-phases
(add-before 'check 'extend-test-timeout
(lambda _
- (setenv "WEBSOCKETS_TESTS_TIMEOUT_FACTOR" "10"))))))
- (home-page "https://github.com/aaugustin/websockets")
- (synopsis
- "Python implementation of the WebSocket Protocol (RFC 6455 & 7692)")
- (description
- "@code{websockets} is a library for building WebSocket servers and clients
-in Python with a focus on correctness and simplicity.
-
-Built on top of @code{asyncio}, Python's standard asynchronous I/O framework,
-it provides an elegant coroutine-based API.")
- (license license:bsd-3)))
+ (setenv "WEBSOCKETS_TESTS_TIMEOUT_FACTOR" "10"))))))))
(define-public python-selenium
(package