BSD Ports

www/py-autobahn 26.7.1 NetBSD

WebSocket client and server library, WAMP real-time framework

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
3595ad509b
License
mit
Categories
www, python
Package size
822.2 KiB, 8026.0 KiB installed

Description

Autobahn|Python is a subproject of Autobahn and provides open-source implementations of

The WebSocket Protocol
The Web Application Messaging Protocol (WAMP)

for Python 2 and 3, and running on Twisted and asyncio.

You can use Autobahn|Python to create clients and servers in Python speaking just plain WebSocket or WAMP.

WebSocket allows bidirectional real-time messaging on the Web and beyond, while WAMP adds real-time application communication on top of WebSocket.

WAMP provides asynchronous Remote Procedure Calls and Publish & Subscribe for applications in one protocol running over WebSocket. WAMP is a routed protocol, so you need a WAMP Router to connect your Autobahn|Python based clients. We provide Crossbar.io, but there are other options as well.

In the other systems

SystemPortVersion
NetBSDwww/py-autobahn26.7.1
FreeBSDwww/py-autobahn26.7.1
OpenBSDwww/py-autobahn26.7.1
DragonFlywww/py-autobahn24.4.2_1
MidnightBSDwww/py-autobahn24.4.2_1
HardenedBSDwww/py-autobahn26.7.1
GhostBSDwww/py-autobahn26.6.2

Install

Binary package:

pkgin install py311-autobahn

From pkgsrc:

cd /usr/pkgsrc/www/py-autobahn && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_6426.7.1
NetBSD 10.1 aarch6425.12.2
SmartOS / illumos x86_6426.7.1
macOS 15 arm6426.7.1

Dependencies

Run dependencies 8

Configuration

No options to configure.

Service scripts
none
Flavors
py312-autobahn-26.7.1, py313-autobahn-26.7.1, py314-autobahn-26.7.1

Commit history 3

DateCommitCreditsLog message
3595ad509b adam py-autobahn: updated to 26.7.1
26.7.1 ------ **Security** …
61ad8add5e gdt www/py-autobahn: Remediate upstream choice to be non-portable
Upstream decided that x86-64 now means x86-64-v2, but that motion has not been proposed, much less passed, in NetBSD and pkgsrc. Work around this with a buildlink transform, similar to how upstream's attempted use of -march-native is avoided.
63275144f7 adam 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