Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-autobahn for openSUSE:Factory 
checked in at 2026-09-14 16:24:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-autobahn (Old)
 and      /work/SRC/openSUSE:Factory/.python-autobahn.new.1265 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-autobahn"

Mon Sep 14 16:24:26 2026 rev:32 rq:1377805 version:26.7.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-autobahn/python-autobahn.changes  
2025-07-22 12:21:26.390974647 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-autobahn.new.1265/python-autobahn.changes    
    2026-09-14 16:24:32.996021988 +0200
@@ -1,0 +2,57 @@
+Mon Sep 14 05:53:56 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Update to 26.7.1:
+  ## Security
+  * Fix WebSocket maxMessagePayloadSize being enforced against the compressed
+    on-the-wire frame length instead of the uncompressed reassembled message
+    size when permessage-compress (deflate/bzip2/snappy/brotli) is
+    negotiated.
+  * Fix the permessage-deflate max_message_size receive cap silently
+    truncating an over-limit message and raising a zlib error instead of
+    cleanly rejecting it: the bounded decompress(..., max_length) left the
+    remaining input in unconsumed_tail undrained, so the message was
+    corrupted rather than reported.
+  * Make bounded decompression backend-agnostic: decompress_message_data()
+    gains an optional max_output_len argument and every permessage-compress
+    backend now honours it.
+  * Make the asyncio RawSocket receive size limit configurable, at parity
+    with the Twisted backend. The asyncio WampRawSocketFactory now exposeso
+    setProtocolOptions(maxMessagePayloadSize=...) / resetProtocolOptions()
+    (bounds [512, 2**24], default 16 MB), and the configured value drives
+    both the advertised handshake length exponent and the enforced receive
+    cap (rounded up to the next power of two), matching the Twisted factory.
+  ## WAMP Serialization
+  * py-ubjson (unmaintained, sdist-only) is no longer an unconditional
+    dependency.
+  * The WAMP ubjson serializer is now backed by the maintained bjdata (Binary
+    JData) package, provided as the OPTIONAL autobahn[serialization] extra
+    (it also pulls in numpy), keeping both out of a minimal install
+  ## Build & CI/CD
+  * Fail wheel builds hard when NVX was requested (AUTOBAHN_USE_NVX) but the
+    CFFI extension did not compile, instead of silently degrading to a
+    pure-Python (py3-none-any) wheel.
+  * Fix NVX native-extension builds breaking under cross-compilation, where
+    the cross toolchain rejected the host-only -march=native flag (unknown
+    value 'native' for '-march'). The default architecture target is now the
+    portable baseline for all build contexts.
+  ## Major Features
+  * new: NVX native XOR masking acceleration for WebSocket frame
+    masking/unmasking.
+  ## Refactoring & Cleanup
+  * fix: Plain twisted utilities are sufficient - removed unnecessary
+    dependencies
+  * fix: Stop using twisted.internet.defer.returnValue - migrate to native
+    return statements
+  * fix: Remove setuptools dependency - modernize to pyproject.toml-based
+    builds
+- Drop patches:
+  * respect-cflags.patch
+  * support-new-pytest-asyncio.patch
+  * use-plain-twisted.patch
+- Refresh patch intrin-arch.patch
+- Add patch no-flatc-entrypoint.patch:
+  * Do not install a flatc wrapper.
+- Run the testsuite twice, once for asyncio, and a second time for Twisted.
+- Clean up Requires.
+
+-------------------------------------------------------------------

Old:
----
  autobahn-24.4.2.tar.gz
  respect-cflags.patch
  support-new-pytest-asyncio.patch
  use-plain-twisted.patch

New:
----
  autobahn-26.7.1.tar.gz
  no-flatc-entrypoint.patch

----------(Old B)----------
  Old:- Drop patches:
  * respect-cflags.patch
  * support-new-pytest-asyncio.patch
  Old:  * respect-cflags.patch
  * support-new-pytest-asyncio.patch
  * use-plain-twisted.patch
  Old:  * support-new-pytest-asyncio.patch
  * use-plain-twisted.patch
- Refresh patch intrin-arch.patch
----------(Old E)----------

----------(New B)----------
  New:- Refresh patch intrin-arch.patch
- Add patch no-flatc-entrypoint.patch:
  * Do not install a flatc wrapper.
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-autobahn.spec ++++++
--- /var/tmp/diff_new_pack.EI3nIL/_old  2026-09-14 16:24:34.151070435 +0200
+++ /var/tmp/diff_new_pack.EI3nIL/_new  2026-09-14 16:24:34.153070519 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-autobahn
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,32 +23,32 @@
 %endif
 
 Name:           python-autobahn
-Version:        24.4.2
+Version:        26.7.1
 Release:        0
 Summary:        WebSocket and WAMP in Python for Twisted and asyncio
 License:        MIT
 URL:            https://github.com/crossbario/autobahn-python
 Source:         
https://files.pythonhosted.org/packages/source/a/autobahn/autobahn-%{version}.tar.gz
-Patch0:         respect-cflags.patch
-Patch1:         intrin-arch.patch
-# PATCH-FIX-UPSTREAM gh#crossbario/autobahn-python#1647
-Patch2:         support-new-pytest-asyncio.patch
-# PATCH-FIX-UPSTREAM gh#crossbario/autobahn-python#1661
-Patch3:         use-plain-twisted.patch
+# PATCH-FIX-OPENSUSE Support s390x intrinics
+Patch0:         intrin-arch.patch
+# PATCH-FIX-OPENSUSE Do not ship flatc wrapper
+Patch1:         no-flatc-entrypoint.patch
 BuildRequires:  %{python_module PyNaCl >= 1.4.0}
 BuildRequires:  %{python_module Twisted >= 24.3.0}
 BuildRequires:  %{python_module argon2-cffi >= 20.1.0}
 BuildRequires:  %{python_module attrs >= 20.3.0}
+BuildRequires:  %{python_module base58 >= 2.1.1}
 BuildRequires:  %{python_module cbor2 >= 5.2.0}
-BuildRequires:  %{python_module cffi >= 1.14.5}
+BuildRequires:  %{python_module cffi >= 2.0.0}
 BuildRequires:  %{python_module cryptography >= 3.4.6}
-BuildRequires:  %{python_module devel >= 3.9}
+BuildRequires:  %{python_module devel >= 3.11}
+BuildRequires:  %{python_module ecdsa >= 0.19.1}
 BuildRequires:  %{python_module flatbuffers >= 22.12.6}
+BuildRequires:  %{python_module hatchling}
 BuildRequires:  %{python_module hyperlink >= 21.0.0}
 BuildRequires:  %{python_module msgpack >= 1.0.2}
 BuildRequires:  %{python_module passlib >= 1.7.4}
 BuildRequires:  %{python_module pip}
-BuildRequires:  %{python_module py-ubjson >= 0.16.1}
 BuildRequires:  %{python_module pyOpenSSL >= 20.0.1}
 BuildRequires:  %{python_module pytest >= 2.8.6}
 BuildRequires:  %{python_module pytest-aiohttp}
@@ -56,35 +56,38 @@
 BuildRequires:  %{python_module pytrie >= 0.4.0}
 BuildRequires:  %{python_module qrcode >= 7.3.1}
 BuildRequires:  %{python_module service_identity >= 18.1.0}
-BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module txaio >= 21.2.1}
+BuildRequires:  %{python_module txaio >= 25.12.2}
 BuildRequires:  %{python_module ujson >= 4.0.2}
-BuildRequires:  %{python_module wheel}
 BuildRequires:  %{python_module wsaccel >= 0.6.3}
 BuildRequires:  %{python_module zope.interface >= 5.2.0}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       python-PyNaCl >= 1.4.0
-Requires:       python-Twisted >= 24.3.0
-Requires:       python-argon2-cffi >= 20.1.0
-Requires:       python-attrs >= 20.3.0
 Requires:       python-cbor2 >= 5.2.0
-Requires:       python-cffi >= 1.14.5
+Requires:       python-cffi >= 2.0.0
 Requires:       python-cryptography >= 3.4.6
-Requires:       python-flatbuffers >= 22.12.6
 Requires:       python-hyperlink >= 21.0.0
 Requires:       python-msgpack >= 1.0.2
-Requires:       python-passlib >= 1.7.4
-Requires:       python-py-ubjson >= 0.16.1
-Requires:       python-pyOpenSSL >= 20.0.1
-Requires:       python-pytrie >= 0.4.0
-Requires:       python-qrcode >= 7.3.1
-Requires:       python-service_identity >= 18.1.0
-Requires:       python-setuptools
-Requires:       python-txaio >= 21.2.1
+Requires:       python-txaio >= 25.12.2
 Requires:       python-ujson >= 4.0.2
-Requires:       python-wsaccel >= 0.6.3
-Requires:       python-zope.interface >= 5.2.0
+# Because not vendored
+Requires:       python-flatbuffers >= 22.12.6
+# [twisted]
+Suggests:       python-Twisted >= 24.3.0
+Suggests:       python-attrs >= 20.3.0
+Suggests:       python-zope.interface >= 5.2.0
+# [accelerate]
+Suggests:       python-wsaccel >= 0.6.3
+# [encryption]
+Suggests:       python-PyNaCl >= 1.4.0
+Suggests:       python-pyOpenSSL >= 20.0.1
+Suggests:       python-service_identity >= 18.1.0
+Suggests:       python-pytrie >= 0.4.0
+Suggests:       python-base58 >= 2.1.1
+Suggests:       python-ecdsa >= 0.19.1
+Suggests:       python-qrcode >= 7.3.1
+# [scram]
+Suggests:       python-argon2-cffi >= 20.1.0
+Suggests:       python-passlib >= 1.7.4
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
 %python_subpackages
@@ -97,49 +100,62 @@
 %autosetup -p1 -n autobahn-%{version}
 
 # this test relies too much on rng that can behave randomly in obs
-rm autobahn/test/test_rng.py
+rm src/autobahn/test/test_rng.py
 
 %build
 %if %{with nvx_support}
-export AUTOBAHN_USE_NVX=true
+export AUTOBAHN_USE_NVX=1
 %endif
 export CFLAGS="%{optflags}"
 %pyproject_wheel
 
 %install
 %if %{with nvx_support}
-export AUTOBAHN_USE_NVX=true
+export AUTOBAHN_USE_NVX=1
 %endif
 %pyproject_install
 %python_clone -a %{buildroot}%{_bindir}/wamp
-%python_clone -a %{buildroot}%{_bindir}/xbrnetwork
-%python_clone -a %{buildroot}%{_bindir}/xbrnetwork-ui
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
-%if %{with nvx_support}
-# It tries to test NVX, even if disabled
 %check
-export USE_ASYNCIO=true
-export AUTOBAHN_USE_NVX=true
-export PYTHONDONTWRITEBYTECODE=1
+%if %{with nvx_support}
+export AUTOBAHN_USE_NVX=1
+%else
+export AUTOBAHN_USE_NVX=0
+%endif
+export USE_ASYNCIO=1
 export PY_IGNORE_IMPORTMISMATCH=1
+# We need to ignore twisted tests here
+export PYTEST_ADDOPTS="--ignore=src/autobahn/twisted --ignore=examples"
 %pytest_arch
-%endif
+# And then run them here
+unset USE_ASYNCIO
+export USE_TWISTED=1
+%{python_expand # line continues
+    pushd %{buildroot}%{$python_sitearch}
+    $python -m twisted.trial --no-recurse \
+        autobahn.test \
+        autobahn.twisted.test \
+        autobahn.websocket.test \
+        autobahn.rawsocket.test \
+        autobahn.wamp.test \
+        autobahn.nvx.test
+    rm -r _trial_temp
+    popd
+}
 
 %post
-%python_install_alternative wamp xbrnetwork xbrnetwork-ui
+%python_install_alternative wamp
 
 %postun
-%python_uninstall_alternative wamp xbrnetwork xbrnetwork-ui
+%python_uninstall_alternative wamp
 
 %files %{python_files}
 %license LICENSE
-%doc README.rst
-%{python_sitearch}/_nvx_utf8validator.abi3.so
+%doc README.md
+%{python_sitearch}/_nvx_*cpython-*-linux-gnu*.so
 %{python_sitearch}/autobahn
 %{python_sitearch}/twisted
 %{python_sitearch}/autobahn-%{version}.dist-info
 %python_alternative %{_bindir}/wamp
-%python_alternative %{_bindir}/xbrnetwork
-%python_alternative %{_bindir}/xbrnetwork-ui
 

++++++ autobahn-24.4.2.tar.gz -> autobahn-26.7.1.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-autobahn/autobahn-24.4.2.tar.gz 
/work/SRC/openSUSE:Factory/.python-autobahn.new.1265/autobahn-26.7.1.tar.gz 
differ: char 4, line 1

++++++ intrin-arch.patch ++++++
--- /var/tmp/diff_new_pack.EI3nIL/_old  2026-09-14 16:24:34.192072155 +0200
+++ /var/tmp/diff_new_pack.EI3nIL/_new  2026-09-14 16:24:34.195072281 +0200
@@ -1,7 +1,7 @@
-Index: autobahn-23.6.2/autobahn/nvx/_utf8validator.c
+Index: autobahn-26.7.1/src/autobahn/nvx/_utf8validator.c
 ===================================================================
---- autobahn-23.6.2.orig/autobahn/nvx/_utf8validator.c
-+++ autobahn-23.6.2/autobahn/nvx/_utf8validator.c
+--- autobahn-26.7.1.orig/src/autobahn/nvx/_utf8validator.c
++++ autobahn-26.7.1/src/autobahn/nvx/_utf8validator.c
 @@ -27,10 +27,14 @@
  #include <stdlib.h>
  #include <stdint.h>

++++++ no-flatc-entrypoint.patch ++++++
Index: autobahn-26.7.1/pyproject.toml
===================================================================
--- autobahn-26.7.1.orig/pyproject.toml
+++ autobahn-26.7.1/pyproject.toml
@@ -231,7 +231,6 @@ asyncio = []
 
 [project.scripts]
 wamp = "autobahn.__main__:_main"
-flatc = "autobahn._flatc:main"
 
 # Hatchling build configuration
 [tool.hatch.build.targets.wheel]

Reply via email to