Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-aiohttp for openSUSE:Factory checked in at 2022-12-28 10:54:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-aiohttp (Old) and /work/SRC/openSUSE:Factory/.python-aiohttp.new.1563 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-aiohttp" Wed Dec 28 10:54:22 2022 rev:31 rq:1045422 version:3.8.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-aiohttp/python-aiohttp.changes 2022-12-12 18:59:14.571997610 +0100 +++ /work/SRC/openSUSE:Factory/.python-aiohttp.new.1563/python-aiohttp.changes 2022-12-28 10:54:24.428071061 +0100 @@ -1,0 +2,6 @@ +Mon Dec 26 21:35:01 UTC 2022 - Ben Greiner <c...@bnavigator.de> + +- Don't assume python3 to be present for d:l:p:backports/15.4_py39 +- Requires pytest 6.2.0 when pytest.TempPathFactory was introduced. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-aiohttp.spec ++++++ --- /var/tmp/diff_new_pack.rZp8lF/_old 2022-12-28 10:54:25.012074093 +0100 +++ /var/tmp/diff_new_pack.rZp8lF/_new 2022-12-28 10:54:25.016074114 +0100 @@ -75,7 +75,7 @@ BuildRequires: %{python_module proxy.py} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest-timeout} -BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pytest >= 6.2.0} BuildRequires: %{python_module re-assert} BuildRequires: %{python_module trustme} # /SECTION @@ -137,12 +137,13 @@ donttest+=" or test_https_proxy_unsupported_tls_in_tls" # not running under pytest ?! donttest+=" or test_no_warnings" -%if 0%{?python3_version_nodots} == 36 -donttest+=" or test_read_boundary_with_incomplete_chunk" -%endif -# skip functional tests -# rm -v tests/test_proxy_functional.py -%pytest_arch tests -rsEf -k "not ($donttest)" +%{python_expand # Does not work on python <= 3.6 +if [ %{$python_version_nodots} -eq 36 ]; then + #See https://github.com/openSUSE/python-rpm-macros#flavor-expansion for an explanation of this hack + $python_donttest=" or test_read_boundary_with_incomplete_chunk" +fi +} +%pytest_arch tests -rsEf -k "not ($donttest ${$python_donttest})" %files %{python_files} %license LICENSE.txt