Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pep517 for openSUSE:Factory checked in at 2021-12-03 20:35:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pep517 (Old) and /work/SRC/openSUSE:Factory/.python-pep517.new.31177 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pep517" Fri Dec 3 20:35:26 2021 rev:10 rq:935041 version:0.12.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pep517/python-pep517.changes 2021-11-20 02:38:03.380994740 +0100 +++ /work/SRC/openSUSE:Factory/.python-pep517.new.31177/python-pep517.changes 2021-12-03 20:35:38.640169298 +0100 @@ -1,0 +2,5 @@ +Wed Dec 1 16:18:07 UTC 2021 - Ben Greiner <c...@bnavigator.de> + +- Fix SLE/Leap python2 build + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pep517.spec ++++++ --- /var/tmp/diff_new_pack.cCdCr0/_old 2021-12-03 20:35:39.232167134 +0100 +++ /var/tmp/diff_new_pack.cCdCr0/_new 2021-12-03 20:35:39.236167119 +0100 @@ -25,6 +25,7 @@ %bcond_with test %endif %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-pep517%{psuffix} Version: 0.12.0 Release: 0 @@ -46,6 +47,13 @@ BuildRequires: %{python_module testpath} BuildRequires: %{python_module wheel} %endif +%if %{with python2} +# for pip +BuildRequires: python-xml +%endif +%ifpython2 +Requires: python-xml +%endif %if 0%{?python_version_nodots} < 36 Requires: python-toml %else @@ -62,7 +70,7 @@ %prep %setup -q -n pep517-%{version} -sed -i 's/--flake8//' pytest.ini +sed -i -e '/--flake8/d' -e '/--strict/d' pytest.ini # Remove what appears to be overly cautious flag # that causes tests to require internet, both here @@ -92,7 +100,9 @@ %if %{with test} %check -%pytest +# +python2_params=("-k" "not test_meta") +%pytest "${$python_params[@]}" %endif %if ! %{with test}