pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/py-websocket-client



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Sep  2 07:33:08 UTC 2026

Modified Files:
        pkgsrc/www/py-websocket-client: Makefile PLIST distinfo

Log Message:
py-websocket-client: updated to 1.9.2

1.9.2
- Fix race in `WebSocketApp.close()` when `run_forever()` thread clears the socket during the close handshake

1.9.1
- Add Python 3.14 support to setup config and CI (f2bc97a)
- Fix `close()` dropping close frame when reason is str (2f22e2e)
- Fix `close()` type annotation and docstring for timeout and reason (d69f730)
- Make `abort()` robust for sockets that cannot shutdown, same logic as `shutdown()` (1904e3d)
- Raise `WebSocketException` for redirects missing a `Location` header (97e34db)
- Raise when WebSocket connect redirect limit is exhausted (be0d38d)
- Raise `WebSocketException` for redirects to invalid targets (62ef6af)
- Fix unformatted ABNF validation error messages (0145b7b)
- Fix `validate_utf8()` crash on str input (4a8e6ed)
- Store `status_message` on `WebSocketBadStatusException` (368aeda)
- Raise `WebSocketException` for `check_hostname` with `CERT_NONE` (0232aca)
- Fix `handleDisconnect` type annotation: None default requires Optional (20f3712)
- Remove unreachable `not frame` check in `recv_data_frame()` (b684242)
- Set `proxy_timeout` on `proxy_info` without a proxy host (68f0aed)
- Fix `_wsdump.py` bytes annotations and remove dead code (5ecc6e4)
- Export `STATUS_SERVICE_RESTART` and `STATUS_TRY_AGAIN_LATER` close codes (22279c4)
- Fix `extract_err_message()` to always return str (e2091bd)
- Raise `WebSocketProxyException` for SOCKS proxy without a port, correct proxy port docs (3c62bdf)
- Raise `WebSocketException` for malformed HTTP responses (04f4d94)
- Fix docs examples using dead or unreachable endpoints (2fc92c0)
- Add pyproject.toml, drop deprecated setup.py metadata (8b34f50)
- Apply linting (3b4ffab)


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/www/py-websocket-client/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/www/py-websocket-client/PLIST
cvs rdiff -u -r1.25 -r1.26 pkgsrc/www/py-websocket-client/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-websocket-client/Makefile
diff -u pkgsrc/www/py-websocket-client/Makefile:1.29 pkgsrc/www/py-websocket-client/Makefile:1.30
--- pkgsrc/www/py-websocket-client/Makefile:1.29        Thu Oct 23 15:17:58 2025
+++ pkgsrc/www/py-websocket-client/Makefile     Wed Sep  2 07:33:08 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.29 2025/10/23 15:17:58 adam Exp $
+# $NetBSD: Makefile,v 1.30 2026/09/02 07:33:08 adam Exp $
 
-DISTNAME=      websocket_client-1.9.0
+DISTNAME=      websocket_client-1.9.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=w/websocket-client/}
@@ -11,13 +11,11 @@ COMMENT=    WebSocket client module
 LICENSE=       apache-2.0
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
-TEST_DEPENDS+= ${PYPKGPREFIX}-websockets-[0-9]*:../../www/py-websockets
+TEST_DEPENDS+= ${PYPKGPREFIX}-websockets>=0:../../www/py-websockets
 
 USE_LANGUAGES= # none
 
-post-install:
-       cd ${DESTDIR}${PREFIX}/bin && \
-       ${MV} wsdump wsdump-${PYVERSSUFFIX} || ${TRUE}
+PY_RENAME_BINARIES=    wsdump
 
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/www/py-websocket-client/PLIST
diff -u pkgsrc/www/py-websocket-client/PLIST:1.9 pkgsrc/www/py-websocket-client/PLIST:1.10
--- pkgsrc/www/py-websocket-client/PLIST:1.9    Thu Oct 23 15:17:58 2025
+++ pkgsrc/www/py-websocket-client/PLIST        Wed Sep  2 07:33:08 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2025/10/23 15:17:58 adam Exp $
+@comment $NetBSD: PLIST,v 1.10 2026/09/02 07:33:08 adam Exp $
 bin/wsdump-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -82,6 +82,12 @@ ${PYSITELIB}/websocket/tests/test_http.p
 ${PYSITELIB}/websocket/tests/test_large_payloads.py
 ${PYSITELIB}/websocket/tests/test_large_payloads.pyc
 ${PYSITELIB}/websocket/tests/test_large_payloads.pyo
+${PYSITELIB}/websocket/tests/test_logging_helpers.py
+${PYSITELIB}/websocket/tests/test_logging_helpers.pyc
+${PYSITELIB}/websocket/tests/test_logging_helpers.pyo
+${PYSITELIB}/websocket/tests/test_reconnect_bad_fd.py
+${PYSITELIB}/websocket/tests/test_reconnect_bad_fd.pyc
+${PYSITELIB}/websocket/tests/test_reconnect_bad_fd.pyo
 ${PYSITELIB}/websocket/tests/test_socket.py
 ${PYSITELIB}/websocket/tests/test_socket.pyc
 ${PYSITELIB}/websocket/tests/test_socket.pyo

Index: pkgsrc/www/py-websocket-client/distinfo
diff -u pkgsrc/www/py-websocket-client/distinfo:1.25 pkgsrc/www/py-websocket-client/distinfo:1.26
--- pkgsrc/www/py-websocket-client/distinfo:1.25        Thu Oct 23 15:17:58 2025
+++ pkgsrc/www/py-websocket-client/distinfo     Wed Sep  2 07:33:08 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.25 2025/10/23 15:17:58 adam Exp $
+$NetBSD: distinfo,v 1.26 2026/09/02 07:33:08 adam Exp $
 
-BLAKE2s (websocket_client-1.9.0.tar.gz) = 9500844f616ff29b55d7889654f731b80ed12e63d5f0cef7039ab8b676f89357
-SHA512 (websocket_client-1.9.0.tar.gz) = 63385845aaaf792167d681c4b3089b09ea4dedbf931fa1f4ebc55648b6d864c2a479ac61f758d6a7967ce84e59e197613c976069f64381599c274f89c3edd0b4
-Size (websocket_client-1.9.0.tar.gz) = 70576 bytes
+BLAKE2s (websocket_client-1.9.2.tar.gz) = 2e7b7c9ebbb0732b8c32247683988cc48fbd6fe2d20c964eb3ae270b035be2f1
+SHA512 (websocket_client-1.9.2.tar.gz) = 42da82b95f05fc8f4bbe85027d1ff1e95fc409282de4b1eb732ca871c32530f34e3fe7deeb150a1244777357e42bbc7d040c4875ad6247efacccc79b79829a66
+Size (websocket_client-1.9.2.tar.gz) = 84110 bytes



Home | Main Index | Thread Index | Old Index