Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-mocket for openSUSE:Factory checked in at 2021-08-11 11:47:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-mocket (Old) and /work/SRC/openSUSE:Factory/.python-mocket.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mocket" Wed Aug 11 11:47:00 2021 rev:14 rq:910434 version:3.9.42 Changes: -------- --- /work/SRC/openSUSE:Factory/python-mocket/python-mocket.changes 2021-07-13 22:37:00.854331943 +0200 +++ /work/SRC/openSUSE:Factory/.python-mocket.new.1899/python-mocket.changes 2021-08-11 11:47:07.317753371 +0200 @@ -1,0 +2,5 @@ +Thu Aug 5 15:22:22 UTC 2021 - Mark??ta Machov?? <mmach...@suse.com> + +- Add kwsyntax.patch to fix test failure with new decorator. + +------------------------------------------------------------------- New: ---- kwsyntax.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-mocket.spec ++++++ --- /var/tmp/diff_new_pack.TJhmJT/_old 2021-08-11 11:47:08.965751389 +0200 +++ /var/tmp/diff_new_pack.TJhmJT/_new 2021-08-11 11:47:08.969751383 +0200 @@ -32,10 +32,11 @@ License: BSD-3-Clause URL: https://github.com/mindflayer/python-mocket Source0: https://files.pythonhosted.org/packages/source/m/mocket/mocket-%{version}.tar.gz +Patch0: kwsyntax.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-decorator < 5 +Requires: python-decorator Requires: python-http-parser >= 0.9.0 Requires: python-python-magic Requires: python-six @@ -80,6 +81,7 @@ %prep %setup -q -n mocket-%{version} +%autopatch -p1 sed -i '/cov/ d' setup.cfg sed -i '/pipenv/ d' setup.py sed -i 's/==.*$//' requirements.txt ++++++ kwsyntax.patch ++++++ Index: mocket-3.9.42/mocket/mocket.py =================================================================== --- mocket-3.9.42.orig/mocket/mocket.py +++ mocket-3.9.42/mocket/mocket.py @@ -628,7 +628,7 @@ class Mocketizer(object): t(*args, **kw) return wrapper - return decorator.decorator(wrapper, test) + return decorator.decorator(wrapper, test, kwsyntax=True) mocketize = Mocketizer.wrap