]> git.pld-linux.org Git - packages/python-gevent.git/commitdiff
- disable flaky test when run with python3 auto/th/python-gevent-1.2.1-1
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 16 Apr 2017 15:31:15 +0000 (17:31 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 16 Apr 2017 15:31:15 +0000 (17:31 +0200)
- updated python3 files

known_failures-pld.patch
python-gevent.spec

index 1eced2c641d2ab0845dd15b089c5e7e5a61827e3..32718185a9446a7db0dc850ad9d46b85e64c0bfc 100644 (file)
@@ -1,6 +1,6 @@
 --- gevent-1.1.0.orig/src/greentest/known_failures.py  2016-03-05 14:10:58.000000000 +0100
 +++ gevent-1.1.0/src/greentest/known_failures.py       2016-03-14 13:24:11.000000000 +0100
-@@ -33,8 +33,235 @@
+@@ -33,8 +33,260 @@
      # we don't have that option without a new commit---and sometimes we really need a build
      # to succeed in order to get a release wheel
      'FLAKY test__issue6.py',
 +    #  AssertionError: timeout not raised
 +    'FLAKY test__socket.py',
 +
++    #  Traceback (most recent call last):
++    #    File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main
++    #      "__main__", mod_spec)
++    #    File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code
++    #      exec(code, run_globals)
++    #    File "/home/users/baggins/devel/PLD/rpm/BUILD/gevent-1.2.1/src/greentest/monkey_test.py", line 41, in <module>
++    #      exec(module_code, globals())
++    #    File "test_socket.py", line 5600, in <module>
++    #      test_main()
++    #    File "test_socket.py", line 5596, in test_main
++    #      support.run_unittest(*tests)
++    #    File "/usr/lib64/python3.6/test/support/__init__.py", line 1923, in run_unittest
++    #      _run_suite(suite)
++    #    File "/usr/lib64/python3.6/test/support/__init__.py", line 1898, in _run_suite
++    #      raise TestFailed(err)
++    #  test.support.TestFailed: Traceback (most recent call last):
++    #    File "/usr/lib64/python3.6/test/support/__init__.py", line 556, in wrapper
++    #      return func(*args, **kw)
++    #    File "test_socket.py", line 5470, in test_aead_aes_gcm
++    #      res = op.recv(assoclen + len(plain) + taglen)
++    #    File "/home/users/baggins/devel/PLD/rpm/BUILD/gevent-1.2.1/build-3/lib.linux-x86_64-3.6/gevent/_socket3.py", line 333, in recv
++    #      return _socket.socket.recv(self._sock, *args)
++    #  OSError: [Errno 22] Invalid argument
++    'FLAKY test_socket.py',
++
 +    # uses DNS and external URLs,
 +    # requires 'sendfile' python module
 +    'FLAKY test__examples.py',
index 55657a18577634acd611a3b1e951e7400a125e76..93659c4abf3a53fd6bf85e21b9b1cb9678f8a7e2 100644 (file)
@@ -198,8 +198,8 @@ rm -rf $RPM_BUILD_ROOT
 %{py3_sitedir}/gevent/*.pxd
 %{py3_sitedir}/gevent/*.py
 %dir %{py3_sitedir}/gevent/libev
-%attr(755,root,root) %{py3_sitedir}/gevent/libev/_corecffi.cpython-*.so
-%attr(755,root,root) %{py3_sitedir}/gevent/libev/corecext.cpython-*.so
+%attr(755,root,root) %{py3_sitedir}/gevent/libev/_corecffi.abi3.so
+%attr(755,root,root) %{py3_sitedir}/gevent/libev/corecext.cpython-36m-x86_64-linux-gnu.so
 %{py3_sitedir}/gevent/libev/__pycache__
 %{py3_sitedir}/gevent/libev/libev.pxd
 %{py3_sitedir}/gevent/libev/*.py
This page took 0.162878 seconds and 4 git commands to generate.