Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-click-threading for openSUSE:Factory checked in at 2021-07-28 19:21:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-click-threading (Old) and /work/SRC/openSUSE:Factory/.python-click-threading.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-click-threading" Wed Jul 28 19:21:40 2021 rev:6 rq:908885 version:0.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-click-threading/python-click-threading.changes 2020-04-23 18:37:33.636905353 +0200 +++ /work/SRC/openSUSE:Factory/.python-click-threading.new.1899/python-click-threading.changes 2021-07-28 19:21:44.703501314 +0200 @@ -1,0 +2,6 @@ +Wed Jul 28 09:32:20 UTC 2021 - Mark??ta Machov?? <mmach...@suse.com> + +- Update to 0.5.0 + * Fix monkey-patching of functions with annotations + +------------------------------------------------------------------- Old: ---- click-threading-0.4.4.tar.gz New: ---- click-threading-0.5.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-click-threading.spec ++++++ --- /var/tmp/diff_new_pack.6MzBeD/_old 2021-07-28 19:21:45.167500705 +0200 +++ /var/tmp/diff_new_pack.6MzBeD/_new 2021-07-28 19:21:45.171500700 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-click-threading # -# 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,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without python2 Name: python-click-threading -Version: 0.4.4 +Version: 0.5.0 Release: 0 Summary: Multithreaded Click apps made easy License: MIT ++++++ click-threading-0.4.4.tar.gz -> click-threading-0.5.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/click-threading-0.4.4/PKG-INFO new/click-threading-0.5.0/PKG-INFO --- old/click-threading-0.4.4/PKG-INFO 2017-09-25 20:03:36.000000000 +0200 +++ new/click-threading-0.5.0/PKG-INFO 2021-05-30 22:13:58.744311300 +0200 @@ -1,11 +1,16 @@ -Metadata-Version: 1.0 +Metadata-Version: 1.2 Name: click-threading -Version: 0.4.4 +Version: 0.5.0 Summary: Multithreaded Click apps made easy Home-page: https://github.com/click-contrib/click-threading Author: Markus Unterwaditzer Author-email: mar...@unterwaditzer.net License: MIT -Description-Content-Type: UNKNOWN Description: UNKNOWN Platform: UNKNOWN +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Requires-Python: >=3.6 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/click-threading-0.4.4/click_threading/__init__.py new/click-threading-0.5.0/click_threading/__init__.py --- old/click-threading-0.4.4/click_threading/__init__.py 2017-09-25 20:03:18.000000000 +0200 +++ new/click-threading-0.5.0/click_threading/__init__.py 2021-05-30 22:12:13.000000000 +0200 @@ -21,7 +21,7 @@ except ImportError: from futures import Future as _Future -__version__ = '0.4.4' +__version__ = '0.5.0' _CTX_WORKER_KEY = __name__ + '.uiworker' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/click-threading-0.4.4/click_threading/monkey.py new/click-threading-0.5.0/click_threading/monkey.py --- old/click-threading-0.4.4/click_threading/monkey.py 2017-09-25 20:03:08.000000000 +0200 +++ new/click-threading-0.5.0/click_threading/monkey.py 2021-05-30 22:12:13.000000000 +0200 @@ -40,12 +40,16 @@ new_f = wrapper(_copy_fn(f), info) - argspec = getargspec(f) - signature = inspect.formatargspec(*argspec) \ - .lstrip('(') \ - .rstrip(')') - args = ', '.join(arg.split('=')[0].split(':')[0].strip() - for arg in signature.split(',')) + orig_sig_obj = inspect.signature(f) + sig_obj = orig_sig_obj.replace( + parameters=[ + p.replace(annotation=inspect.Parameter.empty) + for p in orig_sig_obj.parameters.values() + ], + return_annotation=inspect.Signature.empty, + ) + signature = str(sig_obj).lstrip('(').rstrip(')') + args = ', '.join(p for p in sig_obj.parameters.keys()) stub_f = eval('lambda {s}: {n}._real_click_fn({a})' .format(n=f.__name__, s=signature, a=args)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/click-threading-0.4.4/click_threading.egg-info/PKG-INFO new/click-threading-0.5.0/click_threading.egg-info/PKG-INFO --- old/click-threading-0.4.4/click_threading.egg-info/PKG-INFO 2017-09-25 20:03:36.000000000 +0200 +++ new/click-threading-0.5.0/click_threading.egg-info/PKG-INFO 2021-05-30 22:13:58.000000000 +0200 @@ -1,11 +1,16 @@ -Metadata-Version: 1.0 +Metadata-Version: 1.2 Name: click-threading -Version: 0.4.4 +Version: 0.5.0 Summary: Multithreaded Click apps made easy Home-page: https://github.com/click-contrib/click-threading Author: Markus Unterwaditzer Author-email: mar...@unterwaditzer.net License: MIT -Description-Content-Type: UNKNOWN Description: UNKNOWN Platform: UNKNOWN +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Requires-Python: >=3.6 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/click-threading-0.4.4/click_threading.egg-info/requires.txt new/click-threading-0.5.0/click_threading.egg-info/requires.txt --- old/click-threading-0.4.4/click_threading.egg-info/requires.txt 2017-09-25 20:03:36.000000000 +0200 +++ new/click-threading-0.5.0/click_threading.egg-info/requires.txt 2021-05-30 22:13:58.000000000 +0200 @@ -1,4 +1 @@ click>=5.0 - -[:python_version < "3.2"] -futures diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/click-threading-0.4.4/setup.py new/click-threading-0.5.0/setup.py --- old/click-threading-0.4.4/setup.py 2016-06-03 09:42:59.000000000 +0200 +++ new/click-threading-0.5.0/setup.py 2021-05-30 22:12:13.000000000 +0200 @@ -23,7 +23,12 @@ install_requires=[ 'click>=5.0', ], - extras_require={ - ':python_version < "3.2"': 'futures' - } + python_requires=">=3.6", + classifiers=[ + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + ], )