Fri Oct 27 09:06:02 2023 UTC ()
py-websockets: updated to 12.0

12.0

Backwards-incompatible changes

websockets 12.0 requires Python ≥ 3.8.

websockets 11.0 is the last version supporting Python 3.7.

Improvements

Made convenience imports from websockets compatible with static code analysis tools such as auto-completion in an IDE or type checking with mypy.
Accepted a plain :class:`int` where an :class:`~http.HTTPStatus` is expected.
Added :class:`~frames.CloseCode`.


(adam)
diff -r1.19 -r1.20 pkgsrc/www/py-websockets/Makefile
diff -r1.12 -r1.13 pkgsrc/www/py-websockets/PLIST
diff -r1.17 -r1.18 pkgsrc/www/py-websockets/distinfo

cvs diff -r1.19 -r1.20 pkgsrc/www/py-websockets/Makefile (expand / switch to unified diff)

--- pkgsrc/www/py-websockets/Makefile 2023/05/16 22:48:21 1.19
+++ pkgsrc/www/py-websockets/Makefile 2023/10/27 09:06:02 1.20
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.19 2023/05/16 22:48:21 wiz Exp $ 1# $NetBSD: Makefile,v 1.20 2023/10/27 09:06:02 adam Exp $
2 2
3DISTNAME= websockets-11.0.3 3DISTNAME= websockets-12.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= www python 5CATEGORIES= www python
6MASTER_SITES= ${MASTER_SITE_PYPI:=w/websockets/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=w/websockets/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://github.com/aaugustin/websockets 9HOMEPAGE= https://github.com/aaugustin/websockets
10COMMENT= Implementation of the WebSocket Protocol (RFC 6455) 10COMMENT= Implementation of the WebSocket Protocol (RFC 6455)
11LICENSE= modified-bsd 11LICENSE= modified-bsd
12 12
13PYTHON_VERSIONS_INCOMPATIBLE= 27 13PYTHON_VERSIONS_INCOMPATIBLE= 27
14 14
15.include "../../lang/python/egg.mk" 15.include "../../lang/python/egg.mk"
16.include "../../mk/bsd.pkg.mk" 16.include "../../mk/bsd.pkg.mk"

cvs diff -r1.12 -r1.13 pkgsrc/www/py-websockets/PLIST (expand / switch to unified diff)

--- pkgsrc/www/py-websockets/PLIST 2023/05/16 22:48:21 1.12
+++ pkgsrc/www/py-websockets/PLIST 2023/10/27 09:06:02 1.13
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.12 2023/05/16 22:48:21 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.13 2023/10/27 09:06:02 adam Exp $
2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
5${PYSITELIB}/${EGG_INFODIR}/top_level.txt 5${PYSITELIB}/${EGG_INFODIR}/top_level.txt
6${PYSITELIB}/websockets/__init__.py 6${PYSITELIB}/websockets/__init__.py
7${PYSITELIB}/websockets/__init__.pyc 7${PYSITELIB}/websockets/__init__.pyc
8${PYSITELIB}/websockets/__init__.pyo 8${PYSITELIB}/websockets/__init__.pyo
9${PYSITELIB}/websockets/__main__.py 9${PYSITELIB}/websockets/__main__.py
10${PYSITELIB}/websockets/__main__.pyc 10${PYSITELIB}/websockets/__main__.pyc
11${PYSITELIB}/websockets/__main__.pyo 11${PYSITELIB}/websockets/__main__.pyo
12${PYSITELIB}/websockets/auth.py 12${PYSITELIB}/websockets/auth.py
13${PYSITELIB}/websockets/auth.pyc 13${PYSITELIB}/websockets/auth.pyc
14${PYSITELIB}/websockets/auth.pyo 14${PYSITELIB}/websockets/auth.pyo
@@ -86,29 +86,26 @@ ${PYSITELIB}/websockets/server.py @@ -86,29 +86,26 @@ ${PYSITELIB}/websockets/server.py
86${PYSITELIB}/websockets/server.pyc 86${PYSITELIB}/websockets/server.pyc
87${PYSITELIB}/websockets/server.pyo 87${PYSITELIB}/websockets/server.pyo
88${PYSITELIB}/websockets/speedups.c 88${PYSITELIB}/websockets/speedups.c
89${PYSITELIB}/websockets/speedups.so 89${PYSITELIB}/websockets/speedups.so
90${PYSITELIB}/websockets/streams.py 90${PYSITELIB}/websockets/streams.py
91${PYSITELIB}/websockets/streams.pyc 91${PYSITELIB}/websockets/streams.pyc
92${PYSITELIB}/websockets/streams.pyo 92${PYSITELIB}/websockets/streams.pyo
93${PYSITELIB}/websockets/sync/__init__.py 93${PYSITELIB}/websockets/sync/__init__.py
94${PYSITELIB}/websockets/sync/__init__.pyc 94${PYSITELIB}/websockets/sync/__init__.pyc
95${PYSITELIB}/websockets/sync/__init__.pyo 95${PYSITELIB}/websockets/sync/__init__.pyo
96${PYSITELIB}/websockets/sync/client.py 96${PYSITELIB}/websockets/sync/client.py
97${PYSITELIB}/websockets/sync/client.pyc 97${PYSITELIB}/websockets/sync/client.pyc
98${PYSITELIB}/websockets/sync/client.pyo 98${PYSITELIB}/websockets/sync/client.pyo
99${PYSITELIB}/websockets/sync/compatibility.py 
100${PYSITELIB}/websockets/sync/compatibility.pyc 
101${PYSITELIB}/websockets/sync/compatibility.pyo 
102${PYSITELIB}/websockets/sync/connection.py 99${PYSITELIB}/websockets/sync/connection.py
103${PYSITELIB}/websockets/sync/connection.pyc 100${PYSITELIB}/websockets/sync/connection.pyc
104${PYSITELIB}/websockets/sync/connection.pyo 101${PYSITELIB}/websockets/sync/connection.pyo
105${PYSITELIB}/websockets/sync/messages.py 102${PYSITELIB}/websockets/sync/messages.py
106${PYSITELIB}/websockets/sync/messages.pyc 103${PYSITELIB}/websockets/sync/messages.pyc
107${PYSITELIB}/websockets/sync/messages.pyo 104${PYSITELIB}/websockets/sync/messages.pyo
108${PYSITELIB}/websockets/sync/server.py 105${PYSITELIB}/websockets/sync/server.py
109${PYSITELIB}/websockets/sync/server.pyc 106${PYSITELIB}/websockets/sync/server.pyc
110${PYSITELIB}/websockets/sync/server.pyo 107${PYSITELIB}/websockets/sync/server.pyo
111${PYSITELIB}/websockets/sync/utils.py 108${PYSITELIB}/websockets/sync/utils.py
112${PYSITELIB}/websockets/sync/utils.pyc 109${PYSITELIB}/websockets/sync/utils.pyc
113${PYSITELIB}/websockets/sync/utils.pyo 110${PYSITELIB}/websockets/sync/utils.pyo
114${PYSITELIB}/websockets/typing.py 111${PYSITELIB}/websockets/typing.py

cvs diff -r1.17 -r1.18 pkgsrc/www/py-websockets/distinfo (expand / switch to unified diff)

--- pkgsrc/www/py-websockets/distinfo 2023/05/16 22:48:21 1.17
+++ pkgsrc/www/py-websockets/distinfo 2023/10/27 09:06:02 1.18
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.17 2023/05/16 22:48:21 wiz Exp $ 1$NetBSD: distinfo,v 1.18 2023/10/27 09:06:02 adam Exp $
2 2
3BLAKE2s (websockets-11.0.3.tar.gz) = 8c2bd7262ad117f6f391d8973c4c0a47d6d05bba29f1e492008b3d9c8fef47c1 3BLAKE2s (websockets-12.0.tar.gz) = 279ea3f36456a8d7db095afa6b35507870bb149b7783f729e70d7eeeb0e07ce4
4SHA512 (websockets-11.0.3.tar.gz) = 7c08b8ca84d91a57fc9a5324b51b1c1e68b98c85c6e5d2599211a72afee7fa553ad53fdbb1a776cd0bce792df54f1a956ed27f1b797324437dbec9e5c0bc4feb 4SHA512 (websockets-12.0.tar.gz) = f8f15440d31caafdebebc9b72328ccec54b0cbd42f21bf24ba7d7b141e7e29ebe9da1d50e2890c45a860b4cba36796fc99a281f75a00dc11d84890a39316b0fb
5Size (websockets-11.0.3.tar.gz) = 104235 bytes 5Size (websockets-12.0.tar.gz) = 104994 bytes