forked from pool/python-autobahn
- Update to 22.2.2:
* fix: auto ping/pong logs should be debug instead of info (#1524) * new: add auto-ping/pong configuration knob autoPingRestartOnAnyTraffic (see discussion here). * new: extended websocket auto-ping/pong ("heartbeating") with builtin RTT measurement * new: experimental support for transaction_hash in WAMP Publish/Call (see discussion here). * new: support decimal numbers WAMP serialization and round-tripping in both JSON and CBOR * fix: only depend on cbor2 (for WAMP CBOR serialization), not also cbor * fix: PyInstaller and Docker build / CI issues * new: support Python 3.10 * new: allow optional keys in endpoint config validation * fix: reset transport retry status when connection succeeds * fix: update Docker/PyPy to pypy:3.8-slim * fix: autobahn installation in docker (#1503) * new: refactor SigningKey class for reusability (#1500, #1501) * new: expand XBR node pairing helpers * fix: build with nvx by default and don't publish universal wheel. (#1493) * fix: update wamp flatbuffer schema for r2r links * fix: don't clobber factory (#1480) * fix: explicitly require setuptools * new: expand wamp auth scram and xbr argon2/hkdf (#1479) * fix: WebSocket compression, window size (zlib wbits) == 8 is illegal nowerdays (#1477) * fix: XBR IDL code generator - all 4 WAMP actions working now * new: add automated build of xbrnetwork CLI (single-file EXE) in CI - Remove python-mock BuildRequires - Rebase respect-cflags.patch - Ship the xbrnetwork-ui cli tool OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-autobahn?expand=0&rev=57
This commit is contained in:
@@ -24,9 +24,8 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} %{!?skip_python3:python3-%{**}}}
|
||||
%define skip_python2 1
|
||||
%define skip_python36 1
|
||||
Name: python-autobahn
|
||||
Version: 21.3.1
|
||||
Version: 22.2.2
|
||||
Release: 0
|
||||
Summary: WebSocket and WAMP in Python for Twisted and asyncio
|
||||
License: MIT
|
||||
@@ -46,7 +45,6 @@ BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module flatbuffers >= 1.12}
|
||||
BuildRequires: %{python_module hyperlink >= 21.0.0}
|
||||
BuildRequires: %{python_module lz4 >= 0.7.0}
|
||||
BuildRequires: %{python_module mock >= 1.3.0}
|
||||
BuildRequires: %{python_module msgpack >= 1.0.2}
|
||||
BuildRequires: %{python_module passlib >= 1.7.4}
|
||||
BuildRequires: %{python_module py-ubjson >= 0.16.1}
|
||||
@@ -114,6 +112,7 @@ export AUTOBAHN_USE_NVX=true
|
||||
%python_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/wamp
|
||||
%python_clone -a %{buildroot}%{_bindir}/xbrnetwork
|
||||
%python_clone -a %{buildroot}%{_bindir}/xbrnetwork-ui
|
||||
%if %{with nvx_support}
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
%else
|
||||
@@ -131,10 +130,10 @@ export PY_IGNORE_IMPORTMISMATCH=1
|
||||
%endif
|
||||
|
||||
%post
|
||||
%python_install_alternative wamp xbrnetwork
|
||||
%python_install_alternative wamp xbrnetwork xbrnetwork-ui
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative wamp xbrnetwork
|
||||
%python_uninstall_alternative wamp xbrnetwork xbrnetwork-ui
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
@@ -146,5 +145,6 @@ export PY_IGNORE_IMPORTMISMATCH=1
|
||||
%endif
|
||||
%python_alternative %{_bindir}/wamp
|
||||
%python_alternative %{_bindir}/xbrnetwork
|
||||
%python_alternative %{_bindir}/xbrnetwork-ui
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user