Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-invoke for openSUSE:Factory checked in at 2021-12-30 15:55:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-invoke (Old) and /work/SRC/openSUSE:Factory/.python-invoke.new.1896 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-invoke" Thu Dec 30 15:55:21 2021 rev:12 rq:942997 version:1.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-invoke/python-invoke.changes 2021-08-25 20:56:00.189334884 +0200 +++ /work/SRC/openSUSE:Factory/.python-invoke.new.1896/python-invoke.changes 2021-12-30 15:55:28.548657099 +0100 @@ -1,0 +2,5 @@ +Tue Dec 28 21:43:30 UTC 2021 - Ben Greiner <c...@bnavigator.de> + +- Add fix-yaml-loader.patch, PyYAML 6 broke it. + +------------------------------------------------------------------- New: ---- fix-yaml-loader.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-invoke.spec ++++++ --- /var/tmp/diff_new_pack.4otiXv/_old 2021-12-30 15:55:29.068657500 +0100 +++ /var/tmp/diff_new_pack.4otiXv/_new 2021-12-30 15:55:29.076657506 +0100 @@ -30,6 +30,8 @@ Source: https://files.pythonhosted.org/packages/source/i/invoke/invoke-%{version}.tar.gz Patch0: 0001-Make-test-fallback-to-system-modules-when-vendorized.patch Patch1: pytest4.patch +# PATCH-FIX-OPENSUSE fix-yaml-loader.patch -- we devendorize PyYAML, which requires the Loader flag now. c...@bnavigator.de +Patch2: fix-yaml-loader.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -60,13 +62,10 @@ inspiration from various sources to arrive at a powerful & clean feature set. %prep -%setup -q -n invoke-%{version} +%autosetup -p1 -n invoke-%{version} # Remove bundled libs, import will fallback to system provided libs rm -fr invoke/vendor/* -%patch0 -p1 -%patch1 -p1 - %build %python_build ++++++ fix-yaml-loader.patch ++++++ Index: invoke-1.6.0/invoke/config.py =================================================================== --- invoke-1.6.0.orig/invoke/config.py +++ invoke-1.6.0/invoke/config.py @@ -906,7 +906,7 @@ class Config(DataProxy): def _load_yaml(self, path): with open(path) as fd: - return yaml.load(fd) + return yaml.load(fd, Loader=yaml.SafeLoader) def _load_yml(self, path): return self._load_yaml(path)