Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-nest-asyncio for 
openSUSE:Factory checked in at 2022-10-18 12:44:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-nest-asyncio (Old)
 and      /work/SRC/openSUSE:Factory/.python-nest-asyncio.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-nest-asyncio"

Tue Oct 18 12:44:15 2022 rev:6 rq:1011266 version:1.5.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-nest-asyncio/python-nest-asyncio.changes  
2022-05-31 15:46:55.463969980 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-nest-asyncio.new.2275/python-nest-asyncio.changes
        2022-10-18 12:44:19.925632513 +0200
@@ -1,0 +2,6 @@
+Sun Oct 16 17:58:59 UTC 2022 - Dirk M??ller <dmuel...@suse.com>
+
+- update to 1.5.6:
+  * Add Python 3.11 support 
+
+-------------------------------------------------------------------

Old:
----
  nest_asyncio-1.5.5.tar.gz

New:
----
  nest_asyncio-1.5.6.tar.gz

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

Other differences:
------------------
++++++ python-nest-asyncio.spec ++++++
--- /var/tmp/diff_new_pack.Jw9w3n/_old  2022-10-18 12:44:20.417633633 +0200
+++ /var/tmp/diff_new_pack.Jw9w3n/_new  2022-10-18 12:44:20.421633642 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:           python-nest-asyncio
-Version:        1.5.5
+Version:        1.5.6
 Release:        0
 Summary:        Patch asyncio to allow nested event loops
 License:        BSD-2-Clause

++++++ nest_asyncio-1.5.5.tar.gz -> nest_asyncio-1.5.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nest_asyncio-1.5.5/.github/workflows/test.yml 
new/nest_asyncio-1.5.6/.github/workflows/test.yml
--- old/nest_asyncio-1.5.5/.github/workflows/test.yml   2021-08-20 
17:04:34.000000000 +0200
+++ new/nest_asyncio-1.5.6/.github/workflows/test.yml   2022-09-30 
09:02:48.000000000 +0200
@@ -1,4 +1,4 @@
-name: Test
+name: nest_asyncio
 
 on: [ push, pull_request ]
 
@@ -8,26 +8,33 @@
     strategy:
       matrix:
         os: [ubuntu, macos, windows]
-        python-version: [ 3.6, 3.7, 3.8, 3.9, pypy-3.7 ]
+        python-version: [ 3.6, 3.7, 3.8, 3.9, "3.10", pypy-3.9 ]
         exclude:
           - os: windows
-            python-version: pypy-3.7
-        include:
-          - os: ubuntu
-            python-version: '3.10.0-alpha - 3.10.0'
-            deps: newest-deps
-            experimental: true
+            python-version: pypy-3.9
 
     steps:
-      - uses: actions/checkout@v2
-
+      - uses: actions/checkout@v3
       - name: Set up Python ${{ matrix.python-version }}
-        uses: actions/setup-python@v2
+        uses: actions/setup-python@v4
         with:
           python-version: ${{ matrix.python-version }}
 
       - name: Install dependencies
-        run: pip install .
+        run: |
+          python -m pip install --upgrade pip
+          pip install flake8 mypy .
+
+      - name: Flake8 static code analysis
+        run:
+          flake8 nest_asyncio.py
+
+      - name: MyPy static code analysis
+        run: |
+          mypy nest_asyncio.py
+
+      - name: Testsuite
+        run: |
+          python tests/nest_test.py
+
 
-      - name: Unit tests
-        run: python tests/nest_test.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nest_asyncio-1.5.5/PKG-INFO 
new/nest_asyncio-1.5.6/PKG-INFO
--- old/nest_asyncio-1.5.5/PKG-INFO     2022-04-02 20:39:10.192274800 +0200
+++ new/nest_asyncio-1.5.6/PKG-INFO     2022-09-30 09:09:13.925886400 +0200
@@ -1,13 +1,12 @@
 Metadata-Version: 2.1
 Name: nest_asyncio
-Version: 1.5.5
+Version: 1.5.6
 Summary: Patch asyncio to allow nested event loops
 Home-page: https://github.com/erdewit/nest_asyncio
 Author: Ewald R. de Wit
 Author-email: ewald.de....@gmail.com
 License: BSD
 Keywords: asyncio,nested,eventloop
-Platform: UNKNOWN
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Intended Audience :: Developers
 Classifier: License :: OSI Approved :: BSD License
@@ -17,6 +16,7 @@
 Classifier: Programming Language :: Python :: 3.8
 Classifier: Programming Language :: Python :: 3.9
 Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
 Classifier: Programming Language :: Python :: 3 :: Only
 Classifier: Framework :: AsyncIO
 Requires-Python: >=3.5
@@ -84,5 +84,3 @@
    :alt: Number of downloads
    :target: https://pepy.tech/project/nest-asyncio
 
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nest_asyncio-1.5.5/nest_asyncio.egg-info/PKG-INFO 
new/nest_asyncio-1.5.6/nest_asyncio.egg-info/PKG-INFO
--- old/nest_asyncio-1.5.5/nest_asyncio.egg-info/PKG-INFO       2022-04-02 
20:39:10.000000000 +0200
+++ new/nest_asyncio-1.5.6/nest_asyncio.egg-info/PKG-INFO       2022-09-30 
09:09:13.000000000 +0200
@@ -1,13 +1,12 @@
 Metadata-Version: 2.1
 Name: nest-asyncio
-Version: 1.5.5
+Version: 1.5.6
 Summary: Patch asyncio to allow nested event loops
 Home-page: https://github.com/erdewit/nest_asyncio
 Author: Ewald R. de Wit
 Author-email: ewald.de....@gmail.com
 License: BSD
 Keywords: asyncio,nested,eventloop
-Platform: UNKNOWN
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Intended Audience :: Developers
 Classifier: License :: OSI Approved :: BSD License
@@ -17,6 +16,7 @@
 Classifier: Programming Language :: Python :: 3.8
 Classifier: Programming Language :: Python :: 3.9
 Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
 Classifier: Programming Language :: Python :: 3 :: Only
 Classifier: Framework :: AsyncIO
 Requires-Python: >=3.5
@@ -84,5 +84,3 @@
    :alt: Number of downloads
    :target: https://pepy.tech/project/nest-asyncio
 
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nest_asyncio-1.5.5/nest_asyncio.py 
new/nest_asyncio-1.5.6/nest_asyncio.py
--- old/nest_asyncio-1.5.5/nest_asyncio.py      2022-04-02 20:24:14.000000000 
+0200
+++ new/nest_asyncio-1.5.6/nest_asyncio.py      2022-09-30 08:44:18.000000000 
+0200
@@ -1,3 +1,5 @@
+"""Patch asyncio to allow nested event loops."""
+
 import asyncio
 import asyncio.events as events
 import os
@@ -18,10 +20,8 @@
 
 
 def _patch_asyncio():
-    """
-    Patch asyncio module to use pure Python tasks and futures,
-    use module level _current_tasks, all_tasks and patch run method.
-    """
+    """Patch asyncio module to use pure Python tasks and futures."""
+
     def run(main, *, debug=False):
         try:
             loop = asyncio.get_event_loop()
@@ -45,6 +45,7 @@
             loop = events.get_event_loop_policy().get_event_loop()
         return loop
 
+    # Use module level _current_tasks, all_tasks and patch run method.
     if hasattr(asyncio, '_nest_patched'):
         return
     if sys.version_info >= (3, 6, 0):
@@ -180,7 +181,7 @@
     cls._check_runnung = _check_running  # typo in Python 3.7 source
     cls._num_runs_pending = 0
     cls._is_proactorloop = (
-            os.name == 'nt' and issubclass(cls, asyncio.ProactorEventLoop))
+        os.name == 'nt' and issubclass(cls, asyncio.ProactorEventLoop))
     if sys.version_info < (3, 7, 0):
         cls._set_coroutine_origin_tracking = cls._set_coroutine_wrapper
     cls._nest_patched = True
@@ -223,12 +224,12 @@
 
 
 def _patch_tornado():
-        """
-        If tornado is imported before nest_asyncio, make tornado aware of
-        the pure-Python asyncio Future.
-        """
-        if 'tornado' in sys.modules:
-            import tornado.concurrent as tc
-            tc.Future = asyncio.Future
-            if asyncio.Future not in tc.FUTURES:
-                tc.FUTURES += (asyncio.Future,)
+    """
+    If tornado is imported before nest_asyncio, make tornado aware of
+    the pure-Python asyncio Future.
+    """
+    if 'tornado' in sys.modules:
+        import tornado.concurrent as tc  # type: ignore
+        tc.Future = asyncio.Future
+        if asyncio.Future not in tc.FUTURES:
+            tc.FUTURES += (asyncio.Future,)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nest_asyncio-1.5.5/setup.cfg 
new/nest_asyncio-1.5.6/setup.cfg
--- old/nest_asyncio-1.5.5/setup.cfg    2022-04-02 20:39:10.193274700 +0200
+++ new/nest_asyncio-1.5.6/setup.cfg    2022-09-30 09:09:13.925886400 +0200
@@ -1,6 +1,6 @@
 [metadata]
 name = nest_asyncio
-version = 1.5.5
+version = 1.5.6
 author = Ewald R. de Wit
 author_email = ewald.de....@gmail.com
 license = BSD
@@ -20,6 +20,7 @@
        Programming Language :: Python :: 3.8
        Programming Language :: Python :: 3.9
        Programming Language :: Python :: 3.10
+       Programming Language :: Python :: 3.11
        Programming Language :: Python :: 3 :: Only
        Framework :: AsyncIO
 
@@ -27,6 +28,9 @@
 py_modules = nest_asyncio
 python_requires = >=3.5
 
+[flake8]
+ignore = D205,D400,W503
+
 [egg_info]
 tag_build = 
 tag_date = 0

Reply via email to