Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-Pebble for openSUSE:Factory checked in at 2022-10-12 18:24:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Pebble (Old) and /work/SRC/openSUSE:Factory/.python-Pebble.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Pebble" Wed Oct 12 18:24:07 2022 rev:12 rq:1009580 version:5.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Pebble/python-Pebble.changes 2022-10-08 01:23:35.494004874 +0200 +++ /work/SRC/openSUSE:Factory/.python-Pebble.new.2275/python-Pebble.changes 2022-10-12 18:25:34.341796512 +0200 @@ -1,0 +2,7 @@ +Mon Oct 10 11:29:15 UTC 2022 - Martin Li??ka <mli...@suse.cz> + +- Update to 5.0.2 + * issue #108: fix build tag enforcing Python 3.6 as minimum + compatible version. + +------------------------------------------------------------------- Old: ---- Pebble-5.0.1.tar.gz New: ---- Pebble-5.0.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Pebble.spec ++++++ --- /var/tmp/diff_new_pack.lNHRH7/_old 2022-10-12 18:25:35.537799500 +0200 +++ /var/tmp/diff_new_pack.lNHRH7/_new 2022-10-12 18:25:35.541799510 +0200 @@ -17,7 +17,7 @@ Name: python-Pebble -Version: 5.0.1 +Version: 5.0.2 Release: 0 Summary: Threading and multiprocessing eye-candy for Python License: LGPL-3.0-only ++++++ Pebble-5.0.1.tar.gz -> Pebble-5.0.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pebble-5.0.1/PKG-INFO new/Pebble-5.0.2/PKG-INFO --- old/Pebble-5.0.1/PKG-INFO 2022-10-05 22:54:29.115634200 +0200 +++ new/Pebble-5.0.2/PKG-INFO 2022-10-09 17:41:32.561891000 +0200 @@ -1,6 +1,6 @@ -Metadata-Version: 1.1 +Metadata-Version: 1.2 Name: Pebble -Version: 5.0.1 +Version: 5.0.2 Summary: Threading and multiprocessing eye-candy. Home-page: https://github.com/noxdafox/pebble Author: Matteo Cafasso @@ -117,3 +117,4 @@ Classifier: Operating System :: OS Independent Classifier: Topic :: Software Development :: Libraries :: Python Modules Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL) +Requires-Python: >=3.6 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pebble-5.0.1/Pebble.egg-info/PKG-INFO new/Pebble-5.0.2/Pebble.egg-info/PKG-INFO --- old/Pebble-5.0.1/Pebble.egg-info/PKG-INFO 2022-10-05 22:54:28.000000000 +0200 +++ new/Pebble-5.0.2/Pebble.egg-info/PKG-INFO 2022-10-09 17:41:32.000000000 +0200 @@ -1,6 +1,6 @@ -Metadata-Version: 1.1 +Metadata-Version: 1.2 Name: Pebble -Version: 5.0.1 +Version: 5.0.2 Summary: Threading and multiprocessing eye-candy. Home-page: https://github.com/noxdafox/pebble Author: Matteo Cafasso @@ -117,3 +117,4 @@ Classifier: Operating System :: OS Independent Classifier: Topic :: Software Development :: Libraries :: Python Modules Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL) +Requires-Python: >=3.6 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pebble-5.0.1/Pebble.egg-info/SOURCES.txt new/Pebble-5.0.2/Pebble.egg-info/SOURCES.txt --- old/Pebble-5.0.1/Pebble.egg-info/SOURCES.txt 2022-10-05 22:54:29.000000000 +0200 +++ new/Pebble-5.0.2/Pebble.egg-info/SOURCES.txt 2022-10-09 17:41:32.000000000 +0200 @@ -1,7 +1,6 @@ LICENSE MANIFEST.in README.rst -setup.cfg setup.py Pebble.egg-info/PKG-INFO Pebble.egg-info/SOURCES.txt diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pebble-5.0.1/pebble/__init__.py new/Pebble-5.0.2/pebble/__init__.py --- old/Pebble-5.0.1/pebble/__init__.py 2022-10-05 22:49:03.000000000 +0200 +++ new/Pebble-5.0.2/pebble/__init__.py 2022-10-09 17:40:46.000000000 +0200 @@ -1,5 +1,5 @@ __author__ = 'Matteo Cafasso' -__version__ = '5.0.1' +__version__ = '5.0.2' __license__ = 'LGPL' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pebble-5.0.1/pebble/asynchronous/process.py new/Pebble-5.0.2/pebble/asynchronous/process.py --- old/Pebble-5.0.1/pebble/asynchronous/process.py 2022-10-05 22:53:41.000000000 +0200 +++ new/Pebble-5.0.2/pebble/asynchronous/process.py 2022-10-09 17:37:39.000000000 +0200 @@ -86,9 +86,9 @@ @wraps(function) def wrapper(*args, **kwargs): - reader, writer = mp_context.Pipe(duplex=False) - loop = asyncio.get_running_loop() + loop = _get_asyncio_loop() future = loop.create_future() + reader, writer = mp_context.Pipe(duplex=False) if isinstance(function, types.FunctionType) and start_method != 'fork': target = _trampoline @@ -174,6 +174,14 @@ raise TypeError('Context expected to be None or multiprocessing.context') +def _get_asyncio_loop(): + """Backwards compatible loop getter.""" + try: + return asyncio.get_running_loop() + except AttributeError: + return asyncio.get_event_loop() + + ################################################################################ # Spawn process start method handling logic ################################################################################ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pebble-5.0.1/pebble/asynchronous/thread.py new/Pebble-5.0.2/pebble/asynchronous/thread.py --- old/Pebble-5.0.1/pebble/asynchronous/thread.py 2022-10-05 22:53:41.000000000 +0200 +++ new/Pebble-5.0.2/pebble/asynchronous/thread.py 2022-10-09 17:37:51.000000000 +0200 @@ -59,7 +59,7 @@ def _thread_wrapper(function, name, daemon): @wraps(function) def wrapper(*args, **kwargs): - loop = asyncio.get_running_loop() + loop = _get_asyncio_loop() future = loop.create_future() launch_thread(name, _function_handler, daemon, function, args, kwargs, future) @@ -87,3 +87,11 @@ raise TypeError('Name expected to be None or string') if daemon is not None and not isinstance(daemon, bool): raise TypeError('Daemon expected to be None or bool') + + +def _get_asyncio_loop(): + """Backwards compatible loop getter.""" + try: + return asyncio.get_running_loop() + except AttributeError: + return asyncio.get_event_loop() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pebble-5.0.1/setup.cfg new/Pebble-5.0.2/setup.cfg --- old/Pebble-5.0.1/setup.cfg 2022-10-05 22:54:29.115634200 +0200 +++ new/Pebble-5.0.2/setup.cfg 2022-10-09 17:41:32.561891000 +0200 @@ -1,6 +1,3 @@ -[bdist_wheel] -universal = 1 - [egg_info] tag_build = tag_date = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pebble-5.0.1/setup.py new/Pebble-5.0.2/setup.py --- old/Pebble-5.0.1/setup.py 2022-09-10 17:03:18.000000000 +0200 +++ new/Pebble-5.0.2/setup.py 2022-10-09 17:39:01.000000000 +0200 @@ -24,6 +24,7 @@ url="https://github.com/noxdafox/pebble", packages=find_packages(exclude=["test"]), long_description=open(os.path.join(CWD, 'README.rst')).read(), + python_requires=">=3.6", classifiers=[ "Programming Language :: Python :: 3", "Development Status :: 5 - Production/Stable",