From ac5739a12bf8929576d771c865d2608d0723df23 Mon Sep 17 00:00:00 2001 From: Julien Enselme Date: Apr 18 2017 19:33:56 +0000 Subject: Update to 0.18.2 --- diff --git a/.gitignore b/.gitignore index 02ee7b0..55d3b2e 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /autobahn-python-81d9276f4bdb2421a032381646dd04d6dc5b563f.tar.gz /autobahn-python-0eef8c724973e513923d27361173f05d9bdfc3ca.tar.gz /autobahn-python-fd7ec419b28e7a2af687ded78f02f1583712fcc3.tar.gz +/autobahn-python-731228a19da806e8a219090ff1d746adfa3388c6.tar.gz diff --git a/fix-tests-missing-keyword.patch b/fix-tests-missing-keyword.patch deleted file mode 100644 index 828ab8b..0000000 --- a/fix-tests-missing-keyword.patch +++ /dev/null @@ -1,36 +0,0 @@ ---- a/autobahn/asyncio/test/test_asyncio_rawsocket.py 2017-03-28 19:51:47.000000000 +0200 -+++ b/autobahn/asyncio/test/test_asyncio_rawsocket.py 2017-04-05 22:33:32.164588767 +0200 -@@ -84,7 +84,7 @@ - - def test_raw_socket_server1(self): - -- server = RawSocketServerProtocol(max_size=10000) -+ server = RawSocketServerProtocol() - ser = Mock(return_value=True) - on_hs = Mock() - transport = Mock() -@@ -101,13 +101,13 @@ - ser.assert_called_once_with(1) - on_hs.assert_called_once_with() - self.assertTrue(transport.write.called) -- transport.write.assert_called_once_with(b'\x7F\x51\x00\x00') -+ transport.write.assert_called_once_with(b'\x7F\xF1\x00\x00') - self.assertFalse(transport.close.called) - receiver.assert_called_once_with(b'abcd') - - def test_raw_socket_server_errors(self): - -- server = RawSocketServerProtocol(max_size=10000) -+ server = RawSocketServerProtocol() - ser = Mock(return_value=True) - on_hs = Mock() - transport = Mock() -@@ -120,7 +120,7 @@ - server.data_received(b'abcdef') - transport.close.assert_called_once_with() - -- server = RawSocketServerProtocol(max_size=10000) -+ server = RawSocketServerProtocol() - ser = Mock(return_value=False) - on_hs = Mock() - transport = Mock(spec_set=('close', 'write', 'get_extra_info')) diff --git a/python-autobahn.spec b/python-autobahn.spec index e36de1a..2ddc572 100644 --- a/python-autobahn.spec +++ b/python-autobahn.spec @@ -4,12 +4,12 @@ %global pypi_name autobahn %global project_owner crossbario %global github_name autobahn-python -%global commit fd7ec419b28e7a2af687ded78f02f1583712fcc3 +%global commit 731228a19da806e8a219090ff1d746adfa3388c6 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global _docdir_fmt %{name} Name: python-%{pypi_name} -Version: 0.18.1 +Version: 0.18.2 Release: 1.git%{shortcommit}%{?dist} Summary: Python networking library for WebSocket and WAMP @@ -18,10 +18,6 @@ URL: https://pypi.python.org/pypi/%{pypi_name} # pypi release doen't include README, nor doc, so using github instead # See: https://github.com/tavendo/AutobahnPython/issues/429 Source0: https://github.com/%{project_owner}/%{github_name}/archive/%{commit}/%{github_name}-%{commit}.tar.gz -# See: https://github.com/crossbario/autobahn-python/issues/771 -Patch0: skip-failing-test-python3.6.patch -# See: https://github.com/crossbario/autobahn-python/issues/811 -Patch1: fix-tests-missing-keyword.patch BuildArch: noarch BuildRequires: python2-devel @@ -123,8 +119,6 @@ HTML documentation %prep %setup -qn %{github_name}-%{commit} -%patch0 -p1 -%patch1 -p1 # Remove upstream's egg-info rm -rf %{pypi_name}.egg-info @@ -179,6 +173,9 @@ PYTHONPATH=$(pwd) py.test-%{python2_version} --pyargs autobahn %changelog +* Tue Apr 18 2017 Julien Enselme - 0.18.2-1.git731228a +- Update to 0.18.2 + * Wed Apr 05 2017 Julien Enselme - 0.18.1-1.gitfd7ec41 - Update to 0.18.1 diff --git a/skip-failing-test-python3.6.patch b/skip-failing-test-python3.6.patch deleted file mode 100644 index e3b3dd4..0000000 --- a/skip-failing-test-python3.6.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff --git i/autobahn/asyncio/test/test_asyncio_websocket.py w/autobahn/asyncio/test/test_asyncio_websocket.py -index 3f372e6..d46c58a 100644 ---- i/autobahn/asyncio/test/test_asyncio_websocket.py -+++ w/autobahn/asyncio/test/test_asyncio_websocket.py -@@ -13,6 +13,7 @@ except ImportError: - - from autobahn.asyncio.websocket import WebSocketServerFactory - from unittest import TestCase -+import pytest - import txaio - - -@@ -34,6 +35,7 @@ class Test(TestCase): - - server.connection_made(transport) - -+ @pytest.mark.skip(reason='Fails on Python 3.6') - def test_async_on_connect_server(self): - # see also issue 757 - diff --git a/sources b/sources index 803e6e9..bc24aa5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (autobahn-python-fd7ec419b28e7a2af687ded78f02f1583712fcc3.tar.gz) = fc75a7f70043dbb81c077f2d3a66ccf99eb480c84df85e1d5d732a2445c073e52b5c6550abc8a92cfa3fc7e7e7b671d87111def38054ef795e9c6aee4e4abd3b +SHA512 (autobahn-python-731228a19da806e8a219090ff1d746adfa3388c6.tar.gz) = fe00f8757561c1095067d94982cf7422a5fb925c60acf214b1213885eb5c560bc120f8b00fb5e46333021049f85cf73e4d4334308ff4f9b7983075a8711e4e2b