Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-cogapp for openSUSE:Factory checked in at 2021-05-12 19:31:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-cogapp (Old) and /work/SRC/openSUSE:Factory/.python-cogapp.new.2988 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cogapp" Wed May 12 19:31:14 2021 rev:4 rq:891392 version:3.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-cogapp/python-cogapp.changes 2019-04-08 20:53:02.142546319 +0200 +++ /work/SRC/openSUSE:Factory/.python-cogapp.new.2988/python-cogapp.changes 2021-05-12 19:31:19.403263051 +0200 @@ -1,0 +2,6 @@ +Fri May 7 20:31:02 UTC 2021 - Ben Greiner <c...@bnavigator.de> + +- always use absoulte import paths for -I parameter: mitigate + failure due to bpo-43105 fix. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cogapp.spec ++++++ --- /var/tmp/diff_new_pack.sIWpmb/_old 2021-05-12 19:31:19.851261061 +0200 +++ /var/tmp/diff_new_pack.sIWpmb/_new 2021-05-12 19:31:19.855261044 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-cogapp # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -30,7 +30,7 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires(post): update-alternatives -Requires(preun): update-alternatives +Requires(preun):update-alternatives BuildArch: noarch %python_subpackages @@ -41,6 +41,9 @@ %prep %setup -q -n cogapp-%{version} +# The fix for bpo-43105 broke cogapp's way to import relative paths +# https://github.com/nedbat/cog/issues/16 +sed -i 's/self.addToIncludePath(a)/self.addToIncludePath(os.path.abspath(a))/' cogapp/cogapp.py %build %python_build @@ -52,7 +55,8 @@ %python_clone -a %{buildroot}%{_bindir}/cog %check -%pytest +# reverse -q from addopts in setup.cfg +%pytest -v %post %python_install_alternative cog