[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
81/361: gnu: python-websocket-client: Update to 1.8.0.
From: |
guix-commits |
Subject: |
81/361: gnu: python-websocket-client: Update to 1.8.0. |
Date: |
Fri, 22 Nov 2024 06:00:16 -0500 (EST) |
andreas pushed a commit to branch python-team
in repository guix.
commit 2a1fd81f68ef7b2ed061d081a98caceef1fa3c44
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue May 7 17:19:12 2024 +0200
gnu: python-websocket-client: Update to 1.8.0.
* gnu/packages/python-web.scm (python-websocket-client): Update to 1.8.0.
[build-system]: Use pyproject-build-system.
[arguments]: Remove 'skip-network-test and custom 'check phase; use
#:test-flags to disable test.
[native-inputs]: Add python-setuptools and python-wheel.
Change-Id: Ib5794c64df1d9c3759c3f9a8c1d0f8642afa83c4
---
gnu/packages/python-web.scm | 29 +++++++++++++----------------
1 file changed, 13 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index a7858f083e..94fcaae76c 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3557,28 +3557,25 @@ sanitizer Rust crate.")
(define-public python-websocket-client
(package
(name "python-websocket-client")
- (version "1.2.3")
+ (version "1.8.0")
(source
(origin
(method url-fetch)
- (uri (pypi-uri "websocket-client" version))
+ (uri (pypi-uri "websocket_client" version))
(sha256
- (base32 "1xba9z6b211pandrlk2l5p8wj6gn7yfkpq1sxfbqjl6c19n8258k"))))
- (build-system python-build-system)
+ (base32 "1nn3qi5g59j55wfy2z02j6lq2cm281fq0wi406b2yqys8jgxyf9j"))))
+ (build-system pyproject-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"))))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "pytest" "-vv" "websocket/tests")))))))
+ (list
+ #:test-flags
+ ;; This test requires networking.
+ '(list "-k" "not testConnect")))
(native-inputs
- (list python-pysocks python-pytest python-websockets))
+ (list python-pysocks
+ python-pytest
+ python-setuptools
+ python-websockets
+ python-wheel))
(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
- 200/361: gnu: Add python-sphinx-autodoc-typehints-5., (continued)
- 200/361: gnu: Add python-sphinx-autodoc-typehints-5., guix-commits, 2024/11/22
- 213/361: gnu: python-warcio: Move to pyproject-build-system., guix-commits, 2024/11/22
- 222/361: gnu: python-urllib3: Update to 2.2.1., guix-commits, 2024/11/22
- 237/361: gnu: python-optree: Adjust inputs., guix-commits, 2024/11/22
- 238/361: gnu: python-parameterized-next: Adjust inputs., guix-commits, 2024/11/22
- 30/361: gnu: python-traitlets: Update to 5.14.1., guix-commits, 2024/11/22
- 33/361: gnu: Add python-rapidfuzz., guix-commits, 2024/11/22
- 72/361: gnu: Add python-hatch-jupyter-builder., guix-commits, 2024/11/22
- 76/361: gnu: python-attrs: Update to 23.2.0., guix-commits, 2024/11/22
- 67/361: gnu: Add python-rfc3986-validator., guix-commits, 2024/11/22
- 81/361: gnu: python-websocket-client: Update to 1.8.0.,
guix-commits <=
- 85/361: gnu: python-pyzmq: Use Tornado 6., guix-commits, 2024/11/22
- 94/361: gnu: python-jsonpointer: Update to 1.14., guix-commits, 2024/11/22
- 24/361: gnu: python-jupytext: Update to 1.15.0., guix-commits, 2024/11/22
- 28/361: gnu: Add python-pytest-mypy-testing., guix-commits, 2024/11/22
- 20/361: gnu: meson-python: Do not delete LICENSES directory., guix-commits, 2024/11/22
- 34/361: gnu: python-cleo: Update to 2.1.0., guix-commits, 2024/11/22
- 35/361: gnu: python-packaging-bootstrap: Update to 23.2., guix-commits, 2024/11/22
- 31/361: gnu: python-prompt-toolkit: Update to 3.0.43., guix-commits, 2024/11/22
- 37/361: gnu: python-eventlet: Update to 0.35.2., guix-commits, 2024/11/22
- 43/361: gnu: python-pytest-arraydiff: Add missing inputs., guix-commits, 2024/11/22