commit python-autobahn for openSUSE:Factory

2020-08-31 Thread root
Hello community,

here is the log from the commit of package python-autobahn for openSUSE:Factory 
checked in at 2020-08-31 16:53:19

Comparing /work/SRC/openSUSE:Factory/python-autobahn (Old)
 and  /work/SRC/openSUSE:Factory/.python-autobahn.new.3399 (New)


Package is "python-autobahn"

Mon Aug 31 16:53:19 2020 rev:14 rq:830724 version:20.7.1

Changes:

--- /work/SRC/openSUSE:Factory/python-autobahn/python-autobahn.changes  
2020-08-20 22:31:34.824058539 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-autobahn.new.3399/python-autobahn.changes
2020-08-31 16:53:40.068453838 +0200
@@ -1,0 +2,5 @@
+Mon Aug 31 10:06:55 UTC 2020 - Guillaume GARDET 
+
+- Fix installation path when NVX is not used (fix aarch64)
+
+---



Other differences:
--
++ python-autobahn.spec ++
--- /var/tmp/diff_new_pack.P4XQTK/_old  2020-08-31 16:53:40.860454222 +0200
+++ /var/tmp/diff_new_pack.P4XQTK/_new  2020-08-31 16:53:40.864454224 +0200
@@ -110,7 +110,11 @@
 %python_install
 %python_clone -a %{buildroot}%{_bindir}/wamp
 %python_clone -a %{buildroot}%{_bindir}/xbrnetwork
+%if %{with nvx_support}
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
+%else
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
 
 %if %{with nvx_support}
 # It tries to test NVX, even if disabled
@@ -131,7 +135,11 @@
 %files %{python_files}
 %license LICENSE
 %doc README.rst
+%if %{with nvx_support}
 %{python_sitearch}/*
+%else
+%{python_sitelib}/*
+%endif
 %python_alternative %{_bindir}/wamp
 %python_alternative %{_bindir}/xbrnetwork
 




commit python-autobahn for openSUSE:Factory

2020-08-20 Thread root
Hello community,

here is the log from the commit of package python-autobahn for openSUSE:Factory 
checked in at 2020-08-20 22:31:26

Comparing /work/SRC/openSUSE:Factory/python-autobahn (Old)
 and  /work/SRC/openSUSE:Factory/.python-autobahn.new.3399 (New)


Package is "python-autobahn"

Thu Aug 20 22:31:26 2020 rev:13 rq:828104 version:20.7.1

Changes:

--- /work/SRC/openSUSE:Factory/python-autobahn/python-autobahn.changes  
2020-07-24 12:10:37.081878652 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-autobahn.new.3399/python-autobahn.changes
2020-08-20 22:31:34.824058539 +0200
@@ -1,0 +2,5 @@
+Thu Aug 20 08:47:52 UTC 2020 - Guillaume GARDET 
+
+- Do not use NVX on %arm and aarch64
+
+---



Other differences:
--
++ python-autobahn.spec ++
--- /var/tmp/diff_new_pack.bkYkxr/_old  2020-08-20 22:31:35.876059031 +0200
+++ /var/tmp/diff_new_pack.bkYkxr/_new  2020-08-20 22:31:35.880059033 +0200
@@ -15,6 +15,11 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
+%ifarch %arm aarch64
+%bcond_with nvx_support
+%else
+%bcond_without nvx_support
+%endif
 
 %{?!python_module:%define python_module() python-%{**} 
%{!?skip_python3:python3-%{**}}}
 %define skip_python2 1
@@ -92,23 +97,30 @@
 rm autobahn/test/test_rng.py
 
 %build
+%if %{with nvx_support}
 export AUTOBAHN_USE_NVX=true
+%endif
 export CFLAGS="%{optflags}"
 %python_build
 
 %install
+%if %{with nvx_support}
 export AUTOBAHN_USE_NVX=true
+%endif
 %python_install
 %python_clone -a %{buildroot}%{_bindir}/wamp
 %python_clone -a %{buildroot}%{_bindir}/xbrnetwork
 %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
 export PY_IGNORE_IMPORTMISMATCH=1
 %pytest_arch
+%endif
 
 %post
 %python_install_alternative wamp xbrnetwork




commit python-autobahn for openSUSE:Factory

2020-07-24 Thread root
Hello community,

here is the log from the commit of package python-autobahn for openSUSE:Factory 
checked in at 2020-07-24 12:10:27

Comparing /work/SRC/openSUSE:Factory/python-autobahn (Old)
 and  /work/SRC/openSUSE:Factory/.python-autobahn.new.3592 (New)


Package is "python-autobahn"

Fri Jul 24 12:10:27 2020 rev:12 rq:822557 version:20.7.1

Changes:

--- /work/SRC/openSUSE:Factory/python-autobahn/python-autobahn.changes  
2020-07-21 15:50:28.448301880 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-autobahn.new.3592/python-autobahn.changes
2020-07-24 12:10:37.081878652 +0200
@@ -1,0 +2,7 @@
+Thu Jul 23 14:42:38 UTC 2020 - Berthold Gunreben 
+
+- Add patch to include correct intrin.h for s390
+  * intrin-arch.patch
+- Minor patch refresh for respect-cflags.patch
+
+---

New:

  intrin-arch.patch



Other differences:
--
++ python-autobahn.spec ++
--- /var/tmp/diff_new_pack.CbQycA/_old  2020-07-24 12:10:39.089880672 +0200
+++ /var/tmp/diff_new_pack.CbQycA/_new  2020-07-24 12:10:39.089880672 +0200
@@ -26,6 +26,7 @@
 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
 BuildRequires:  %{python_module PyNaCl >= 1.0.1}
 BuildRequires:  %{python_module PyQRCode >= 1.1}
 BuildRequires:  %{python_module Twisted >= 20.3.0}
@@ -85,6 +86,7 @@
 %prep
 %setup -q -n autobahn-%{version}
 %patch0 -p1
+%patch1 -p1
 
 # this test relies too much on rng that can behave randomly in obs
 rm autobahn/test/test_rng.py

++ intrin-arch.patch ++
Index: autobahn-20.7.1/autobahn/nvx/_utf8validator.c
===
--- autobahn-20.7.1.orig/autobahn/nvx/_utf8validator.c
+++ autobahn-20.7.1/autobahn/nvx/_utf8validator.c
@@ -27,8 +27,12 @@
 #include 
 #include 
 
+#ifdef __s390__
+#include 
+#else
 // http://stackoverflow.com/questions/11228855/header-files-for-simd-intrinsics
 #include 
+#endif
 
 
 #define UTF8_ACCEPT 0
++ respect-cflags.patch ++
--- /var/tmp/diff_new_pack.CbQycA/_old  2020-07-24 12:10:39.133880716 +0200
+++ /var/tmp/diff_new_pack.CbQycA/_new  2020-07-24 12:10:39.133880716 +0200
@@ -9,11 +9,11 @@
 
 https://bugzilla.opensuse.org/show_bug.cgi?id=1100677
 
-Index: autobahn-19.3.3/autobahn/nvx/_utf8validator.py
+Index: autobahn-20.7.1/autobahn/nvx/_utf8validator.py
 ===
 autobahn-19.3.3.orig/autobahn/nvx/_utf8validator.py
-+++ autobahn-19.3.3/autobahn/nvx/_utf8validator.py
-@@ -52,7 +52,7 @@ with open(os.path.join(os.path.dirname(_
+--- 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(_
  "_nvx_utf8validator",
  c_source,
  libraries=[],




commit python-autobahn for openSUSE:Factory

2020-07-21 Thread root
Hello community,

here is the log from the commit of package python-autobahn for openSUSE:Factory 
checked in at 2020-07-21 15:48:49

Comparing /work/SRC/openSUSE:Factory/python-autobahn (Old)
 and  /work/SRC/openSUSE:Factory/.python-autobahn.new.3592 (New)


Package is "python-autobahn"

Tue Jul 21 15:48:49 2020 rev:11 rq:821997 version:20.7.1

Changes:

--- /work/SRC/openSUSE:Factory/python-autobahn/python-autobahn.changes  
2020-07-08 19:13:44.043263055 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-autobahn.new.3592/python-autobahn.changes
2020-07-21 15:50:28.448301880 +0200
@@ -1,0 +2,6 @@
+Tue Jul 21 05:51:09 UTC 2020 - Steve Kowalik 
+
+- Update to 20.7.1:
+  * new: add market login eip. expose helpers 
+
+---

Old:

  autobahn-20.6.2.tar.gz

New:

  autobahn-20.7.1.tar.gz



Other differences:
--
++ python-autobahn.spec ++
--- /var/tmp/diff_new_pack.tVuLCD/_old  2020-07-21 15:50:29.624303334 +0200
+++ /var/tmp/diff_new_pack.tVuLCD/_new  2020-07-21 15:50:29.628303339 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} 
%{!?skip_python3:python3-%{**}}}
 %define skip_python2 1
 Name:   python-autobahn
-Version:20.6.2
+Version:20.7.1
 Release:0
 Summary:WebSocket and WAMP in Python for Twisted and asyncio
 License:MIT

++ autobahn-20.6.2.tar.gz -> autobahn-20.7.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autobahn-20.6.2/PKG-INFO new/autobahn-20.7.1/PKG-INFO
--- old/autobahn-20.6.2/PKG-INFO2020-06-29 09:33:05.876791000 +0200
+++ new/autobahn-20.7.1/PKG-INFO2020-07-18 01:09:48.359207000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: autobahn
-Version: 20.6.2
+Version: 20.7.1
 Summary: WebSocket client & server library, WAMP real-time framework
 Home-page: http://crossbar.io/autobahn
 Author: Crossbar.io Technologies GmbH
@@ -312,14 +312,14 @@
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
 Classifier: Topic :: Software Development :: Object Brokering
 Requires-Python: >=3.5
+Provides-Extra: encryption
+Provides-Extra: nvx
+Provides-Extra: dev
+Provides-Extra: asyncio
+Provides-Extra: xbr
+Provides-Extra: scram
 Provides-Extra: compress
 Provides-Extra: serialization
 Provides-Extra: all
-Provides-Extra: asyncio
-Provides-Extra: dev
 Provides-Extra: twisted
-Provides-Extra: nvx
-Provides-Extra: scram
-Provides-Extra: xbr
-Provides-Extra: encryption
 Provides-Extra: accelerate
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autobahn-20.6.2/autobahn/_version.py 
new/autobahn-20.7.1/autobahn/_version.py
--- old/autobahn-20.6.2/autobahn/_version.py2020-06-29 09:31:57.0 
+0200
+++ new/autobahn-20.7.1/autobahn/_version.py2020-07-18 01:09:06.0 
+0200
@@ -24,4 +24,4 @@
 #
 ###
 
-__version__ = '20.6.2'
+__version__ = '20.7.1'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autobahn-20.6.2/autobahn/xbr/__init__.py 
new/autobahn-20.7.1/autobahn/xbr/__init__.py
--- old/autobahn-20.6.2/autobahn/xbr/__init__.py2020-06-23 
22:25:34.0 +0200
+++ new/autobahn-20.7.1/autobahn/xbr/__init__.py2020-07-13 
22:48:27.0 +0200
@@ -48,6 +48,10 @@
 from autobahn.xbr._eip712_consent import sign_eip712_consent, 
recover_eip712_consent  # noqa
 from autobahn.xbr._eip712_channel_open import sign_eip712_channel_open, 
recover_eip712_channel_open  # noqa
 from autobahn.xbr._eip712_channel_close import sign_eip712_channel_close, 
recover_eip712_channel_close  # noqa
+from autobahn.xbr._eip712_market_member_login import 
sign_eip712_market_member_login, \
+recover_eip712_market_member_login  # noqa
+from autobahn.xbr._eip712_base import is_address, is_chain_id, 
is_block_number, is_signature, \
+is_cs_pubkey, is_bytes16, is_eth_privkey  # noqa
 
 from autobahn.xbr._blockchain import SimpleBlockchain  # noqa
 from autobahn.xbr._seller import SimpleSeller, KeySeries  # noqa
@@ -296,6 +300,16 @@
 'recover_eip712_channel_open',
 'sign_eip712_channel_close',
 'recover_eip712_channel_close',
+'sign_eip712_market_member_login',
+'recover_eip712_market_member_login',
+
+'is_bytes16',
+'is_cs_pubkey',
+'is_signature',
+'is_chain_id',
+'is_eth_privkey',
+'is_block_number',
+'is_address',
 
 'load_or_create_profile',
 'UserConfig',
diff -urN '--exclude=CVS' 

commit python-autobahn for openSUSE:Factory

2020-07-08 Thread root
Hello community,

here is the log from the commit of package python-autobahn for openSUSE:Factory 
checked in at 2020-07-08 19:13:28

Comparing /work/SRC/openSUSE:Factory/python-autobahn (Old)
 and  /work/SRC/openSUSE:Factory/.python-autobahn.new.3060 (New)


Package is "python-autobahn"

Wed Jul  8 19:13:28 2020 rev:10 rq:819310 version:20.6.2

Changes:

--- /work/SRC/openSUSE:Factory/python-autobahn/python-autobahn.changes  
2020-06-24 15:48:04.936203640 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-autobahn.new.3060/python-autobahn.changes
2020-07-08 19:13:44.043263055 +0200
@@ -1,0 +2,10 @@
+Wed Jul  8 02:19:00 UTC 2020 - Steve Kowalik 
+
+- Update to 20.6.2:
+  * fix: xbr fixes (#1396)
+  * fix: use cpy 3.8 for running flake in CI
+  * new: Ticket1392 internal attrs (#1394)
+  * new: internal-only router attributes and hook for router to add custom
+information 
+
+---

Old:

  autobahn-20.6.1.tar.gz

New:

  autobahn-20.6.2.tar.gz



Other differences:
--
++ python-autobahn.spec ++
--- /var/tmp/diff_new_pack.cNNxJw/_old  2020-07-08 19:13:47.135274068 +0200
+++ /var/tmp/diff_new_pack.cNNxJw/_new  2020-07-08 19:13:47.135274068 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} 
%{!?skip_python3:python3-%{**}}}
 %define skip_python2 1
 Name:   python-autobahn
-Version:20.6.1
+Version:20.6.2
 Release:0
 Summary:WebSocket and WAMP in Python for Twisted and asyncio
 License:MIT

++ autobahn-20.6.1.tar.gz -> autobahn-20.6.2.tar.gz ++
 28093 lines of diff (skipped)




commit python-autobahn for openSUSE:Factory

2020-06-24 Thread root
Hello community,

here is the log from the commit of package python-autobahn for openSUSE:Factory 
checked in at 2020-06-24 15:47:56

Comparing /work/SRC/openSUSE:Factory/python-autobahn (Old)
 and  /work/SRC/openSUSE:Factory/.python-autobahn.new.2956 (New)


Package is "python-autobahn"

Wed Jun 24 15:47:56 2020 rev:9 rq:814607 version:20.6.1

Changes:

--- /work/SRC/openSUSE:Factory/python-autobahn/python-autobahn.changes  
2020-04-21 13:07:05.172383750 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-autobahn.new.2956/python-autobahn.changes
2020-06-24 15:48:04.936203640 +0200
@@ -1,0 +2,28 @@
+Mon Jun 15 04:37:00 UTC 2020 - Steve Kowalik 
+
+- Update to 20.6.1:
+  * new: massive expansion of XBR CLI and EIP712 helpers
+  * new: more (exhaustive) serializer cross-tripping tests
+  * fix: some code quality and bug-risk issues (#1379)
+  * fix: removed externalPort assignment when not set (#1378)
+  * fix: docs link in README (#1381)
+  * fix: docs typo frameword -> framework (#1380)
+  * fix: improve logging; track results on observable mixin
+  * new: add environmental variable that strips xbr. (#1374)
+  * fix: trollius is gone (#1373)
+  * new: added ability to disable TLS channel binding (#1368)
+- Correct BuildRequires/Requires (boo#1172126)
+
+---
+Sun Jun 14 08:49:49 UTC 2020 - Dirk Mueller 
+
+- update to 20.4.3:
+  * new: XBR CLI (#1367)
+  * fix: add missing XBR dependency py-multihash
+
+---
+Wed May 27 09:36:10 UTC 2020 - Petr Gajdos 
+
+- %python3_only -> %python_alternative
+
+---

Old:

  autobahn-20.4.2.tar.gz

New:

  autobahn-20.6.1.tar.gz



Other differences:
--
++ python-autobahn.spec ++
--- /var/tmp/diff_new_pack.f2xma9/_old  2020-06-24 15:48:06.376208889 +0200
+++ /var/tmp/diff_new_pack.f2xma9/_new  2020-06-24 15:48:06.380208903 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} 
%{!?skip_python3:python3-%{**}}}
 %define skip_python2 1
 Name:   python-autobahn
-Version:20.4.2
+Version:20.6.1
 Release:0
 Summary:WebSocket and WAMP in Python for Twisted and asyncio
 License:MIT
@@ -28,8 +28,9 @@
 Patch0: respect-cflags.patch
 BuildRequires:  %{python_module PyNaCl >= 1.0.1}
 BuildRequires:  %{python_module PyQRCode >= 1.1}
-BuildRequires:  %{python_module Twisted >= 12.1.0}
+BuildRequires:  %{python_module Twisted >= 20.3.0}
 BuildRequires:  %{python_module argon2-cffi >= 18.1.0}
+BuildRequires:  %{python_module attrs >= 19.2.0}
 BuildRequires:  %{python_module cbor >= 1.0.0}
 BuildRequires:  %{python_module cbor2 >= 4.1.2}
 BuildRequires:  %{python_module cffi >= 1.11.5}
@@ -53,9 +54,10 @@
 BuildRequires:  %{python_module zope.interface >= 3.6.0}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:   python-attrs >= 19.2.0
 Requires:   python3-PyNaCl >= 1.0.1
 Requires:   python3-PyQRCode >= 1.1
-Requires:   python3-Twisted >= 12.1.0
+Requires:   python3-Twisted >= 20.3.0
 Requires:   python3-argon2-cffi >= 18.1.0
 Requires:   python3-cbor >= 1.0.0
 Requires:   python3-cbor2 >= 4.1.2
@@ -72,6 +74,8 @@
 Requires:   python3-ujson >= 1.35
 Requires:   python3-wsaccel >= 0.6.2
 Requires:   python3-zope.interface >= 3.6.0
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 %python_subpackages
 
 %description
@@ -93,6 +97,8 @@
 %install
 export AUTOBAHN_USE_NVX=true
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/wamp
+%python_clone -a %{buildroot}%{_bindir}/xbrnetwork
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %check
@@ -102,10 +108,17 @@
 export PY_IGNORE_IMPORTMISMATCH=1
 %pytest_arch
 
+%post
+%python_install_alternative wamp xbrnetwork
+
+%postun
+%python_uninstall_alternative wamp xbrnetwork
+
 %files %{python_files}
 %license LICENSE
 %doc README.rst
 %{python_sitearch}/*
-%python3_only %{_bindir}/wamp
+%python_alternative %{_bindir}/wamp
+%python_alternative %{_bindir}/xbrnetwork
 
 %changelog

++ autobahn-20.4.2.tar.gz -> autobahn-20.6.1.tar.gz ++
 310051 lines of diff (skipped)




commit python-autobahn for openSUSE:Factory

2020-04-21 Thread root
Hello community,

here is the log from the commit of package python-autobahn for openSUSE:Factory 
checked in at 2020-04-21 13:07:03

Comparing /work/SRC/openSUSE:Factory/python-autobahn (Old)
 and  /work/SRC/openSUSE:Factory/.python-autobahn.new.2738 (New)


Package is "python-autobahn"

Tue Apr 21 13:07:03 2020 rev:8 rq:795683 version:20.4.2

Changes:

--- /work/SRC/openSUSE:Factory/python-autobahn/python-autobahn.changes  
2019-09-26 20:39:02.306894479 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-autobahn.new.2738/python-autobahn.changes
2020-04-21 13:07:05.172383750 +0200
@@ -1,0 +2,56 @@
+Mon Apr 20 05:41:32 UTC 2020 - Steve Kowalik 
+
+- Update to 20.4.2:
+  * new: XBR - adjust eip712 signature for channel close
+  * new: XBR - adjustments after xbr refactoring (#1357)
+  * new: XBR - add channel open/close eip712 types to AB (#1358)
+  * new: WAMP-cryptosign - make channel_id_type optional in 
transport_channel_id()
+  * new: expose new XBR top-level contracts
+  * fix: bump dependencies versions for attrs and identity (#1346)
+  * fix: FrontendProxyProtocol object has no attribute 'write' (#1339)
+  * fix: WAMP-cryptosign authid is not mandatory; reduce log noise (#1340)
+  * fix: confusion between paying and payment channel (#1337)
+  * new: forward explicitly set app level errors from ApplicationRunner.run() 
(#1336)
+  * fix: simple typo: hookinh -> hooking (#1333)
+  * new: update for xbr v20.3.1
+  * fix: for #1327 - cancel Auto Ping Timeout (#1328)
+  * new: helper function to create a configured Web3 blockchain connection 
(#1329)
+  * fix: add AuthAnonymous to __all__ (#1303)
+  * fix: CI building (caching?) issue "corrupt ZIP file"
+  * fix: update docker image build scripts and add ARM64/PyPy
+  * fix: use :func:`txaio.time_ns` and drop deprecated 
:func:`autobahn.util.time_ns`
+  * fix: update project README and docs for supported python versions (#1296)
+  * fix: WebSocket protocol instances now raise 
autobahn.exception.Disconnected when sending on a closed connection (#1002)
+  * fix: version conflict in xbr downstream application dependency 
(crossbarfx) (#1295)
+  * fix: add python_requires>=3.5 to prevent installation on python 2 (#1293)
+  * fix: first part of cleaning up code, dropping Python 2 support (#1282).
+  * fix: add docs for parameters to component.py (#1276)
+  * new: statistics tracking on WAMP serializers 
:class:`autobahn.wamp.serializer.Serializer`
+  * new: helper :func:`autobahn.util.time_ns`
+- No longer build for Python 2
+- Update BuildRequires.
+
+---
+Wed Dec 11 11:53:12 UTC 2019 - Tomáš Chvátal 
+
+- Skip rng tests as they randomly fail in obs
+
+---
+Tue Dec  3 14:28:53 UTC 2019 - Tomáš Chvátal 
+
+- Update to 19.11.1:
+  * packaging fixes
+
+---
+Wed Oct  9 08:44:16 UTC 2019 - Tomáš Chvátal 
+
+- Update to 19.10.1:
+  * various minor bugfixes mostly
+
+---
+Tue Sep 24 12:05:29 UTC 2019 - Tomáš Chvátal 
+
+- Update to 19.9.3:
+  * packaging fixes
+
+---

Old:

  autobahn-19.9.2.tar.gz

New:

  autobahn-20.4.2.tar.gz



Other differences:
--
++ python-autobahn.spec ++
--- /var/tmp/diff_new_pack.QXdR4E/_old  2020-04-21 13:07:06.112385625 +0200
+++ /var/tmp/diff_new_pack.QXdR4E/_new  2020-04-21 13:07:06.116385633 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-autobahn
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,12 +17,12 @@
 
 
 %{?!python_module:%define python_module() python-%{**} 
%{!?skip_python3:python3-%{**}}}
+%define skip_python2 1
 Name:   python-autobahn
-Version:19.9.2
+Version:20.4.2
 Release:0
 Summary:WebSocket and WAMP in Python for Twisted and asyncio
 License:MIT
-Group:  Development/Languages/Python
 URL:https://github.com/crossbario/autobahn-python
 Source: 
https://files.pythonhosted.org/packages/source/a/autobahn/autobahn-%{version}.tar.gz
 Patch0: respect-cflags.patch
@@ -42,44 +42,36 @@
 BuildRequires:  %{python_module py-ubjson >= 0.8.4}
 BuildRequires:  %{python_module pyOpenSSL >= 16.2.0}
 BuildRequires:  %{python_module pytest >= 2.8.6}
+BuildRequires:  %{python_module pytest-aiohttp}
+BuildRequires:  %{python_module pytest-asyncio}
 BuildRequires:  

commit python-autobahn for openSUSE:Factory

2019-09-26 Thread root
Hello community,

here is the log from the commit of package python-autobahn for openSUSE:Factory 
checked in at 2019-09-26 20:38:58

Comparing /work/SRC/openSUSE:Factory/python-autobahn (Old)
 and  /work/SRC/openSUSE:Factory/.python-autobahn.new.2352 (New)


Package is "python-autobahn"

Thu Sep 26 20:38:58 2019 rev:7 rq:732185 version:19.9.2

Changes:

--- /work/SRC/openSUSE:Factory/python-autobahn/python-autobahn.changes  
2019-05-22 15:39:29.386520085 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-autobahn.new.2352/python-autobahn.changes
2019-09-26 20:39:02.306894479 +0200
@@ -1,0 +2,6 @@
+Fri Sep 13 12:43:37 UTC 2019 - Tomáš Chvátal 
+
+- Update to 19.9.2:
+  * Various bugfixes mostly, not many features
+
+---

Old:

  autobahn-19.5.1.tar.gz

New:

  autobahn-19.9.2.tar.gz



Other differences:
--
++ python-autobahn.spec ++
--- /var/tmp/diff_new_pack.V6e5uz/_old  2019-09-26 20:39:02.946892769 +0200
+++ /var/tmp/diff_new_pack.V6e5uz/_new  2019-09-26 20:39:02.950892758 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} 
%{!?skip_python3:python3-%{**}}}
 Name:   python-autobahn
-Version:19.5.1
+Version:19.9.2
 Release:0
 Summary:WebSocket and WAMP in Python for Twisted and asyncio
 License:MIT

++ autobahn-19.5.1.tar.gz -> autobahn-19.9.2.tar.gz ++
 96035 lines of diff (skipped)




commit python-autobahn for openSUSE:Factory

2019-05-22 Thread root
Hello community,

here is the log from the commit of package python-autobahn for openSUSE:Factory 
checked in at 2019-05-22 15:39:27

Comparing /work/SRC/openSUSE:Factory/python-autobahn (Old)
 and  /work/SRC/openSUSE:Factory/.python-autobahn.new.5148 (New)


Package is "python-autobahn"

Wed May 22 15:39:27 2019 rev:6 rq:703027 version:19.5.1

Changes:

--- /work/SRC/openSUSE:Factory/python-autobahn/python-autobahn.changes  
2019-05-06 13:21:25.052540105 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-autobahn.new.5148/python-autobahn.changes
2019-05-22 15:39:29.386520085 +0200
@@ -1,0 +2,20 @@
+Tue May 14 22:26:05 UTC 2019 - Jonathan Harker 
+
+- Update to 19.5.1
+* fix: authextra merging (#1191)
+* fix: set default retry_delay_jitter (#1190)
+* new: add rawsocket + twisted example (#1189)
+* new: WebSocket testing support, via Agent-style interface (#1186)
+* new: decorator for on_connectfailure
+* fix: delayed call leakage (#1152)
+* new: CLI client (#1150)
+* fix: set up TLS over proxy properly (#1149)
+* new: expose ser modules (#1148)
+* fix: base64 encodings, add hex encoding (#1146)
+* new: onConnecting callback (with TransportDetails and ConnectingRequest).
+Note: if you've implemented a pure IWebSocketChannel without inheriting
+from Autobahn base classes, you'll need to add an onConnecting() method
+that just does return None.
+ 
+
+---

Old:

  autobahn-19.3.3.tar.gz

New:

  autobahn-19.5.1.tar.gz



Other differences:
--
++ python-autobahn.spec ++
--- /var/tmp/diff_new_pack.Y4GXj6/_old  2019-05-22 15:39:31.018516140 +0200
+++ /var/tmp/diff_new_pack.Y4GXj6/_new  2019-05-22 15:39:31.018516140 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} 
%{!?skip_python3:python3-%{**}}}
 Name:   python-autobahn
-Version:19.3.3
+Version:19.5.1
 Release:0
 Summary:WebSocket and WAMP in Python for Twisted and asyncio
 License:MIT
@@ -104,11 +104,13 @@
 export USE_ASYNCIO=true
 export AUTOBAHN_USE_NVX=true
 export PYTHONDONTWRITEBYTECODE=1
-%pytest_arch %{buildroot}%{$python_sitearch}/autobahn/
+export PY_IGNORE_IMPORTMISMATCH=1
+%pytest_arch
 
 %files %{python_files}
 %license LICENSE
 %doc README.rst
 %{python_sitearch}/*
+%python3_only /usr/bin/wamp
 
 %changelog

++ autobahn-19.3.3.tar.gz -> autobahn-19.5.1.tar.gz ++
 1748 lines of diff (skipped)




commit python-autobahn for openSUSE:Factory

2019-05-06 Thread root
Hello community,

here is the log from the commit of package python-autobahn for openSUSE:Factory 
checked in at 2019-05-06 13:21:23

Comparing /work/SRC/openSUSE:Factory/python-autobahn (Old)
 and  /work/SRC/openSUSE:Factory/.python-autobahn.new.5148 (New)


Package is "python-autobahn"

Mon May  6 13:21:23 2019 rev:5 rq:692232 version:19.3.3

Changes:

--- /work/SRC/openSUSE:Factory/python-autobahn/python-autobahn.changes  
2019-04-05 12:07:15.294587057 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-autobahn.new.5148/python-autobahn.changes
2019-05-06 13:21:25.052540105 +0200
@@ -1,0 +2,12 @@
+Mon Apr  8 08:41:35 UTC 2019 - Tomáš Chvátal 
+
+- Rename reproducible.patch to respect-cflags.patch and really make
+  sure we respect all the cflags
+
+---
+Mon Apr  8 07:32:05 UTC 2019 - Bernhard Wiedemann 
+
+- Add reproducible.patch to make package build reproducible (boo#1100677)
+  and to not use SSE4.1 instructions
+
+---

New:

  respect-cflags.patch



Other differences:
--
++ python-autobahn.spec ++
--- /var/tmp/diff_new_pack.qS9Lw3/_old  2019-05-06 13:21:26.344543015 +0200
+++ /var/tmp/diff_new_pack.qS9Lw3/_new  2019-05-06 13:21:26.376543087 +0200
@@ -25,6 +25,7 @@
 Group:  Development/Languages/Python
 URL:https://github.com/crossbario/autobahn-python
 Source: 
https://files.pythonhosted.org/packages/source/a/autobahn/autobahn-%{version}.tar.gz
+Patch0: respect-cflags.patch
 BuildRequires:  %{python_module PyNaCl >= 1.0.1}
 BuildRequires:  %{python_module PyQRCode >= 1.1}
 BuildRequires:  %{python_module Twisted >= 12.1.0}
@@ -87,9 +88,11 @@
 
 %prep
 %setup -q -n autobahn-%{version}
+%patch0 -p1
 
 %build
 export AUTOBAHN_USE_NVX=true
+export CFLAGS="%{optflags}"
 %python_build
 
 %install
@@ -100,6 +103,7 @@
 %check
 export USE_ASYNCIO=true
 export AUTOBAHN_USE_NVX=true
+export PYTHONDONTWRITEBYTECODE=1
 %pytest_arch %{buildroot}%{$python_sitearch}/autobahn/
 
 %files %{python_files}

++ respect-cflags.patch ++
Author: Bernhard M. Wiedemann 
Date: 2019-04-08

This bug was found while working on reproducible builds for openSUSE.

Without this patch, binaries would use SSE4.1 instructions if the build
machine's CPU had it available.
This could cause 'invalid instruction' faults on older user machines.

https://bugzilla.opensuse.org/show_bug.cgi?id=1100677

Index: autobahn-19.3.3/autobahn/nvx/_utf8validator.py
===
--- autobahn-19.3.3.orig/autobahn/nvx/_utf8validator.py
+++ autobahn-19.3.3/autobahn/nvx/_utf8validator.py
@@ -52,7 +52,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']
 )
 
 



commit python-autobahn for openSUSE:Factory

2019-04-05 Thread root
Hello community,

here is the log from the commit of package python-autobahn for openSUSE:Factory 
checked in at 2019-04-05 12:06:38

Comparing /work/SRC/openSUSE:Factory/python-autobahn (Old)
 and  /work/SRC/openSUSE:Factory/.python-autobahn.new.3908 (New)


Package is "python-autobahn"

Fri Apr  5 12:06:38 2019 rev:4 rq:691726 version:19.3.3

Changes:

--- /work/SRC/openSUSE:Factory/python-autobahn/python-autobahn.changes  
2018-10-25 08:14:20.796122232 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-autobahn.new.3908/python-autobahn.changes
2019-04-05 12:07:15.294587057 +0200
@@ -1,0 +2,18 @@
+Fri Apr  5 08:12:36 UTC 2019 - Tomáš Chvátal 
+
+- Fix the %pytest_arch call to pass properly
+
+---
+Tue Mar 26 13:18:38 UTC 2019 - Tomáš Chvátal 
+
+- Update to 19.3.3:
+  * No upstream changelog
+
+---
+Tue Mar 19 14:37:02 UTC 2019 - Tomáš Chvátal 
+
+- Update to 19.3.2:
+  * no upstream changelog
+- List all the missing requirements based on setup.py
+
+---

Old:

  autobahn-18.9.2.tar.gz

New:

  autobahn-19.3.3.tar.gz



Other differences:
--
++ python-autobahn.spec ++
--- /var/tmp/diff_new_pack.oXoghr/_old  2019-04-05 12:07:15.990587326 +0200
+++ /var/tmp/diff_new_pack.oXoghr/_new  2019-04-05 12:07:15.994587327 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-autobahn
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,31 +18,66 @@
 
 %{?!python_module:%define python_module() python-%{**} 
%{!?skip_python3:python3-%{**}}}
 Name:   python-autobahn
-Version:18.9.2
+Version:19.3.3
 Release:0
 Summary:WebSocket and WAMP in Python for Twisted and asyncio
 License:MIT
 Group:  Development/Languages/Python
-URL:http://crossbar.io/autobahn
+URL:https://github.com/crossbario/autobahn-python
 Source: 
https://files.pythonhosted.org/packages/source/a/autobahn/autobahn-%{version}.tar.gz
-BuildRequires:  %{python_module mock}
-BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module PyNaCl >= 1.0.1}
+BuildRequires:  %{python_module PyQRCode >= 1.1}
+BuildRequires:  %{python_module Twisted >= 12.1.0}
+BuildRequires:  %{python_module argon2-cffi >= 18.1.0}
+BuildRequires:  %{python_module cbor >= 1.0.0}
+BuildRequires:  %{python_module cbor2 >= 4.1.2}
+BuildRequires:  %{python_module cffi >= 1.11.5}
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module flatbuffers >= 1.10}
+BuildRequires:  %{python_module lz4 >= 0.7.0}
+BuildRequires:  %{python_module mock >= 1.3.0}
+BuildRequires:  %{python_module msgpack >= 0.6.1}
+BuildRequires:  %{python_module passlib >= 1.7.1}
+BuildRequires:  %{python_module py-ubjson >= 0.8.4}
+BuildRequires:  %{python_module pyOpenSSL >= 16.2.0}
+BuildRequires:  %{python_module pytest >= 2.8.6}
+BuildRequires:  %{python_module pytrie >= 0.2}
+BuildRequires:  %{python_module service_identity >= 16.0.0}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module six >= 1.11.0}
+BuildRequires:  %{python_module txaio >= 18.8.1}
+BuildRequires:  %{python_module ujson >= 1.35}
+BuildRequires:  %{python_module wsaccel >= 0.6.2}
+BuildRequires:  %{python_module zope.interface >= 3.6.0}
 BuildRequires:  fdupes
+BuildRequires:  python-futures >= 3.0.4
 BuildRequires:  python-rpm-macros
 BuildRequires:  python2-trollius
+BuildRequires:  python3-pytest-aiohttp
 BuildRequires:  python3-pytest-asyncio
-Requires:   python-Twisted
-Requires:   python-six
-Requires:   python-txaio
-BuildArch:  noarch
-# SECTION test requirements
-BuildRequires:  %{python_module Twisted}
-BuildRequires:  %{python_module six >= 1.10.0}
-BuildRequires:  %{python_module txaio}
-# /SECTION
+Requires:   python-PyNaCl >= 1.0.1
+Requires:   python-PyQRCode >= 1.1
+Requires:   python-Twisted >= 12.1.0
+Requires:   python-argon2-cffi >= 18.1.0
+Requires:   python-cbor >= 1.0.0
+Requires:   python-cbor2 >= 4.1.2
+Requires:   python-cffi >= 1.11.5
+Requires:   python-flatbuffers >= 1.10
+Requires:   python-lz4 >= 0.7.0
+Requires:   python-msgpack >= 0.6.1
+Requires:   python-passlib >= 1.7.1
+Requires:   python-py-ubjson >= 0.8.4
+Requires:   python-pyOpenSSL >= 16.2.0
+Requires:   python-pytrie >= 0.2
+Requires:   python-service_identity >= 

commit python-autobahn for openSUSE:Factory

2018-10-25 Thread root
Hello community,

here is the log from the commit of package python-autobahn for openSUSE:Factory 
checked in at 2018-10-25 08:13:42

Comparing /work/SRC/openSUSE:Factory/python-autobahn (Old)
 and  /work/SRC/openSUSE:Factory/.python-autobahn.new (New)


Package is "python-autobahn"

Thu Oct 25 08:13:42 2018 rev:3 rq:642831 version:18.9.2

Changes:

--- /work/SRC/openSUSE:Factory/python-autobahn/python-autobahn.changes  
2018-08-12 20:54:13.885328195 +0200
+++ /work/SRC/openSUSE:Factory/.python-autobahn.new/python-autobahn.changes 
2018-10-25 08:14:20.796122232 +0200
@@ -1,0 +2,8 @@
+Thu Oct 18 09:23:10 UTC 2018 - Tomáš Chvátal 
+
+- Update to 18.9.2:
+  * Various fixes all around
+  * Support python 3.7
+- remove-unittest2.patch was merged upstream
+
+---

Old:

  autobahn-17.10.1.tar.gz
  remove-unittest2.patch

New:

  autobahn-18.9.2.tar.gz



Other differences:
--
++ python-autobahn.spec ++
--- /var/tmp/diff_new_pack.qXcrWV/_old  2018-10-25 08:14:21.980121725 +0200
+++ /var/tmp/diff_new_pack.qXcrWV/_new  2018-10-25 08:14:21.984121724 +0200
@@ -12,30 +12,26 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} 
%{!?skip_python3:python3-%{**}}}
-%define oldpython python
 Name:   python-autobahn
-Version:17.10.1
+Version:18.9.2
 Release:0
 Summary:WebSocket and WAMP in Python for Twisted and asyncio
 License:MIT
 Group:  Development/Languages/Python
-Url:http://crossbar.io/autobahn
+URL:http://crossbar.io/autobahn
 Source: 
https://files.pythonhosted.org/packages/source/a/autobahn/autobahn-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM mc...@suse.cz remove-unittest2.patch
-# https://github.com/crossbario/autobahn-python/issues/1036
-Patch0: remove-unittest2.patch
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  python-trollius
+BuildRequires:  python2-trollius
+BuildRequires:  python3-pytest-asyncio
 Requires:   python-Twisted
 Requires:   python-six
 Requires:   python-txaio
@@ -46,7 +42,7 @@
 BuildRequires:  %{python_module txaio}
 # /SECTION
 %ifpython2
-Requires:   %{oldpython}-trollius
+Requires:   python-trollius
 %endif
 %python_subpackages
 
@@ -56,7 +52,6 @@
 
 %prep
 %setup -q -n autobahn-%{version}
-%patch0 -p1
 
 %build
 %python_build
@@ -66,6 +61,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
+export USE_ASYNCIO=true
 %{python_expand PYTHONPATH=. $python -m pytest autobahn}
 
 %files %{python_files}

++ autobahn-17.10.1.tar.gz -> autobahn-18.9.2.tar.gz ++
 4784 lines of diff (skipped)




commit python-autobahn for openSUSE:Factory

2018-08-12 Thread root
Hello community,

here is the log from the commit of package python-autobahn for openSUSE:Factory 
checked in at 2018-08-12 20:54:09

Comparing /work/SRC/openSUSE:Factory/python-autobahn (Old)
 and  /work/SRC/openSUSE:Factory/.python-autobahn.new (New)


Package is "python-autobahn"

Sun Aug 12 20:54:09 2018 rev:2 rq:628599 version:17.10.1

Changes:

--- /work/SRC/openSUSE:Factory/python-autobahn/python-autobahn.changes  
2018-03-26 13:10:21.485611359 +0200
+++ /work/SRC/openSUSE:Factory/.python-autobahn.new/python-autobahn.changes 
2018-08-12 20:54:13.885328195 +0200
@@ -1,0 +2,6 @@
+Fri Aug 10 11:22:33 UTC 2018 - mc...@suse.com
+
+- Add remove-unittest2.patch which remove dependency on unittest2
+  (filed upstream https://github.com/crossbario/autobahn-python/issues/1036)
+
+---

New:

  remove-unittest2.patch



Other differences:
--
++ python-autobahn.spec ++
--- /var/tmp/diff_new_pack.n5BOLf/_old  2018-08-12 20:54:14.421329284 +0200
+++ /var/tmp/diff_new_pack.n5BOLf/_new  2018-08-12 20:54:14.425329292 +0200
@@ -26,11 +26,13 @@
 Group:  Development/Languages/Python
 Url:http://crossbar.io/autobahn
 Source: 
https://files.pythonhosted.org/packages/source/a/autobahn/autobahn-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM mc...@suse.cz remove-unittest2.patch
+# https://github.com/crossbario/autobahn-python/issues/1036
+Patch0: remove-unittest2.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module unittest2}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  python-trollius
@@ -54,6 +56,7 @@
 
 %prep
 %setup -q -n autobahn-%{version}
+%patch0 -p1
 
 %build
 %python_build

++ remove-unittest2.patch ++
--- a/autobahn/rawsocket/test/test_rawsocket_url.py
+++ b/autobahn/rawsocket/test/test_rawsocket_url.py
@@ -26,7 +26,7 @@
 
 from __future__ import absolute_import
 
-import unittest2 as unittest
+import unittest
 
 from autobahn.rawsocket.util import create_url, parse_url
 
--- a/autobahn/test/test_util.py
+++ b/autobahn/test/test_util.py
@@ -26,7 +26,7 @@
 
 from __future__ import absolute_import
 
-import unittest2 as unittest
+import unittest
 
 from autobahn.util import IdGenerator
 
--- a/autobahn/wamp/test/test_auth.py
+++ b/autobahn/wamp/test/test_auth.py
@@ -26,7 +26,7 @@
 
 from __future__ import absolute_import
 
-import unittest2 as unittest
+import unittest
 import platform
 
 import six
--- a/autobahn/wamp/test/test_cryptosign.py
+++ b/autobahn/wamp/test/test_cryptosign.py
@@ -33,7 +33,7 @@ if HAS_CRYPTOSIGN:
 
 import tempfile
 
-import unittest2 as unittest
+import unittest
 
 keybody = '''-BEGIN OPENSSH PRIVATE KEY-
 b3BlbnNzaC1rZXktdjEABG5vbmUEbm9uZQABMwtzc2gtZW
--- a/autobahn/wamp/test/test_message.py
+++ b/autobahn/wamp/test/test_message.py
@@ -30,7 +30,7 @@ from autobahn.wamp import role
 from autobahn.wamp import message
 from autobahn.wamp.exception import ProtocolError
 
-import unittest2 as unittest
+import unittest
 
 
 class Foo(object):
--- a/autobahn/wamp/test/test_protocol_peer.py
+++ b/autobahn/wamp/test/test_protocol_peer.py
@@ -41,7 +41,7 @@ from autobahn.wamp import message
 from autobahn.wamp import exception
 from autobahn.wamp import protocol
 
-import unittest2 as unittest
+import unittest
 
 
 class TestPeerExceptions(unittest.TestCase):
--- a/autobahn/wamp/test/test_runner.py
+++ b/autobahn/wamp/test/test_runner.py
@@ -27,7 +27,7 @@
 from __future__ import absolute_import, print_function
 
 import os
-import unittest2 as unittest
+import unittest
 from txaio.testutil import replace_loop
 
 if os.environ.get('USE_TWISTED', False):
--- a/autobahn/wamp/test/test_serializer.py
+++ b/autobahn/wamp/test/test_serializer.py
@@ -27,7 +27,7 @@
 from __future__ import absolute_import
 
 import os
-import unittest2 as unittest
+import unittest
 import six
 
 from autobahn.wamp import message
--- a/autobahn/wamp/test/test_uri_pattern.py
+++ b/autobahn/wamp/test/test_uri_pattern.py
@@ -29,7 +29,7 @@ from __future__ import absolute_import
 from autobahn import wamp
 from autobahn.wamp.uri import Pattern, RegisterOptions, SubscribeOptions
 
-import unittest2 as unittest
+import unittest
 
 
 class TestUris(unittest.TestCase):
--- a/autobahn/websocket/test/test_protocol.py
+++ b/autobahn/websocket/test/test_protocol.py
@@ -28,7 +28,7 @@ from __future__ import absolute_import,
 
 from hashlib import sha1
 from base64 import b64encode
-import unittest2 as unittest
+import unittest
 
 from autobahn.websocket.protocol import