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:   wiz
Date:           Sun Sep 22 16:54:20 UTC 2024

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

Log Message:
py-websockets: update to 13.1.

Backwards-incompatible changes

The code and reason attributes of ConnectionClosed are deprecated.

They were removed from the documentation in version 10.0, due to their spec-compliant but counter-intuitive behavior, but they were kept in the code for backwards compatibility. They’re now formally 
deprecated.

New features

    Added support for reconnecting automatically by using connect() as an asynchronous iterator to the new asyncio implementation.

    connect() now follows redirects in the new asyncio implementation.

    Added HTTP Basic Auth to the new asyncio and threading implementations of servers.

    Made the set of active connections available in the Server.connections property.

Improvements

    Improved reporting of errors during the opening handshake.

    Raised ConcurrencyError on unsupported concurrent calls. Previously, RuntimeError was raised. For backwards compatibility, ConcurrencyError is a subclass of RuntimeError.

Bug fixes

    The new asyncio and threading implementations of servers don’t start the connection handler anymore when process_request or process_response returns an HTTP response.

    Fixed a bug in the threading implementation that could lead to incorrect error reporting when closing a connection while recv() is running.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/www/py-websockets/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/www/py-websockets/PLIST
cvs rdiff -u -r1.20 -r1.21 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.22 pkgsrc/www/py-websockets/Makefile:1.23
--- pkgsrc/www/py-websockets/Makefile:1.22      Thu Aug 29 08:08:31 2024
+++ pkgsrc/www/py-websockets/Makefile   Sun Sep 22 16:54:20 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.22 2024/08/29 08:08:31 adam Exp $
+# $NetBSD: Makefile,v 1.23 2024/09/22 16:54:20 wiz Exp $
 
-DISTNAME=      websockets-13.0.1
+DISTNAME=      websockets-13.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=w/websockets/}
@@ -13,5 +13,8 @@ LICENSE=      modified-bsd
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
 TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 
+# even after 'make install', testing doesn't work at all
+# 9 errors
+
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/www/py-websockets/PLIST
diff -u pkgsrc/www/py-websockets/PLIST:1.15 pkgsrc/www/py-websockets/PLIST:1.16
--- pkgsrc/www/py-websockets/PLIST:1.15 Thu Aug 29 08:08:31 2024
+++ pkgsrc/www/py-websockets/PLIST      Sun Sep 22 16:54:20 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2024/08/29 08:08:31 adam Exp $
+@comment $NetBSD: PLIST,v 1.16 2024/09/22 16:54:20 wiz Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -79,6 +79,9 @@ ${PYSITELIB}/websockets/legacy/auth.pyo
 ${PYSITELIB}/websockets/legacy/client.py
 ${PYSITELIB}/websockets/legacy/client.pyc
 ${PYSITELIB}/websockets/legacy/client.pyo
+${PYSITELIB}/websockets/legacy/exceptions.py
+${PYSITELIB}/websockets/legacy/exceptions.pyc
+${PYSITELIB}/websockets/legacy/exceptions.pyo
 ${PYSITELIB}/websockets/legacy/framing.py
 ${PYSITELIB}/websockets/legacy/framing.pyc
 ${PYSITELIB}/websockets/legacy/framing.pyo

Index: pkgsrc/www/py-websockets/distinfo
diff -u pkgsrc/www/py-websockets/distinfo:1.20 pkgsrc/www/py-websockets/distinfo:1.21
--- pkgsrc/www/py-websockets/distinfo:1.20      Thu Aug 29 08:08:31 2024
+++ pkgsrc/www/py-websockets/distinfo   Sun Sep 22 16:54:20 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.20 2024/08/29 08:08:31 adam Exp $
+$NetBSD: distinfo,v 1.21 2024/09/22 16:54:20 wiz Exp $
 
-BLAKE2s (websockets-13.0.1.tar.gz) = 4bbfea0d29cd06c09c799258436d18bcdba64f8c24f571e440eaae89f5aa0759
-SHA512 (websockets-13.0.1.tar.gz) = 6741ba8b9df3a17bdcc2417bf30f5b5c7a74d0f6d4057c1486688bc2ae4bf39e2d475bd2a18f41bc4df9a75bfbdd06e4442ad1311de9a93df79f0e7a5b5550be
-Size (websockets-13.0.1.tar.gz) = 149769 bytes
+BLAKE2s (websockets-13.1.tar.gz) = 48bbb5ffdf46e8853178f8ca66d443e63d0284a97e8d831d2db17398342515ee
+SHA512 (websockets-13.1.tar.gz) = 91dc211bd60da759df122141e0b63e782b9db60d11ac90848b88b51cc274f7b42945662bd44efe96cdb44a12fb8bc26e8129f9c3d214e44670e2c3ff0763749a
+Size (websockets-13.1.tar.gz) = 158549 bytes



Home | Main Index | Thread Index | Old Index