[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
40/45: gnu: python-websocket-client: Update to 1.2.3.
From: |
guix-commits |
Subject: |
40/45: gnu: python-websocket-client: Update to 1.2.3. |
Date: |
Wed, 12 Jan 2022 17:58:44 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit 4ccb22802c6a7ba122dd95d01e569c613c313ddf
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Wed Jan 12 20:37:08 2022 +0100
gnu: python-websocket-client: Update to 1.2.3.
* gnu/packages/python-web.scm (python-websocket-client): Update to 1.2.3.
[arguments]: Override check phase.
[native-inputs]: Add PYTHON-WEBSOCKETS and PYTHON-PYTEST.
[propagated-inputs]: Remove.
[properties]: Remove.
(python2-websocket-client): Remove variable.
(python-websocket-client-0.59): New variable.
* gnu/packages/docker.scm (docker-compose)[inputs]: Change from
PYTHON-WEBSOCKET-CLIENT to PYTHON-WEBSOCKET-CLIENT-0.59.
---
gnu/packages/docker.scm | 2 +-
gnu/packages/python-web.scm | 33 ++++++++++++++++++---------------
2 files changed, 19 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/docker.scm b/gnu/packages/docker.scm
index dc3b8ec69f..3f52f4f8db 100644
--- a/gnu/packages/docker.scm
+++ b/gnu/packages/docker.scm
@@ -126,7 +126,7 @@ client.")
python-requests
python-six
python-texttable
- python-websocket-client))
+ python-websocket-client-0.59))
(home-page "https://www.docker.com/")
(synopsis "Multi-container orchestration for Docker")
(description "Docker Compose is a tool for defining and running
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 220a93f344..1c2211e6dd 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2414,13 +2414,13 @@ verification of the SSL peer.")
(define-public python-websocket-client
(package
(name "python-websocket-client")
- (version "0.59.0") ; tests hang on newer versions
+ (version "1.2.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "websocket-client" version))
(sha256
- (base32 "0p0cz2mdissq7iw1n7jrmsfir0jfmgs1dvnpnrx477ffx9hbsxnk"))))
+ (base32 "1xba9z6b211pandrlk2l5p8wj6gn7yfkpq1sxfbqjl6c19n8258k"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -2429,26 +2429,29 @@ verification of the SSL peer.")
(lambda _
;; This test requires networking.
(substitute* "websocket/tests/test_http.py"
- (("def testConnect") "def _testConnect")))))))
+ (("def testConnect") "def _testConnect"))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv" "websocket/tests")))))))
(native-inputs
- (list python-pysocks))
- (propagated-inputs
- (list python-six))
+ (list python-pysocks python-pytest python-websockets))
(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.")
- (properties `((python2-variant . ,(delay python2-websocket-client))))
(license license:lgpl2.1+)))
-(define-public python2-websocket-client
- (let ((base (package-with-python2
- (strip-python2-variant python-websocket-client))))
- (package/inherit base
- (native-inputs
- `(("python2-backport-ssl-match-hostname"
- ,python2-backport-ssl-match-hostname)
- ,@(package-native-inputs base))))))
+(define-public python-websocket-client-0.59
+ (package
+ (inherit python-websocket-client)
+ (version "0.59.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "websocket-client" version))
+ (sha256
+ (base32 "0p0cz2mdissq7iw1n7jrmsfir0jfmgs1dvnpnrx477ffx9hbsxnk"))))))
(define-public python-purl
(package
- 17/45: gnu: python-nbsphinx: Update to 0.8.8., (continued)
- 17/45: gnu: python-nbsphinx: Update to 0.8.8., guix-commits, 2022/01/12
- 22/45: gnu: python-isort: Update to 5.10.1., guix-commits, 2022/01/12
- 34/45: gnu: python-packaging: Add 21.3., guix-commits, 2022/01/12
- 33/45: gnu: python-oslo.config: Update to 8.7.1., guix-commits, 2022/01/12
- 25/45: gnu: python-pyls-black: Update to 0.4.7., guix-commits, 2022/01/12
- 35/45: gnu: python-oslo.utils: Update to 4.12.0., guix-commits, 2022/01/12
- 32/45: gnu: python-sphinx-gallery: Update to 0.10.1., guix-commits, 2022/01/12
- 37/45: gnu: python-oslo.log: Update to 4.6.1., guix-commits, 2022/01/12
- 38/45: gnu: python-scikit-fuzzy: Disable tests., guix-commits, 2022/01/12
- 39/45: gnu: python-sqlalchemy-utils: Update to 0.38.2., guix-commits, 2022/01/12
- 40/45: gnu: python-websocket-client: Update to 1.2.3.,
guix-commits <=
- 42/45: gnu: python-dyniterpy: Add missing inputs., guix-commits, 2022/01/12
- 45/45: gnu: python-texttable: Update to 1.6.4., guix-commits, 2022/01/12
- 44/45: gnu: python-flask-restx: Update to 0.5.1., guix-commits, 2022/01/12
- 43/45: gnu: python-duniterpy: Simplify inputs., guix-commits, 2022/01/12
- 18/45: gnu: python-pari-jupyter: Update to 1.4.0., guix-commits, 2022/01/12
- 04/45: gnu: python-readme-renderer: Update to 32.0., guix-commits, 2022/01/12
- 08/45: gnu: python-bleach: Update to 4.1.0., guix-commits, 2022/01/12
- 14/45: gnu: abjad-ext-ipython: Fix build., guix-commits, 2022/01/12
- 07/45: gnu: Remove python2-twine., guix-commits, 2022/01/12
- 31/45: gnu: python-marshmallow: Remove 3.2.1., guix-commits, 2022/01/12