Lukas Fleischer pushed to branch main at Arch Linux / Packaging / Packages /
python-autobahn
Commits:
07a5b696 by Lukas Fleischer at 2026-11-12T19:21:08-05:00
upgpkg: 26.11.1-1: upstream release
Closes archlinux/packaging/packages/python-autobahn#6
- - - - -
5 changed files:
- .SRCINFO
- PKGBUILD
- REUSE.toml
- + fix-lazy-import-parent-binding.patch
- − fix-max-message-size-test.patch
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = python-autobahn
pkgdesc = Real-time framework for Web, Mobile & Internet of Things
- pkgver = 26.7.1
- pkgrel = 2
+ pkgver = 26.11.1
+ pkgrel = 1
url = https://github.com/crossbario/autobahn-python/
arch = x86_64
license = MIT
@@ -55,11 +55,11 @@ pkgbase = python-autobahn
optdepends = python-snappy: snappy compression support for WebSocket
messages
optdepends = python-click: for text highlights
optdepends = python-txtorcon: connections to Tor Onion services
- source =
git+https://github.com/crossbario/autobahn-python.git#tag=v26.7.1
+ source =
git+https://github.com/crossbario/autobahn-python.git#tag=v26.11.1
source = remove-march-flags-for-safe-builds.patch
- source = fix-max-message-size-test.patch
- sha256sums =
6b21f854f40496cf2ab328c7ecf8dfa6f3c346e4ca5f9b1fbaf6f460a45ccc22
+ source = fix-lazy-import-parent-binding.patch
+ sha256sums =
a08ad7ca4e557b1fadf3092b25508e2830f8a88970548e6ad7afa32e8005ed79
sha256sums =
a27e5bb67aee427a2bd038a9d1bc0d2d2d34a90521fed1a5288a3cec5bfc9f7c
- sha256sums =
62f54753720289c14055822067d4b08fe37450572e0d3dd723a9e0bf42409405
+ sha256sums =
b942bb00c7a6b8152e7c6bf4ad0f17319106cb503d20c336da1e484cda88330d
pkgname = python-autobahn
=====================================
PKGBUILD
=====================================
@@ -5,8 +5,8 @@
pkgname=python-autobahn
# https://github.com/crossbario/autobahn-python/blob/master/docs/changelog.rst
-pkgver=26.7.1
-pkgrel=2
+pkgver=26.11.1
+pkgrel=1
pkgdesc='Real-time framework for Web, Mobile & Internet of Things'
arch=(x86_64)
url='https://github.com/crossbario/autobahn-python/'
@@ -41,15 +41,17 @@ optdepends=(
source=("git+https://github.com/crossbario/autobahn-python.git#tag=v$pkgver"
'remove-march-flags-for-safe-builds.patch'
- 'fix-max-message-size-test.patch')
-sha256sums=('6b21f854f40496cf2ab328c7ecf8dfa6f3c346e4ca5f9b1fbaf6f460a45ccc22'
+ 'fix-lazy-import-parent-binding.patch')
+sha256sums=('a08ad7ca4e557b1fadf3092b25508e2830f8a88970548e6ad7afa32e8005ed79'
'a27e5bb67aee427a2bd038a9d1bc0d2d2d34a90521fed1a5288a3cec5bfc9f7c'
- '62f54753720289c14055822067d4b08fe37450572e0d3dd723a9e0bf42409405')
+ 'b942bb00c7a6b8152e7c6bf4ad0f17319106cb503d20c336da1e484cda88330d')
prepare() {
cd "$srcdir/autobahn-python"
+
patch -Np1 -i ../remove-march-flags-for-safe-builds.patch
- patch -Np1 -i ../fix-max-message-size-test.patch
+ patch -Np1 -i ../fix-lazy-import-parent-binding.patch
+
sed -i '/flatc/d' pyproject.toml
}
=====================================
REUSE.toml
=====================================
@@ -24,7 +24,7 @@ SPDX-License-Identifier = "0BSD"
[[annotations]]
path = [
- "fix-max-message-size-test.patch",
+ "fix-lazy-import-parent-binding.patch",
]
SPDX-FileCopyrightText = "python-autobahn contributors"
SPDX-License-Identifier = "MIT"
=====================================
fix-lazy-import-parent-binding.patch
=====================================
@@ -0,0 +1,15 @@
+diff --git a/src/autobahn/wamp/message.py b/src/autobahn/wamp/message.py
+index bb817cb..2357d6b 100644
+--- a/src/autobahn/wamp/message.py
++++ b/src/autobahn/wamp/message.py
+@@ -53,6 +53,10 @@ def _lazy_import(name):
+ module = importlib.util.module_from_spec(spec)
+ sys.modules[name] = module
+ spec.loader.exec_module(module)
++ # bind the submodule on its parent package, as a regular import would
++ parent, _, child = name.rpartition(".")
++ if parent:
++ setattr(sys.modules[parent], child, module)
+ return module
+
+
=====================================
fix-max-message-size-test.patch deleted
=====================================
@@ -1,13 +0,0 @@
-diff --git a/src/autobahn/websocket/test/test_websocket_max_message_size.py
b/src/autobahn/websocket/test/test_websocket_max_message_size.py
-index 40564c72..cd71be9f 100644
---- a/src/autobahn/websocket/test/test_websocket_max_message_size.py
-+++ b/src/autobahn/websocket/test/test_websocket_max_message_size.py
-@@ -214,7 +214,7 @@ class
WebSocketMaxMessagePayloadSizeTests(unittest.TestCase):
- streaming processing modes.
- """
-
-- LIMIT = 128
-+ LIMIT = 256
- BIG = b"x" * 4096 # inflates well beyond LIMIT, compresses to a few bytes
-
- def _run(self, codec, streaming):
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-autobahn/-/commit/07a5b696ea69dbf710a50236c725a50609f342e6
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-autobahn/-/commit/07a5b696ea69dbf710a50236c725a50609f342e6
You're receiving this email because of your account on gitlab.archlinux.org.
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications
| Help: https://gitlab.archlinux.org/help