Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-compat-patcher-core for 
openSUSE:Factory checked in at 2021-05-15 23:16:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-compat-patcher-core (Old)
 and      /work/SRC/openSUSE:Factory/.python-compat-patcher-core.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-compat-patcher-core"

Sat May 15 23:16:27 2021 rev:3 rq:893338 version:1.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-compat-patcher-core/python-compat-patcher-core.changes
    2021-01-22 21:52:46.669887697 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-compat-patcher-core.new.2988/python-compat-patcher-core.changes
  2021-05-15 23:17:29.116427762 +0200
@@ -1,0 +2,6 @@
+Sat May 15 10:27:02 UTC 2021 - Ben Greiner <c...@bnavigator.de>
+
+- Fix the logic for testing cookiecutter only on python3 flavor.
+  The non-primary python3 flavors can change and be more than one
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-compat-patcher-core.spec ++++++
--- /var/tmp/diff_new_pack.CntoNj/_old  2021-05-15 23:17:29.516425708 +0200
+++ /var/tmp/diff_new_pack.CntoNj/_new  2021-05-15 23:17:29.516425708 +0200
@@ -59,15 +59,9 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-# Cookiecutter is only available as python3, which is not 3.6 on Tumbleweed
-%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
-if [ "$python" = "python3.6" -o "$python" = "python2" ]; then
-  ignore="tests/test_cookiecutter_recipe.py"
-else
-  ignore=""
-fi
-$python -m pytest tests ${ignore:+ --ignore "$ignore"}
-}
+# Cookiecutter is only available as python3
+%python_expand [ %{_bindir}/$python -ef %{_bindir}/python3 ] ||  
$python_ignore="--ignore tests/test_cookiecutter_recipe.py"
+%pytest tests ${$python_ignore}
 
 %files %{python_files}
 %doc AUTHORS CHANGELOG README.rst

Reply via email to