pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/py-websockets py-websockets: updated to 9.0.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/ce5973bc9452
branches: trunk
changeset: 452438:ce5973bc9452
user: adam <adam%pkgsrc.org@localhost>
date: Mon May 10 12:52:54 2021 +0000
description:
py-websockets: updated to 9.0.1
9.0.1
Fixed issues with the packaging of the 9.0 release.
9.0
Note
Version 9.0 moves or deprecates several APIs.
Aliases provide backwards compatibility for all previously public APIs.
:class:`~datastructures.Headers` and :exc:`~datastructures.MultipleValuesError` were moved from websockets.http to :mod:`websockets.datastructures`. If you're using them, you should adjust the import
path.
The client, server, protocol, and auth modules were moved from the websockets package to websockets.legacy sub-package, as part of an upcoming refactoring. Despite the name, they're still fully
supported. The refactoring should be a transparent upgrade for most uses when it's available. The legacy implementation will be preserved according to the backwards-compatibility policy.
The framing, handshake, headers, http, and uri modules in the websockets package are deprecated. These modules provided low-level APIs for reuse by other WebSocket implementations, but that never
happened. Keeping these APIs public makes it more difficult to improve websockets for no actual benefit.
Added compatibility with Python 3.9.
Added support for IRIs in addition to URIs.
Added close codes 1012, 1013, and 1014.
Raised an error when passing a :class:`dict` to :meth:`~legacy.protocol.WebSocketCommonProtocol.send`.
Fixed sending fragmented, compressed messages.
Fixed Host header sent when connecting to an IPv6 address.
Fixed creating a client or a server with an existing Unix socket.
Aligned maximum cookie size with popular web browsers.
Ensured cancellation always propagates, even on Python versions where :exc:`~asyncio.CancelledError` inherits :exc:`Exception`.
Improved error reporting.
diffstat:
www/py-websockets/Makefile | 4 +-
www/py-websockets/PLIST | 56 +++++++++++++++++++++++++++++++++++----------
www/py-websockets/distinfo | 10 ++++----
3 files changed, 50 insertions(+), 20 deletions(-)
diffs (119 lines):
diff -r 8edd40141f85 -r ce5973bc9452 www/py-websockets/Makefile
--- a/www/py-websockets/Makefile Mon May 10 12:47:54 2021 +0000
+++ b/www/py-websockets/Makefile Mon May 10 12:52:54 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2019/11/26 19:08:55 adam Exp $
+# $NetBSD: Makefile,v 1.10 2021/05/10 12:52:54 adam Exp $
-DISTNAME= websockets-8.1
+DISTNAME= websockets-9.0.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=w/websockets/}
diff -r 8edd40141f85 -r ce5973bc9452 www/py-websockets/PLIST
--- a/www/py-websockets/PLIST Mon May 10 12:47:54 2021 +0000
+++ b/www/py-websockets/PLIST Mon May 10 12:52:54 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2019/11/26 19:08:55 adam Exp $
+@comment $NetBSD: PLIST,v 1.9 2021/05/10 12:52:54 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -10,12 +10,15 @@
${PYSITELIB}/websockets/__main__.py
${PYSITELIB}/websockets/__main__.pyc
${PYSITELIB}/websockets/__main__.pyo
-${PYSITELIB}/websockets/auth.py
-${PYSITELIB}/websockets/auth.pyc
-${PYSITELIB}/websockets/auth.pyo
${PYSITELIB}/websockets/client.py
${PYSITELIB}/websockets/client.pyc
${PYSITELIB}/websockets/client.pyo
+${PYSITELIB}/websockets/connection.py
+${PYSITELIB}/websockets/connection.pyc
+${PYSITELIB}/websockets/connection.pyo
+${PYSITELIB}/websockets/datastructures.py
+${PYSITELIB}/websockets/datastructures.pyc
+${PYSITELIB}/websockets/datastructures.pyo
${PYSITELIB}/websockets/exceptions.py
${PYSITELIB}/websockets/exceptions.pyc
${PYSITELIB}/websockets/exceptions.pyo
@@ -28,27 +31,54 @@
${PYSITELIB}/websockets/extensions/permessage_deflate.py
${PYSITELIB}/websockets/extensions/permessage_deflate.pyc
${PYSITELIB}/websockets/extensions/permessage_deflate.pyo
-${PYSITELIB}/websockets/framing.py
-${PYSITELIB}/websockets/framing.pyc
-${PYSITELIB}/websockets/framing.pyo
-${PYSITELIB}/websockets/handshake.py
-${PYSITELIB}/websockets/handshake.pyc
-${PYSITELIB}/websockets/handshake.pyo
+${PYSITELIB}/websockets/frames.py
+${PYSITELIB}/websockets/frames.pyc
+${PYSITELIB}/websockets/frames.pyo
${PYSITELIB}/websockets/headers.py
${PYSITELIB}/websockets/headers.pyc
${PYSITELIB}/websockets/headers.pyo
${PYSITELIB}/websockets/http.py
${PYSITELIB}/websockets/http.pyc
${PYSITELIB}/websockets/http.pyo
-${PYSITELIB}/websockets/protocol.py
-${PYSITELIB}/websockets/protocol.pyc
-${PYSITELIB}/websockets/protocol.pyo
+${PYSITELIB}/websockets/http11.py
+${PYSITELIB}/websockets/http11.pyc
+${PYSITELIB}/websockets/http11.pyo
+${PYSITELIB}/websockets/imports.py
+${PYSITELIB}/websockets/imports.pyc
+${PYSITELIB}/websockets/imports.pyo
+${PYSITELIB}/websockets/legacy/__init__.py
+${PYSITELIB}/websockets/legacy/__init__.pyc
+${PYSITELIB}/websockets/legacy/__init__.pyo
+${PYSITELIB}/websockets/legacy/auth.py
+${PYSITELIB}/websockets/legacy/auth.pyc
+${PYSITELIB}/websockets/legacy/auth.pyo
+${PYSITELIB}/websockets/legacy/client.py
+${PYSITELIB}/websockets/legacy/client.pyc
+${PYSITELIB}/websockets/legacy/client.pyo
+${PYSITELIB}/websockets/legacy/framing.py
+${PYSITELIB}/websockets/legacy/framing.pyc
+${PYSITELIB}/websockets/legacy/framing.pyo
+${PYSITELIB}/websockets/legacy/handshake.py
+${PYSITELIB}/websockets/legacy/handshake.pyc
+${PYSITELIB}/websockets/legacy/handshake.pyo
+${PYSITELIB}/websockets/legacy/http.py
+${PYSITELIB}/websockets/legacy/http.pyc
+${PYSITELIB}/websockets/legacy/http.pyo
+${PYSITELIB}/websockets/legacy/protocol.py
+${PYSITELIB}/websockets/legacy/protocol.pyc
+${PYSITELIB}/websockets/legacy/protocol.pyo
+${PYSITELIB}/websockets/legacy/server.py
+${PYSITELIB}/websockets/legacy/server.pyc
+${PYSITELIB}/websockets/legacy/server.pyo
${PYSITELIB}/websockets/py.typed
${PYSITELIB}/websockets/server.py
${PYSITELIB}/websockets/server.pyc
${PYSITELIB}/websockets/server.pyo
${PYSITELIB}/websockets/speedups.c
${PYSITELIB}/websockets/speedups.so
+${PYSITELIB}/websockets/streams.py
+${PYSITELIB}/websockets/streams.pyc
+${PYSITELIB}/websockets/streams.pyo
${PYSITELIB}/websockets/typing.py
${PYSITELIB}/websockets/typing.pyc
${PYSITELIB}/websockets/typing.pyo
diff -r 8edd40141f85 -r ce5973bc9452 www/py-websockets/distinfo
--- a/www/py-websockets/distinfo Mon May 10 12:47:54 2021 +0000
+++ b/www/py-websockets/distinfo Mon May 10 12:52:54 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2019/11/26 19:08:55 adam Exp $
+$NetBSD: distinfo,v 1.8 2021/05/10 12:52:54 adam Exp $
-SHA1 (websockets-8.1.tar.gz) = 4695741b2ceb70e29ee33b7252814a09078975e4
-RMD160 (websockets-8.1.tar.gz) = 692203dc40eaade9a43b8506749c09fbdbe8ec6a
-SHA512 (websockets-8.1.tar.gz) = 408e35d7a908830d51b3b9b73a1c34b1b2dbabbbbd2431515bc0fba7f6ec7db402a55fd00dc737d344549fd5d5f2d90e27cef7cd5f7847e4a1545d3c74db007c
-Size (websockets-8.1.tar.gz) = 58874 bytes
+SHA1 (websockets-9.0.1.tar.gz) = 995f44c0db761db437eec51e48309489c29ca773
+RMD160 (websockets-9.0.1.tar.gz) = 853b93a7e7d77a4db10c1507ceb36bb116cee498
+SHA512 (websockets-9.0.1.tar.gz) = abaef65c66d639100c18fd4722109fdf24a499fb9c47c312778772d54170fb80d41d7742ef263c3919871a061dc3d82ca8042476fbd26ffc90ce441ffef57282
+Size (websockets-9.0.1.tar.gz) = 76473 bytes
Home |
Main Index |
Thread Index |
Old Index