Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-aioresponses for 
openSUSE:Factory checked in at 2021-01-18 14:39:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-aioresponses (Old)
 and      /work/SRC/openSUSE:Factory/.python-aioresponses.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-aioresponses"

Mon Jan 18 14:39:07 2021 rev:10 rq:864006 version:0.7.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-aioresponses/python-aioresponses.changes  
2020-11-02 09:39:24.413553128 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-aioresponses.new.28504/python-aioresponses.changes
       2021-01-18 14:46:06.862046545 +0100
@@ -1,0 +2,16 @@
+Mon Jan 18 08:31:48 UTC 2021 - Matej Cepl <[email protected]>
+
+- Remove unused patch pr_174.patch
+
+-------------------------------------------------------------------
+Sun Jan 17 22:29:26 UTC 2021 - Benjamin Greiner <[email protected]>
+
+- Update to v0.7.1 
+  * Fix compatibility with aiohttp 3.7
+  * remove asynctest from compat.py
+  * Python 3.9 compatibility
+- drop pr_174.patch merged upstream
+- fix python version requirement, require asynctest for python36
+  again
+
+-------------------------------------------------------------------

Old:
----
  aioresponses-0.7.0.tar.gz
  pr_174.patch

New:
----
  aioresponses-0.7.1.tar.gz

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

Other differences:
------------------
++++++ python-aioresponses.spec ++++++
--- /var/tmp/diff_new_pack.Q1Iglt/_old  2021-01-18 14:46:07.498047504 +0100
+++ /var/tmp/diff_new_pack.Q1Iglt/_new  2021-01-18 14:46:07.502047510 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-aioresponses
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,16 +19,13 @@
 %{?!python_module:%define python_module() python3-%{**}}
 %define skip_python2 1
 Name:           python-aioresponses
-Version:        0.7.0
+Version:        0.7.1
 Release:        0
 Summary:        Python module for mocking out requests made by ClientSession 
from aiohttp
 License:        MIT
 URL:            https://github.com/pnuckowski/aioresponses
 Source:         
https://files.pythonhosted.org/packages/source/a/aioresponses/aioresponses-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM pr_174.patch gh#pnuckowski/aioresponses#174
-Patch0:         pr_174.patch
 BuildRequires:  %{python_module aiohttp >= 2.0.0}
-BuildRequires:  %{python_module base >= 3.8}
 BuildRequires:  %{python_module ddt >= 1.1.0}
 BuildRequires:  %{python_module pbr}
 BuildRequires:  %{python_module pytest >= 3.8.1}
@@ -37,6 +34,8 @@
 BuildRequires:  %{python_module yarl}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+BuildRequires:  (python3-asynctest if python3-base < 3.8)
+BuildRequires:  (python36-asynctest if python36-base)
 Requires:       python-aiohttp >= 2.0.0
 BuildArch:      noarch
 %python_subpackages
@@ -47,7 +46,6 @@
 
 %prep
 %setup -q -n aioresponses-%{version}
-%patch0 -p1
 
 %build
 export LC_ALL=en_US.UTF-8

++++++ aioresponses-0.7.0.tar.gz -> aioresponses-0.7.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aioresponses-0.7.0/.travis.yml 
new/aioresponses-0.7.1/.travis.yml
--- old/aioresponses-0.7.0/.travis.yml  2020-08-22 21:41:32.000000000 +0200
+++ new/aioresponses-0.7.1/.travis.yml  2020-10-29 14:49:21.000000000 +0100
@@ -19,6 +19,8 @@
     env: TOXENV=py36-aiohttp35
   - python: 3.6
     env: TOXENV=py36-aiohttp36
+  - python: 3.6
+    env: TOXENV=py36-aiohttp37
 
   - python: 3.7
     dist: xenial
@@ -32,6 +34,9 @@
   - python: 3.7
     dist: xenial
     env: TOXENV=py37-aiohttp36
+  - python: 3.7
+    dist: xenial
+    env: TOXENV=py37-aiohttp37
 
   - python: 3.8
     dist: xenial
@@ -45,6 +50,13 @@
   - python: 3.8
     dist: xenial
     env: TOXENV=py38-aiohttp36
+  - python: 3.8
+    dist: xenial
+    env: TOXENV=py38-aiohttp37
+
+  - python: 3.9
+    dist: focal
+    env: TOXENV=py39-aiohttp37
 #  - python: 3.8
 #    dist: xenial
 #    env: TOXENV=py38-aiohttp-master
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aioresponses-0.7.0/AUTHORS 
new/aioresponses-0.7.1/AUTHORS
--- old/aioresponses-0.7.0/AUTHORS      2020-10-19 17:04:57.000000000 +0200
+++ new/aioresponses-0.7.1/AUTHORS      2020-10-29 14:51:38.000000000 +0100
@@ -10,6 +10,7 @@
 Bryce Drennan <[email protected]>
 Colin-b <[email protected]>
 Daniel Hahler <[email protected]>
+David Buxton <[email protected]>
 Hadrien David <[email protected]>
 Ila?? Deutel <[email protected]>
 Joongi Kim <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aioresponses-0.7.0/ChangeLog 
new/aioresponses-0.7.1/ChangeLog
--- old/aioresponses-0.7.0/ChangeLog    2020-10-19 17:04:57.000000000 +0200
+++ new/aioresponses-0.7.1/ChangeLog    2020-10-29 14:51:38.000000000 +0100
@@ -1,6 +1,14 @@
 CHANGES
 =======
 
+0.7.1
+-----
+
+* add py3.9 to travis
+* remove asynctest from compat.py added py3.9
+* bump ver to 0.7.1 and add aiohttp 3.7.x
+* Fix compatibility with aiohttp==3.7.0
+
 0.7.0
 -----
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aioresponses-0.7.0/PKG-INFO 
new/aioresponses-0.7.1/PKG-INFO
--- old/aioresponses-0.7.0/PKG-INFO     2020-10-19 17:05:05.000000000 +0200
+++ new/aioresponses-0.7.1/PKG-INFO     2020-10-29 14:51:59.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: aioresponses
-Version: 0.7.0
+Version: 0.7.1
 Summary: Mock out requests made by ClientSession from aiohttp package
 Home-page: https://github.com/pnuckowski/aioresponses
 Author: Pawel Nuckowski
@@ -265,3 +265,4 @@
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aioresponses-0.7.0/aioresponses/__init__.py 
new/aioresponses-0.7.1/aioresponses/__init__.py
--- old/aioresponses-0.7.0/aioresponses/__init__.py     2020-10-19 
17:03:15.000000000 +0200
+++ new/aioresponses-0.7.1/aioresponses/__init__.py     2020-10-29 
14:49:21.000000000 +0100
@@ -1,7 +1,7 @@
 # -*- coding: utf-8 -*-
 from .core import CallbackResult, aioresponses
 
-__version__ = '0.7.0'
+__version__ = '0.7.1'
 
 __all__ = [
     'CallbackResult',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aioresponses-0.7.0/aioresponses/compat.py 
new/aioresponses-0.7.1/aioresponses/compat.py
--- old/aioresponses-0.7.0/aioresponses/compat.py       2020-08-22 
21:41:32.000000000 +0200
+++ new/aioresponses-0.7.1/aioresponses/compat.py       2020-10-29 
14:49:21.000000000 +0100
@@ -9,33 +9,12 @@
 from multidict import MultiDict
 from yarl import URL
 
-try:
-    # as from Py3.8 unittest supports coroutines as test functions
-    from unittest import IsolatedAsyncioTestCase, skipIf
-
-
-    def fail_on(**kw):  # noqa
-        def outer(fn):
-            def inner(*args, **kwargs):
-                return fn(*args, **kwargs)
-
-            return inner
-
-        return outer
-
-
-except ImportError:
-    # fallback to asynctest
-    from asynctest import fail_on, skipIf
-    from asynctest.case import TestCase as IsolatedAsyncioTestCase
-
 if sys.version_info < (3, 7):
     from re import _pattern_type as Pattern
 else:
     from re import Pattern
 
 AIOHTTP_VERSION = StrictVersion(aiohttp_version)
-IS_GTE_PY38 = sys.version_info >= (3, 8)
 
 if AIOHTTP_VERSION >= StrictVersion('3.0.0'):
     from aiohttp.client_proto import ResponseHandler
@@ -45,7 +24,7 @@
         loop: 'Optional[asyncio.AbstractEventLoop]' = None
     ):
         protocol = ResponseHandler(loop=loop)
-        return StreamReader(protocol, loop=loop)
+        return StreamReader(protocol, limit=2 ** 16, loop=loop)
 
 else:
 
@@ -68,47 +47,11 @@
     return url.with_query(urlencode(sorted(parse_qsl(url.query_string))))
 
 
-class AsyncTestCase(IsolatedAsyncioTestCase):
-    """Asynchronous test case class that covers up differences in usage
-    between unittest (starting from Python 3.8) and asynctest.
-
-    `setup` and `teardown` is used to be called before each test case
-    (note: that they are in lowercase)
-    """
-
-    async def setup(self):
-        pass
-
-    async def teardown(self):
-        pass
-
-    if IS_GTE_PY38:
-        # from Python3.8
-        async def asyncSetUp(self):
-            self.loop = asyncio.get_event_loop()
-            await self.setup()
-
-        async def asyncTearDown(self):
-            await self.teardown()
-    else:
-        # asynctest
-        use_default_loop = False
-
-        async def setUp(self) -> None:
-            await self.setup()
-
-        async def tearDown(self) -> None:
-            await self.teardown()
-
-
 __all__ = [
     'URL',
     'Pattern',
-    'skipIf',
     'AIOHTTP_VERSION',
-    'AsyncTestCase',
     'merge_params',
     'stream_reader_factory',
     'normalize_url',
-    'fail_on',
 ]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aioresponses-0.7.0/aioresponses.egg-info/PKG-INFO 
new/aioresponses-0.7.1/aioresponses.egg-info/PKG-INFO
--- old/aioresponses-0.7.0/aioresponses.egg-info/PKG-INFO       2020-10-19 
17:04:57.000000000 +0200
+++ new/aioresponses-0.7.1/aioresponses.egg-info/PKG-INFO       2020-10-29 
14:51:38.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: aioresponses
-Version: 0.7.0
+Version: 0.7.1
 Summary: Mock out requests made by ClientSession from aiohttp package
 Home-page: https://github.com/pnuckowski/aioresponses
 Author: Pawel Nuckowski
@@ -265,3 +265,4 @@
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aioresponses-0.7.0/aioresponses.egg-info/SOURCES.txt 
new/aioresponses-0.7.1/aioresponses.egg-info/SOURCES.txt
--- old/aioresponses-0.7.0/aioresponses.egg-info/SOURCES.txt    2020-10-19 
17:05:05.000000000 +0200
+++ new/aioresponses-0.7.1/aioresponses.egg-info/SOURCES.txt    2020-10-29 
14:51:59.000000000 +0100
@@ -40,5 +40,6 @@
 docs/readme.rst
 docs/usage.rst
 tests/__init__.py
+tests/base.py
 tests/test_aioresponses.py
 tests/test_compat.py
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aioresponses-0.7.0/aioresponses.egg-info/pbr.json 
new/aioresponses-0.7.1/aioresponses.egg-info/pbr.json
--- old/aioresponses-0.7.0/aioresponses.egg-info/pbr.json       2020-10-19 
17:04:57.000000000 +0200
+++ new/aioresponses-0.7.1/aioresponses.egg-info/pbr.json       2020-10-29 
14:51:38.000000000 +0100
@@ -1 +1 @@
-{"git_version": "e61977f", "is_release": false}
\ No newline at end of file
+{"git_version": "d09592f", "is_release": false}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aioresponses-0.7.0/setup.cfg 
new/aioresponses-0.7.1/setup.cfg
--- old/aioresponses-0.7.0/setup.cfg    2020-10-19 17:05:05.000000000 +0200
+++ new/aioresponses-0.7.1/setup.cfg    2020-10-29 14:51:59.000000000 +0100
@@ -18,6 +18,7 @@
        Programming Language :: Python :: 3.6
        Programming Language :: Python :: 3.7
        Programming Language :: Python :: 3.8
+       Programming Language :: Python :: 3.9
 
 [files]
 packages = 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aioresponses-0.7.0/tests/base.py 
new/aioresponses-0.7.1/tests/base.py
--- old/aioresponses-0.7.0/tests/base.py        1970-01-01 01:00:00.000000000 
+0100
+++ new/aioresponses-0.7.1/tests/base.py        2020-10-29 14:49:21.000000000 
+0100
@@ -0,0 +1,58 @@
+# -*- coding: utf-8 -*-
+import asyncio
+import sys
+
+try:
+    # as from Py3.8 unittest supports coroutines as test functions
+    from unittest import IsolatedAsyncioTestCase, skipIf
+
+
+    def fail_on(**kw):  # noqa
+        def outer(fn):
+            def inner(*args, **kwargs):
+                return fn(*args, **kwargs)
+
+            return inner
+
+        return outer
+
+
+except ImportError:
+    # fallback to asynctest
+    from asynctest import fail_on, skipIf
+    from asynctest.case import TestCase as IsolatedAsyncioTestCase
+
+IS_GTE_PY38 = sys.version_info >= (3, 8)
+
+
+class AsyncTestCase(IsolatedAsyncioTestCase):
+    """Asynchronous test case class that covers up differences in usage
+    between unittest (starting from Python 3.8) and asynctest.
+
+    `setup` and `teardown` is used to be called before each test case
+    (note: that they are in lowercase)
+    """
+
+    async def setup(self):
+        pass
+
+    async def teardown(self):
+        pass
+
+    if IS_GTE_PY38:
+        # from Python3.8
+        async def asyncSetUp(self):
+            self.loop = asyncio.get_event_loop()
+            await self.setup()
+
+        async def asyncTearDown(self):
+            await self.teardown()
+    else:
+        # asynctest
+        use_default_loop = False
+
+        async def setUp(self) -> None:
+            await self.setup()
+
+        async def tearDown(self) -> None:
+            await self.teardown()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aioresponses-0.7.0/tests/test_aioresponses.py 
new/aioresponses-0.7.1/tests/test_aioresponses.py
--- old/aioresponses-0.7.0/tests/test_aioresponses.py   2020-08-23 
00:00:53.000000000 +0200
+++ new/aioresponses-0.7.1/tests/test_aioresponses.py   2020-10-29 
14:49:21.000000000 +0100
@@ -25,14 +25,9 @@
     )
     from aiohttp.http_exceptions import HttpProcessingError
 
-from aioresponses.compat import (
-    AIOHTTP_VERSION, URL,
-    fail_on,
-    skipIf,
-    AsyncTestCase
-)
-
+from aioresponses.compat import AIOHTTP_VERSION, URL
 from aioresponses import CallbackResult, aioresponses
+from .base import fail_on, skipIf, AsyncTestCase
 
 
 @ddt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aioresponses-0.7.0/tox.ini 
new/aioresponses-0.7.1/tox.ini
--- old/aioresponses-0.7.0/tox.ini      2020-08-22 21:41:32.000000000 +0200
+++ new/aioresponses-0.7.1/tox.ini      2020-10-29 14:49:21.000000000 +0100
@@ -2,9 +2,10 @@
 envlist =
     flake8,
     coverage,
-    py36-aiohttp{30,31,32,33,34,35,36}
-    py37-aiohttp{30,31,32,33,34,35,36}
-    py38-aiohttp{30,31,32,33,34,35,36}
+    py36-aiohttp{30,31,32,33,34,35,36,37}
+    py37-aiohttp{33,34,35,36,37}
+    py38-aiohttp{33,34,35,36,37}
+    py39-aiohttp{37}
 skipsdist = True
 
 [testenv:flake8]
@@ -33,6 +34,7 @@
     aiohttp34: aiohttp>=3.4,<3.5
     aiohttp35: aiohttp>=3.5,<3.6
     aiohttp36: aiohttp>=3.6,<3.7
+    aiohttp37: aiohttp>=3.7,<3.8
     aiohttp-master: https://github.com/aio-libs/aiohttp/archive/master.tar.gz
     -r{toxinidir}/requirements-dev.txt
 

Reply via email to