Hello community,

here is the log from the commit of package python-async_timeout for 
openSUSE:Factory checked in at 2019-03-06 15:52:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-async_timeout (Old)
 and      /work/SRC/openSUSE:Factory/.python-async_timeout.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-async_timeout"

Wed Mar  6 15:52:44 2019 rev:3 rq:682138 version:3.0.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-async_timeout/python-async_timeout.changes    
    2018-06-28 15:14:10.879509067 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-async_timeout.new.28833/python-async_timeout.changes
     2019-03-06 15:52:53.516417869 +0100
@@ -1,0 +2,7 @@
+Wed Mar  6 12:32:14 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 3.0.1:
+  * More aggressive typing (#48)
+- Run tests
+
+-------------------------------------------------------------------

Old:
----
  async-timeout-3.0.0.tar.gz

New:
----
  async-timeout-3.0.1.tar.gz

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

Other differences:
------------------
++++++ python-async_timeout.spec ++++++
--- /var/tmp/diff_new_pack.IfDHtx/_old  2019-03-06 15:52:54.872417597 +0100
+++ /var/tmp/diff_new_pack.IfDHtx/_new  2019-03-06 15:52:54.872417597 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-async_timeout
 #
-# 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
@@ -12,32 +12,31 @@
 # 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-%{**} python3-%{**}}
-%bcond_without  test
 %define         skip_python2 1
-%{!?license:    %global license %doc}
 Name:           python-async_timeout
-Version:        3.0.0
+Version:        3.0.1
 Release:        0
 Summary:        Timeout context manager for asyncio programs
 License:        Apache-2.0
 Group:          Development/Languages/Python
-Url:            https://github.com/aio-libs/async_timeout/
-Source:         
https://files.pythonhosted.org/packages/source/a/async_timeout/async-timeout-%{version}.tar.gz
-BuildRequires:  %{python_module devel >= 3.5.3}
+URL:            https://github.com/aio-libs/async_timeout/
+Source:         
https://files.pythonhosted.org/packages/source/a/async-timeout/async-timeout-%{version}.tar.gz
+BuildRequires:  %{python_module base >= 3.5.3}
+BuildRequires:  %{python_module pytest-asyncio}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildArch:      noarch
 %ifpython3
-Provides:       python3-async-timeout = %version
-Obsoletes:      python3-async-timeout < %version
+Provides:       python3-async-timeout = %{version}
+Obsoletes:      python3-async-timeout < %{version}
 %endif
-
 %python_subpackages
 
 %description
@@ -45,6 +44,8 @@
 
 %prep
 %setup -q -n async-timeout-%{version}
+# do not bother with coverage
+sed -i -e '/addopts/d' setup.cfg
 
 %build
 %python_build
@@ -53,14 +54,12 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%check
+%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} 
py.test-%{$python_bin_suffix} -v
+
 %files %{python_files}
-%defattr(-,root,root)
 %doc CHANGES.rst README.rst
-%if 0%{?sle_version} > 120200 || 0%{?suse_version} > 1320
 %license LICENSE
-%else
-%doc LICENSE
-%endif
 %{python_sitelib}/*
 
 %changelog

++++++ async-timeout-3.0.0.tar.gz -> async-timeout-3.0.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/async-timeout-3.0.0/CHANGES.rst 
new/async-timeout-3.0.1/CHANGES.rst
--- old/async-timeout-3.0.0/CHANGES.rst 2018-05-05 12:34:36.000000000 +0200
+++ new/async-timeout-3.0.1/CHANGES.rst 2018-10-09 09:12:56.000000000 +0200
@@ -1,6 +1,11 @@
 CHANGES
 =======
 
+3.0.1 (2018-10-09)
+------------------
+
+- More aggressive typing (#48)
+
 3.0.0 (2018-05-05)
 ------------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/async-timeout-3.0.0/PKG-INFO 
new/async-timeout-3.0.1/PKG-INFO
--- old/async-timeout-3.0.0/PKG-INFO    2018-05-05 12:35:13.000000000 +0200
+++ new/async-timeout-3.0.1/PKG-INFO    2018-10-09 09:13:29.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: async-timeout
-Version: 3.0.0
+Version: 3.0.1
 Summary: Timeout context manager for asyncio programs
 Home-page: https://github.com/aio-libs/async_timeout/
 Author: Andrew Svetlov
@@ -52,7 +52,7 @@
                await inner()
            print(cm.expired)
         
-        The property is ``True`` is ``inner()`` execution is cancelled by
+        The property is ``True`` if ``inner()`` execution is cancelled by
         timeout context manager.
         
         If ``inner()`` call explicitly raises ``TimeoutError`` ``cm.expired``
@@ -80,6 +80,11 @@
         CHANGES
         =======
         
+        3.0.1 (2018-10-09)
+        ------------------
+        
+        - More aggressive typing (#48)
+        
         3.0.0 (2018-05-05)
         ------------------
         
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/async-timeout-3.0.0/README.rst 
new/async-timeout-3.0.1/README.rst
--- old/async-timeout-3.0.0/README.rst  2018-05-05 12:34:36.000000000 +0200
+++ new/async-timeout-3.0.1/README.rst  2018-10-09 09:12:56.000000000 +0200
@@ -44,7 +44,7 @@
        await inner()
    print(cm.expired)
 
-The property is ``True`` is ``inner()`` execution is cancelled by
+The property is ``True`` if ``inner()`` execution is cancelled by
 timeout context manager.
 
 If ``inner()`` call explicitly raises ``TimeoutError`` ``cm.expired``
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/async-timeout-3.0.0/async_timeout/__init__.py 
new/async-timeout-3.0.1/async_timeout/__init__.py
--- old/async-timeout-3.0.0/async_timeout/__init__.py   2018-05-05 
12:34:36.000000000 +0200
+++ new/async-timeout-3.0.1/async_timeout/__init__.py   2018-10-09 
09:12:56.000000000 +0200
@@ -2,10 +2,10 @@
 import sys
 
 from types import TracebackType
-from typing import Optional, Type
+from typing import Optional, Type, Any  # noqa
 
 
-__version__ = '3.0.0'
+__version__ = '3.0.1'
 
 PY_37 = sys.version_info >= (3, 7)
 
@@ -25,12 +25,12 @@
     loop - asyncio compatible event loop
     """
     def __init__(self, timeout: Optional[float],
-                 *, loop: asyncio.AbstractEventLoop=None) -> None:
+                 *, loop: Optional[asyncio.AbstractEventLoop] = None) -> None:
         self._timeout = timeout
         if loop is None:
             loop = asyncio.get_event_loop()
         self._loop = loop
-        self._task = None  # type: Optional[asyncio.Task]
+        self._task = None  # type: Optional[asyncio.Task[Any]]
         self._cancelled = False
         self._cancel_handler = None  # type: Optional[asyncio.Handle]
         self._cancel_at = None  # type: Optional[float]
@@ -102,7 +102,7 @@
             self._cancelled = True
 
 
-def current_task(loop: asyncio.AbstractEventLoop) -> asyncio.Task:
+def current_task(loop: asyncio.AbstractEventLoop) -> 'asyncio.Task[Any]':
     if PY_37:
         task = asyncio.current_task(loop=loop)  # type: ignore
     else:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/async-timeout-3.0.0/async_timeout.egg-info/PKG-INFO 
new/async-timeout-3.0.1/async_timeout.egg-info/PKG-INFO
--- old/async-timeout-3.0.0/async_timeout.egg-info/PKG-INFO     2018-05-05 
12:35:13.000000000 +0200
+++ new/async-timeout-3.0.1/async_timeout.egg-info/PKG-INFO     2018-10-09 
09:13:29.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: async-timeout
-Version: 3.0.0
+Version: 3.0.1
 Summary: Timeout context manager for asyncio programs
 Home-page: https://github.com/aio-libs/async_timeout/
 Author: Andrew Svetlov
@@ -52,7 +52,7 @@
                await inner()
            print(cm.expired)
         
-        The property is ``True`` is ``inner()`` execution is cancelled by
+        The property is ``True`` if ``inner()`` execution is cancelled by
         timeout context manager.
         
         If ``inner()`` call explicitly raises ``TimeoutError`` ``cm.expired``
@@ -80,6 +80,11 @@
         CHANGES
         =======
         
+        3.0.1 (2018-10-09)
+        ------------------
+        
+        - More aggressive typing (#48)
+        
         3.0.0 (2018-05-05)
         ------------------
         
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/async-timeout-3.0.0/setup.cfg 
new/async-timeout-3.0.1/setup.cfg
--- old/async-timeout-3.0.0/setup.cfg   2018-05-05 12:35:13.000000000 +0200
+++ new/async-timeout-3.0.1/setup.cfg   2018-10-09 09:13:29.000000000 +0200
@@ -7,6 +7,19 @@
 [mypy-pytest]
 ignore_missing_imports = true
 
+[mypy]
+python_version = 3.6
+warn_unused_ignores = True
+warn_redundant_casts = True
+warn_no_return = True
+strict_optional = True
+show_traceback = True
+show_column_numbers = True
+no_implicit_optional = True
+disallow_incomplete_defs = True
+disallow_any_generics = True
+ignore_missing_imports = True
+
 [egg_info]
 tag_build = 
 tag_date = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/async-timeout-3.0.0/tests/test_timeout.py 
new/async-timeout-3.0.1/tests/test_timeout.py
--- old/async-timeout-3.0.0/tests/test_timeout.py       2018-05-05 
12:34:36.000000000 +0200
+++ new/async-timeout-3.0.1/tests/test_timeout.py       2018-10-09 
09:12:56.000000000 +0200
@@ -6,10 +6,7 @@
 
 from async_timeout import timeout
 
-try:
-    from asyncio import ensure_future
-except ImportError:
-    ensure_future = asyncio.async
+from asyncio import ensure_future
 
 
 def create_future(loop):


Reply via email to