[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/15: gnu: python-websocket-client: Update to 0.59.0.
From: |
guix-commits |
Subject: |
11/15: gnu: python-websocket-client: Update to 0.59.0. |
Date: |
Tue, 11 Jan 2022 12:14:18 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit 7fd7416728a1997341d286ac28e845c2b59e8f20
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Mon Dec 27 23:30:34 2021 +0000
gnu: python-websocket-client: Update to 0.59.0.
* gnu/packages/python-web.scm (python-websocket-client): Update to 0.59.0.
[source]: Update PyPI URI. Make some cosmetic changes.
[arguments]<#:phases>: Add phase 'skip-network-test.
[native-inputs]: Add python-pysocks.
[home-page]: Follow redirect.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/python-web.scm | 19 ++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index c60eebf051..aaf8a57f6f 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2413,18 +2413,27 @@ verification of the SSL peer.")
(define-public python-websocket-client
(package
(name "python-websocket-client")
- (version "0.54.0")
+ (version "0.59.0") ; tests hang on newer versions
(source
(origin
(method url-fetch)
- (uri (pypi-uri "websocket_client" version))
+ (uri (pypi-uri "websocket-client" version))
(sha256
- (base32
- "0j88zmikaypf38lvpkf4aaxrjp9j07dmy5ghj7kli0fv3p4n45g5"))))
+ (base32 "0p0cz2mdissq7iw1n7jrmsfir0jfmgs1dvnpnrx477ffx9hbsxnk"))))
(build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'skip-network-test
+ (lambda _
+ ;; This test requires networking.
+ (substitute* "websocket/tests/test_http.py"
+ (("def testConnect") "def _testConnect")))))))
+ (native-inputs
+ (list python-pysocks))
(propagated-inputs
(list python-six))
- (home-page "https://github.com/liris/websocket-client")
+ (home-page "https://github.com/websocket-client/websocket-client")
(synopsis "WebSocket client for Python")
(description "The Websocket-client module provides the low level APIs for
WebSocket usage in Python programs.")
- 01/15: gnu: Add python-sarge., (continued)
- 01/15: gnu: Add python-sarge., guix-commits, 2022/01/11
- 02/15: gnu: Add python-pylru., guix-commits, 2022/01/11
- 03/15: gnu: Add python-pyscss., guix-commits, 2022/01/11
- 10/15: gnu: python-netifaces: Update to 0.11.0., guix-commits, 2022/01/11
- 12/15: gnu: python-pkginfo: Update to 1.8.2., guix-commits, 2022/01/11
- 14/15: gnu: python-colorlog: Update to 6.6.0., guix-commits, 2022/01/11
- 05/15: gnu: Add python-zipstream-new., guix-commits, 2022/01/11
- 06/15: gnu: Add python-executing., guix-commits, 2022/01/11
- 09/15: gnu: python-feedparser: Enable tests., guix-commits, 2022/01/11
- 08/15: gnu: Add python-pytest-doctest-custom., guix-commits, 2022/01/11
- 11/15: gnu: python-websocket-client: Update to 0.59.0.,
guix-commits <=
- 13/15: gnu: python-watchdog: Update to 2.1.6., guix-commits, 2022/01/11
- 15/15: gnu: python-zeroconf: Update to 0.38.1., guix-commits, 2022/01/11
- 07/15: gnu: Add python-sentry-sdk., guix-commits, 2022/01/11