pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-websockets



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Feb 18 10:32:29 UTC 2025

Modified Files:
        pkgsrc/www/py-websockets: Makefile PLIST distinfo

Log Message:
py-websockets: updated to 15.0

15.0

Backwards-incompatible changes

Client connections use SOCKS and HTTP proxies automatically.

If a proxy is configured in the operating system or with an environment variable, websockets uses it automatically when connecting to a server. SOCKS proxies require installing the third-party 
library python-socks.

If you want to disable the proxy, add proxy=None when calling :func:`~asyncio.client.connect`.

Keepalive is enabled in the :mod:`threading` implementation.

The :mod:`threading` implementation now sends Ping frames at regular intervals and closes the connection if it doesn't receive a matching Pong frame just like the :mod:`asyncio` implementation.

New features

Added :func:`~asyncio.router.route` and :func:`~asyncio.router.unix_route` to dispatch connections to handlers based on the request path. Read more about routing in :doc:`routing <../topics/routing>`.

Improvements

Refreshed several how-to guides and topic guides.
Added type overloads for the decode argument of :meth:`~asyncio.connection.Connection.recv`. This may simplify static typing.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/www/py-websockets/Makefile
cvs rdiff -u -r1.16 -r1.17 pkgsrc/www/py-websockets/PLIST
cvs rdiff -u -r1.24 -r1.25 pkgsrc/www/py-websockets/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-websockets/Makefile
diff -u pkgsrc/www/py-websockets/Makefile:1.29 pkgsrc/www/py-websockets/Makefile:1.30
--- pkgsrc/www/py-websockets/Makefile:1.29      Sun Feb  2 10:38:04 2025
+++ pkgsrc/www/py-websockets/Makefile   Tue Feb 18 10:32:28 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.29 2025/02/02 10:38:04 he Exp $
+# $NetBSD: Makefile,v 1.30 2025/02/18 10:32:28 adam Exp $
 
-DISTNAME=      websockets-14.2
+DISTNAME=      websockets-15.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=w/websockets/}

Index: pkgsrc/www/py-websockets/PLIST
diff -u pkgsrc/www/py-websockets/PLIST:1.16 pkgsrc/www/py-websockets/PLIST:1.17
--- pkgsrc/www/py-websockets/PLIST:1.16 Sun Sep 22 16:54:20 2024
+++ pkgsrc/www/py-websockets/PLIST      Tue Feb 18 10:32:28 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2024/09/22 16:54:20 wiz Exp $
+@comment $NetBSD: PLIST,v 1.17 2025/02/18 10:32:28 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -28,6 +28,9 @@ ${PYSITELIB}/websockets/asyncio/connecti
 ${PYSITELIB}/websockets/asyncio/messages.py
 ${PYSITELIB}/websockets/asyncio/messages.pyc
 ${PYSITELIB}/websockets/asyncio/messages.pyo
+${PYSITELIB}/websockets/asyncio/router.py
+${PYSITELIB}/websockets/asyncio/router.pyc
+${PYSITELIB}/websockets/asyncio/router.pyo
 ${PYSITELIB}/websockets/asyncio/server.py
 ${PYSITELIB}/websockets/asyncio/server.pyc
 ${PYSITELIB}/websockets/asyncio/server.pyo
@@ -122,6 +125,9 @@ ${PYSITELIB}/websockets/sync/connection.
 ${PYSITELIB}/websockets/sync/messages.py
 ${PYSITELIB}/websockets/sync/messages.pyc
 ${PYSITELIB}/websockets/sync/messages.pyo
+${PYSITELIB}/websockets/sync/router.py
+${PYSITELIB}/websockets/sync/router.pyc
+${PYSITELIB}/websockets/sync/router.pyo
 ${PYSITELIB}/websockets/sync/server.py
 ${PYSITELIB}/websockets/sync/server.pyc
 ${PYSITELIB}/websockets/sync/server.pyo

Index: pkgsrc/www/py-websockets/distinfo
diff -u pkgsrc/www/py-websockets/distinfo:1.24 pkgsrc/www/py-websockets/distinfo:1.25
--- pkgsrc/www/py-websockets/distinfo:1.24      Mon Jan 20 06:07:27 2025
+++ pkgsrc/www/py-websockets/distinfo   Tue Feb 18 10:32:28 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.24 2025/01/20 06:07:27 adam Exp $
+$NetBSD: distinfo,v 1.25 2025/02/18 10:32:28 adam Exp $
 
-BLAKE2s (websockets-14.2.tar.gz) = c16fdaadeac0572e42fbed00eb29945fe843bec830e7497585a2f52299b9c737
-SHA512 (websockets-14.2.tar.gz) = 2063c75bc49ab222f226da2b9fb440d94702c39bafe93d3ede3df2b65ad10c3064f0774148d549b7e1adbb6749d830cd42fa9a89b5091f91c80e9513601d41de
-Size (websockets-14.2.tar.gz) = 164394 bytes
+BLAKE2s (websockets-15.0.tar.gz) = 72c7b103d380cf40f1d92144fdefd16d9b2eb3acf911d594f90632e1cd1098f9
+SHA512 (websockets-15.0.tar.gz) = 79df2230bc8eff8866e44b63b324810f1e4701f287135e0c60a0baab4e5cdf2e5859260f7c894d965ba688ac88cbe80018ec9668ea883f10c33c38ce7eeaa3d6
+Size (websockets-15.0.tar.gz) = 175574 bytes



Home | Main Index | Thread Index | Old Index