15
0

- 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:
2022-03-09 06:00:09 +00:00
committed by Git OBS Bridge
parent d6948a83b7
commit 67da95edb3
5 changed files with 45 additions and 15 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e126c1f583e872fb59e79d36977cfa1f2d0a8a79f90ae31f406faae7664b8e03
size 351296

3
autobahn-22.2.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:60e1f4c602aacd052ffe3d46ae40b6b75f8286b3c46922c213b523162e58c17e
size 375443

View File

@@ -1,3 +1,33 @@
-------------------------------------------------------------------
Wed Mar 9 05:57:11 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
- 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
-------------------------------------------------------------------
Mon Feb 7 13:56:05 UTC 2022 - Andreas Schwab <schwab@suse.de>

View File

@@ -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

View File

@@ -9,16 +9,16 @@ This could cause 'invalid instruction' faults on older user machines.
https://bugzilla.opensuse.org/show_bug.cgi?id=1100677
Index: autobahn-20.7.1/autobahn/nvx/_utf8validator.py
Index: autobahn-22.2.2/autobahn/nvx/_utf8validator.py
===================================================================
--- autobahn-20.7.1.orig/autobahn/nvx/_utf8validator.py
+++ autobahn-20.7.1/autobahn/nvx/_utf8validator.py
@@ -50,7 +50,7 @@ with open(os.path.join(os.path.dirname(_
--- autobahn-22.2.2.orig/autobahn/nvx/_utf8validator.py
+++ autobahn-22.2.2/autobahn/nvx/_utf8validator.py
@@ -54,7 +54,7 @@ with open(os.path.join(os.path.dirname(_
"_nvx_utf8validator",
c_source,
libraries=[],
- extra_compile_args=['-std=c99', '-Wall', '-Wno-strict-prototypes', '-O3', '-march=native']
+ extra_compile_args=['-std=c99', '-Wall', '-Wno-strict-prototypes']
- extra_compile_args=['-std=c99', '-Wall', '-Wno-strict-prototypes', '-O3', '-march=native'],
+ extra_compile_args=['-std=c99', '-Wall', '-Wno-strict-prototypes'],
optional=optional
)