Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-async_timeout for 
openSUSE:Factory checked in at 2022-01-23 16:25:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-async_timeout (Old)
 and      /work/SRC/openSUSE:Factory/.python-async_timeout.new.1938 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-async_timeout"

Sun Jan 23 16:25:42 2022 rev:6 rq:948132 version:4.0.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-async_timeout/python-async_timeout.changes    
    2021-12-25 20:16:25.953239199 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-async_timeout.new.1938/python-async_timeout.changes
      2022-01-23 16:25:49.216539885 +0100
@@ -1,0 +2,7 @@
+Sat Jan 15 16:39:14 UTC 2022 - Dirk M??ller <dmuel...@suse.com>
+
+- update to 4.0.2:
+  * Fix annotations on __exit__ and __aexit__
+  * Use stdlib typing.final in Python 3.8+ 
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ python-async_timeout.spec ++++++
--- /var/tmp/diff_new_pack.yCWjA2/_old  2022-01-23 16:25:49.660536850 +0100
+++ /var/tmp/diff_new_pack.yCWjA2/_new  2022-01-23 16:25:49.664536822 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-async_timeout
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define         skip_python2 1
 Name:           python-async_timeout
-Version:        4.0.1
+Version:        4.0.2
 Release:        0
 Summary:        Timeout context manager for asyncio programs
 License:        Apache-2.0

++++++ async-timeout-4.0.1.tar.gz -> async-timeout-4.0.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/async-timeout-4.0.1/CHANGES.rst 
new/async-timeout-4.0.2/CHANGES.rst
--- old/async-timeout-4.0.1/CHANGES.rst 2021-11-10 22:11:04.000000000 +0100
+++ new/async-timeout-4.0.2/CHANGES.rst 2021-12-20 10:14:17.000000000 +0100
@@ -4,6 +4,15 @@
 
 .. towncrier release notes start
 
+4.0.2 (2021-12-20)
+==================
+
+Misc
+----
+
+- `#259 <https://github.com/aio-libs/async-timeout/issues/259>`_, `#274 
<https://github.com/aio-libs/async-timeout/issues/274>`_
+
+
 4.0.1 (2121-11-10)
 ==================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/async-timeout-4.0.1/PKG-INFO 
new/async-timeout-4.0.2/PKG-INFO
--- old/async-timeout-4.0.1/PKG-INFO    2021-11-10 22:11:22.611793800 +0100
+++ new/async-timeout-4.0.2/PKG-INFO    2021-12-20 10:14:46.639183500 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: async-timeout
-Version: 4.0.1
+Version: 4.0.2
 Summary: Timeout context manager for asyncio programs
 Home-page: https://github.com/aio-libs/async-timeout
 Author: Andrew Svetlov <andrew.svet...@gmail.com>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/async-timeout-4.0.1/async_timeout/__init__.py 
new/async-timeout-4.0.2/async_timeout/__init__.py
--- old/async-timeout-4.0.1/async_timeout/__init__.py   2021-11-10 
22:11:04.000000000 +0100
+++ new/async-timeout-4.0.2/async_timeout/__init__.py   2021-12-20 
10:14:17.000000000 +0100
@@ -5,10 +5,14 @@
 from types import TracebackType
 from typing import Any, Optional, Type
 
-from typing_extensions import final
+
+if sys.version_info >= (3, 8):
+    from typing import final
+else:
+    from typing_extensions import final
 
 
-__version__ = "4.0.1"
+__version__ = "4.0.2"
 
 
 __all__ = ("timeout", "timeout_at", "Timeout")
@@ -105,9 +109,9 @@
 
     def __exit__(
         self,
-        exc_type: Type[BaseException],
-        exc_val: BaseException,
-        exc_tb: TracebackType,
+        exc_type: Optional[Type[BaseException]],
+        exc_val: Optional[BaseException],
+        exc_tb: Optional[TracebackType],
     ) -> Optional[bool]:
         self._do_exit(exc_type)
         return None
@@ -118,9 +122,9 @@
 
     async def __aexit__(
         self,
-        exc_type: Type[BaseException],
-        exc_val: BaseException,
-        exc_tb: TracebackType,
+        exc_type: Optional[Type[BaseException]],
+        exc_val: Optional[BaseException],
+        exc_tb: Optional[TracebackType],
     ) -> Optional[bool]:
         self._do_exit(exc_type)
         return None
@@ -202,7 +206,7 @@
         self._state = _State.ENTER
         self._reschedule()
 
-    def _do_exit(self, exc_type: Type[BaseException]) -> None:
+    def _do_exit(self, exc_type: Optional[Type[BaseException]]) -> None:
         if exc_type is asyncio.CancelledError and self._state == 
_State.TIMEOUT:
             self._timeout_handler = None
             raise asyncio.TimeoutError
@@ -223,7 +227,6 @@
     def _current_task(loop: asyncio.AbstractEventLoop) -> 
"Optional[asyncio.Task[Any]]":
         return asyncio.current_task(loop=loop)
 
-
 else:
 
     def _current_task(loop: asyncio.AbstractEventLoop) -> 
"Optional[asyncio.Task[Any]]":
@@ -235,7 +238,6 @@
     def _get_running_loop() -> asyncio.AbstractEventLoop:
         return asyncio.get_running_loop()
 
-
 else:
 
     def _get_running_loop() -> asyncio.AbstractEventLoop:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/async-timeout-4.0.1/async_timeout.egg-info/PKG-INFO 
new/async-timeout-4.0.2/async_timeout.egg-info/PKG-INFO
--- old/async-timeout-4.0.1/async_timeout.egg-info/PKG-INFO     2021-11-10 
22:11:22.000000000 +0100
+++ new/async-timeout-4.0.2/async_timeout.egg-info/PKG-INFO     2021-12-20 
10:14:46.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: async-timeout
-Version: 4.0.1
+Version: 4.0.2
 Summary: Timeout context manager for asyncio programs
 Home-page: https://github.com/aio-libs/async-timeout
 Author: Andrew Svetlov <andrew.svet...@gmail.com>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/async-timeout-4.0.1/async_timeout.egg-info/requires.txt 
new/async-timeout-4.0.2/async_timeout.egg-info/requires.txt
--- old/async-timeout-4.0.1/async_timeout.egg-info/requires.txt 2021-11-10 
22:11:22.000000000 +0100
+++ new/async-timeout-4.0.2/async_timeout.egg-info/requires.txt 2021-12-20 
10:14:46.000000000 +0100
@@ -1 +1,3 @@
+
+[:python_version < "3.8"]
 typing_extensions>=3.6.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/async-timeout-4.0.1/pyproject.toml 
new/async-timeout-4.0.2/pyproject.toml
--- old/async-timeout-4.0.1/pyproject.toml      2021-11-10 22:11:04.000000000 
+0100
+++ new/async-timeout-4.0.2/pyproject.toml      2021-12-20 10:14:17.000000000 
+0100
@@ -4,3 +4,10 @@
     "wheel",
 ]
 build-backend = "setuptools.build_meta"
+
+[tool.towncrier]
+package = "async_timeout"
+filename = "CHANGES.rst"
+directory = "CHANGES/"
+title_format = "{version} ({project_date})"
+issue_format = "`#{issue} 
<https://github.com/aio-libs/async-timeout/issues/{issue}>`_"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/async-timeout-4.0.1/setup.cfg 
new/async-timeout-4.0.2/setup.cfg
--- old/async-timeout-4.0.1/setup.cfg   2021-11-10 22:11:22.611793800 +0100
+++ new/async-timeout-4.0.2/setup.cfg   2021-12-20 10:14:46.643183700 +0100
@@ -41,7 +41,7 @@
 zip_safe = True
 include_package_data = True
 install_requires = 
-       typing_extensions>=3.6.5
+       typing_extensions>=3.6.5; python_version < "3.8"
 
 [flake8]
 exclude = .git,.env,__pycache__,.eggs

Reply via email to