[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51314] [PATCH v3 11/21] gnu: python-websocket-client: Update to 0.5
From: |
Vinicius Monego |
Subject: |
[bug#51314] [PATCH v3 11/21] gnu: python-websocket-client: Update to 0.59.0. |
Date: |
Mon, 27 Dec 2021 23:30:34 +0000 |
* 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.
---
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 39cdbafc73..8cfc4b4cb4 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.")
--
2.30.2
- [bug#51314] [PATCH v3 00/21] Add Octoprint (v3), Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 04/21] gnu: Add python-flask-assets., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 01/21] gnu: Add python-sarge., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 03/21] gnu: Add python-pyscss., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 06/21] gnu: Add python-executing., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 05/21] gnu: Add python-zipstream-new., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 02/21] gnu: Add python-pylru., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 07/21] gnu: Add python-sentry-sdk., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 08/21] gnu: Add python-pytest-doctest-custom., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 09/21] gnu: python-feedparser: Enable tests., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 11/21] gnu: python-websocket-client: Update to 0.59.0.,
Vinicius Monego <=
- [bug#51314] [PATCH v3 10/21] gnu: python-netifaces: Update to 0.11.0., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 13/21] gnu: python-watchdog: Update to 2.1.6., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 15/21] gnu: python-zeroconf: Update to 0.38.1., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 19/21] gnu: Add octoprint-firmwarecheck., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 12/21] gnu: python-pkginfo: Update to 1.8.2., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 14/21] gnu: python-colorlog: Update to 6.6.0., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 18/21] gnu: Add octoprint-pisupport., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 17/21] gnu: python-wrapt: Enable tests., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 16/21] gnu: python-wrapt: Update to 1.13.3., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 20/21] gnu: Add octoprint-filecheck., Vinicius Monego, 2021/12/27