Hello community,

here is the log from the commit of package python-aiohttp for openSUSE:Factory 
checked in at 2018-03-14 19:35:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-aiohttp (Old)
 and      /work/SRC/openSUSE:Factory/.python-aiohttp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-aiohttp"

Wed Mar 14 19:35:40 2018 rev:4 rq:577628 version:3.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-aiohttp/python-aiohttp.changes    
2018-01-10 23:33:53.379622437 +0100
+++ /work/SRC/openSUSE:Factory/.python-aiohttp.new/python-aiohttp.changes       
2018-03-14 19:35:46.000173458 +0100
@@ -1,0 +2,24 @@
+Sat Feb 17 14:41:39 UTC 2018 - alarr...@suse.com
+
+- update to version 3.0.1
+  * async/await everywhere. The minimal supported Python version is 3.5.3 now.
+  * Application Runners.
+  * Client Tracing. Now it is possible by registering special signal handlers
+    on every request processing stage.
+  * HTTPS support
+  * Dropped obsolete API. The release dropped a lot of already deprecated
+    features.
+  * The full changelog can be read at
+    https://aiohttp.readthedocs.io/en/stable/changes.html
+
+- Add python3-idna_ssl, python3-Pygments and python3-aiohttp-theme to
+  BuildRequires.
+
+- Add Requires: python3-idna_ssl
+
+- Fix tests by removing a file and adding a patch to remove another
+  failing test due to a DeprecationWarning being issued by pytest because
+  of a problem in python-pytest-timeout.
+  * remove-failing-tests-due-to-pytest-timeout-issues.patch
+
+-------------------------------------------------------------------

Old:
----
  aiohttp-2.3.7.tar.gz

New:
----
  aiohttp-3.0.1.tar.gz
  remove-failing-tests-due-to-pytest-timeout-issues.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-aiohttp.spec ++++++
--- /var/tmp/diff_new_pack.MlOBQ1/_old  2018-03-14 19:35:47.528119189 +0100
+++ /var/tmp/diff_new_pack.MlOBQ1/_new  2018-03-14 19:35:47.532119047 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-aiohttp
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -20,13 +20,15 @@
 %bcond_without test
 %define skip_python2 1
 Name:           python-aiohttp
-Version:        2.3.7
+Version:        3.0.1
 Release:        0
 Summary:        Asynchronous HTTP client/server framework
 License:        Apache-2.0
 Group:          Development/Languages/Python
 Url:            https://aiohttp.readthedocs.io/
 Source:         
https://files.pythonhosted.org/packages/source/a/aiohttp/aiohttp-%{version}.tar.gz
+# PATCH-FIX-OPENSUSE alarr...@suse.com -- Fix failing tests due to issue in 
pytest-timeout
+Patch0:         remove-failing-tests-due-to-pytest-timeout-issues.patch
 BuildRequires:  %{python_module devel >= 3.4.2}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  python-rpm-macros
@@ -35,6 +37,7 @@
 BuildRequires:  %{python_module async_timeout >= 2.0.0}
 BuildRequires:  %{python_module chardet}
 BuildRequires:  %{python_module gunicorn}
+BuildRequires:  %{python_module idna_ssl >= 1.0.0}
 BuildRequires:  %{python_module multidict >= 3.3.0}
 BuildRequires:  %{python_module pluggy}
 BuildRequires:  %{python_module pytest-mock}
@@ -45,7 +48,9 @@
 # /SECTION
 # SECTION docs
 BuildRequires:  %{python_module MarkupSafe}
+BuildRequires:  python3-Pygments >= 2.1
 BuildRequires:  python3-Sphinx
+BuildRequires:  python3-aiohttp-theme
 BuildRequires:  python3-sphinxcontrib-asyncio
 BuildRequires:  python3-sphinxcontrib-newsfeed
 # /SECTION
@@ -53,6 +58,7 @@
 Requires:       python >= 3.4.2
 Requires:       python-async_timeout >= 2.0.0
 Requires:       python-chardet
+Requires:       python-idna_ssl >= 1.0.0
 Requires:       python-multidict >= 3.3.0
 Requires:       python-yarl >= 0.13.0
 Recommends:     python-cChardet
@@ -77,6 +83,7 @@
 
 %prep
 %setup -q -n aiohttp-%{version}
+%patch0 -p1
 
 %build
 export CFLAGS="%{optflags}"
@@ -94,6 +101,7 @@
 
 %if %{with test}
 %check
+rm tests/test_pytest_plugin.py
 %python_exec setup.py test
 %endif
 

++++++ aiohttp-2.3.7.tar.gz -> aiohttp-3.0.1.tar.gz ++++++
++++ 52921 lines of diff (skipped)

++++++ remove-failing-tests-due-to-pytest-timeout-issues.patch ++++++
From: Antonio Larrosa <alarr...@suse.com>

Remove failing test due to a DeprecationWarning being issued
by pytest because pytest-timeout is using a wrong parameter
when calling addoption. 

I tested changing pytest-timeout from using type='choice' to
type=str and that passed the tests, so I choosed to remove the
test while the fix gets to the python-pytest-timeout package.

Index: aiohttp-3.0.1/tests/test_test_utils.py
===================================================================
--- aiohttp-3.0.1.orig/tests/test_test_utils.py
+++ aiohttp-3.0.1/tests/test_test_utils.py
@@ -243,20 +243,6 @@ async def test_server_make_url_yarl_comp
             make_url(URL('http://foo.com'))
 
 
-def test_testcase_no_app(testdir, loop):
-    testdir.makepyfile(
-        """
-        from aiohttp.test_utils import AioHTTPTestCase
-
-
-        class InvalidTestCase(AioHTTPTestCase):
-            def test_noop(self):
-                pass
-        """)
-    result = testdir.runpytest()
-    result.stdout.fnmatch_lines(["*RuntimeError*"])
-
-
 async def test_server_context_manager(app, loop):
     async with _TestServer(app, loop=loop) as server:
         async with aiohttp.ClientSession(loop=loop) as client:

Reply via email to