pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-autobahn



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Jul  3 07:23:16 UTC 2026

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

Log Message:
py-autobahn: updated to 26.6.2

26.6.2

**WAMP Cryptosign**

* Fix ``import autobahn.wamp.cryptosign`` raising ``TypeError: unsupported operand type(s) for |: 'str' and 'NoneType'`` on CPython 3.11/3.12/3.13 when crypto support (``nacl``) is installed. A 
``ruff`` ``UP007`` autofix in 26.6.1 had rewritten ``Optional["ISecurityModule"]`` to ``"ISecurityModule" | None`` in a module that lacks ``from __future__ import annotations``, so the string 
forward-reference union was evaluated eagerly at class-definition time (CPython 3.14 was unaffected because PEP 649 defers annotation evaluation). The regression broke WAMP-cryptosign and any 
importer with crypto dependencies present (e.g. ``xbr``, Crossbar.io) on CPython < 3.14. Added ``from __future__ import annotations`` to ``cryptosign.py`` to defer annotation evaluation


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 pkgsrc/www/py-autobahn/Makefile
cvs rdiff -u -r1.24 -r1.25 pkgsrc/www/py-autobahn/PLIST
cvs rdiff -u -r1.35 -r1.36 pkgsrc/www/py-autobahn/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-autobahn/Makefile
diff -u pkgsrc/www/py-autobahn/Makefile:1.48 pkgsrc/www/py-autobahn/Makefile:1.49
--- pkgsrc/www/py-autobahn/Makefile:1.48        Fri Dec 26 08:57:30 2025
+++ pkgsrc/www/py-autobahn/Makefile     Fri Jul  3 07:23:16 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.48 2025/12/26 08:57:30 adam Exp $
+# $NetBSD: Makefile,v 1.49 2026/07/03 07:23:16 adam Exp $
 
-DISTNAME=      autobahn-25.12.2
+DISTNAME=      autobahn-26.6.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/autobahn/}
@@ -10,7 +10,7 @@ HOMEPAGE=     https://github.com/crossbario/
 COMMENT=       WebSocket client and server library, WAMP real-time framework
 LICENSE=       mit
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>0:../../devel/py-hatchling
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=0:../../devel/py-hatchling
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
 DEPENDS+=      ${PYPKGPREFIX}-cbor2>=5.2.0:../../devel/py-cbor2
 DEPENDS+=      ${PYPKGPREFIX}-cffi>=2.0.0:../../devel/py-cffi
@@ -27,12 +27,11 @@ BUILDLINK_TRANSFORM+=       rm:-march=native
 
 MAKE_ENV+=     PYUBJSON_NO_EXTENSION=1
 
+PY_RENAME_BINARIES=    flatc wamp
+
 PYTHON_VERSIONS_INCOMPATIBLE=  310
 
 post-install:
-.for bin in flatc wamp
-       cd ${DESTDIR}${PREFIX}/bin && ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
-.endfor
        ${RM} -f ${DESTDIR}${PREFIX}/${PYSITELIB}/autobahn/nvx/_nvx_utf8validator.[co]
        ${RM} -f ${DESTDIR}${PREFIX}/${PYSITELIB}/autobahn/nvx/_nvx_xormasker.[co]
 

Index: pkgsrc/www/py-autobahn/PLIST
diff -u pkgsrc/www/py-autobahn/PLIST:1.24 pkgsrc/www/py-autobahn/PLIST:1.25
--- pkgsrc/www/py-autobahn/PLIST:1.24   Fri Dec 26 08:57:30 2025
+++ pkgsrc/www/py-autobahn/PLIST        Fri Jul  3 07:23:16 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.24 2025/12/26 08:57:30 adam Exp $
+@comment $NetBSD: PLIST,v 1.25 2026/07/03 07:23:16 adam Exp $
 bin/flatc-${PYVERSSUFFIX}
 bin/wamp-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
@@ -80,6 +80,7 @@ ${PYSITELIB}/autobahn/flatbuffers/number
 ${PYSITELIB}/autobahn/flatbuffers/packer.py
 ${PYSITELIB}/autobahn/flatbuffers/packer.pyc
 ${PYSITELIB}/autobahn/flatbuffers/packer.pyo
+${PYSITELIB}/autobahn/flatbuffers/reflection.bfbs
 ${PYSITELIB}/autobahn/flatbuffers/reflection.fbs
 ${PYSITELIB}/autobahn/flatbuffers/reflection/AdvancedFeatures.py
 ${PYSITELIB}/autobahn/flatbuffers/reflection/AdvancedFeatures.pyc
@@ -143,6 +144,9 @@ ${PYSITELIB}/autobahn/nvx/_xormasker.pyo
 ${PYSITELIB}/autobahn/nvx/test/__init__.py
 ${PYSITELIB}/autobahn/nvx/test/__init__.pyc
 ${PYSITELIB}/autobahn/nvx/test/__init__.pyo
+${PYSITELIB}/autobahn/nvx/test/test_compile_args.py
+${PYSITELIB}/autobahn/nvx/test/test_compile_args.pyc
+${PYSITELIB}/autobahn/nvx/test/test_compile_args.pyo
 ${PYSITELIB}/autobahn/nvx/test/test_nvx_utf8validator.py
 ${PYSITELIB}/autobahn/nvx/test/test_nvx_utf8validator.pyc
 ${PYSITELIB}/autobahn/nvx/test/test_nvx_utf8validator.pyo
@@ -162,6 +166,12 @@ ${PYSITELIB}/autobahn/rawsocket/util.pyo
 ${PYSITELIB}/autobahn/test/__init__.py
 ${PYSITELIB}/autobahn/test/__init__.pyc
 ${PYSITELIB}/autobahn/test/__init__.pyo
+${PYSITELIB}/autobahn/test/test_flatbuffers_version.py
+${PYSITELIB}/autobahn/test/test_flatbuffers_version.pyc
+${PYSITELIB}/autobahn/test/test_flatbuffers_version.pyo
+${PYSITELIB}/autobahn/test/test_import_all.py
+${PYSITELIB}/autobahn/test/test_import_all.pyc
+${PYSITELIB}/autobahn/test/test_import_all.pyo
 ${PYSITELIB}/autobahn/test/test_rng.py
 ${PYSITELIB}/autobahn/test/test_rng.pyc
 ${PYSITELIB}/autobahn/test/test_rng.pyo
@@ -258,6 +268,7 @@ ${PYSITELIB}/autobahn/wamp/flatbuffers/r
 ${PYSITELIB}/autobahn/wamp/flatbuffers/rpc.fbs
 ${PYSITELIB}/autobahn/wamp/flatbuffers/session.fbs
 ${PYSITELIB}/autobahn/wamp/flatbuffers/types.fbs
+${PYSITELIB}/autobahn/wamp/flatbuffers/wamp.bfbs
 ${PYSITELIB}/autobahn/wamp/flatbuffers/wamp.fbs
 ${PYSITELIB}/autobahn/wamp/gen/__init__.py
 ${PYSITELIB}/autobahn/wamp/gen/__init__.pyc
@@ -353,9 +364,6 @@ ${PYSITELIB}/autobahn/wamp/gen/wamp/prot
 ${PYSITELIB}/autobahn/wamp/gen/wamp/proto/Challenge.py
 ${PYSITELIB}/autobahn/wamp/gen/wamp/proto/Challenge.pyc
 ${PYSITELIB}/autobahn/wamp/gen/wamp/proto/Challenge.pyo
-${PYSITELIB}/autobahn/wamp/gen/wamp/proto/ChannelBinding.py
-${PYSITELIB}/autobahn/wamp/gen/wamp/proto/ChannelBinding.pyc
-${PYSITELIB}/autobahn/wamp/gen/wamp/proto/ChannelBinding.pyo
 ${PYSITELIB}/autobahn/wamp/gen/wamp/proto/ClientRoles.py
 ${PYSITELIB}/autobahn/wamp/gen/wamp/proto/ClientRoles.pyc
 ${PYSITELIB}/autobahn/wamp/gen/wamp/proto/ClientRoles.pyo
@@ -392,9 +400,6 @@ ${PYSITELIB}/autobahn/wamp/gen/wamp/prot
 ${PYSITELIB}/autobahn/wamp/gen/wamp/proto/KDF.py
 ${PYSITELIB}/autobahn/wamp/gen/wamp/proto/KDF.pyc
 ${PYSITELIB}/autobahn/wamp/gen/wamp/proto/KDF.pyo
-${PYSITELIB}/autobahn/wamp/gen/wamp/proto/Kdf.py
-${PYSITELIB}/autobahn/wamp/gen/wamp/proto/Kdf.pyc
-${PYSITELIB}/autobahn/wamp/gen/wamp/proto/Kdf.pyo
 ${PYSITELIB}/autobahn/wamp/gen/wamp/proto/Match.py
 ${PYSITELIB}/autobahn/wamp/gen/wamp/proto/Match.pyc
 ${PYSITELIB}/autobahn/wamp/gen/wamp/proto/Match.pyo

Index: pkgsrc/www/py-autobahn/distinfo
diff -u pkgsrc/www/py-autobahn/distinfo:1.35 pkgsrc/www/py-autobahn/distinfo:1.36
--- pkgsrc/www/py-autobahn/distinfo:1.35        Fri Dec 26 08:57:30 2025
+++ pkgsrc/www/py-autobahn/distinfo     Fri Jul  3 07:23:16 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.35 2025/12/26 08:57:30 adam Exp $
+$NetBSD: distinfo,v 1.36 2026/07/03 07:23:16 adam Exp $
 
-BLAKE2s (autobahn-25.12.2.tar.gz) = 96c5eb03d0a3ea9fc99ada4abc653c03bb1b397ed4d92f49a86f72a9b23a21b3
-SHA512 (autobahn-25.12.2.tar.gz) = 03583df501779d596c0f258c6c6c033e6cc7295483808016f90c7fd9665463280083f7d709dd20e9b93199d857a042631b71ed1bbbb6f241b081b95e30c5bb72
-Size (autobahn-25.12.2.tar.gz) = 13893652 bytes
+BLAKE2s (autobahn-26.6.2.tar.gz) = 61041713407c82248e0e2f175f31b6682caa8c9696f6dd82eae87efc8817a7bb
+SHA512 (autobahn-26.6.2.tar.gz) = eee85eabb3ea860a1e8cd2294178112176bd6c399fa03daa14747ef525e88e42b23509a2e1beb040a51ef5f1455ee0194175c49d4d71bd2a4fb079b7e5ba942a
+Size (autobahn-26.6.2.tar.gz) = 14041630 bytes



Home | Main Index | Thread Index | Old Index