Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-Scrapy for openSUSE:Factory checked in at 2022-01-17 22:34:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Scrapy (Old) and /work/SRC/openSUSE:Factory/.python-Scrapy.new.1892 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Scrapy" Mon Jan 17 22:34:04 2022 rev:12 rq:946882 version:2.5.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Scrapy/python-Scrapy.changes 2021-10-08 00:07:29.293899563 +0200 +++ /work/SRC/openSUSE:Factory/.python-Scrapy.new.1892/python-Scrapy.changes 2022-01-17 22:34:46.358272606 +0100 @@ -1,0 +2,5 @@ +Sun Jan 16 21:07:14 UTC 2022 - Ben Greiner <c...@bnavigator.de> + +- Skip a failing test in python310: exception format not recognized + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Scrapy.spec ++++++ --- /var/tmp/diff_new_pack.dmNQ7N/_old 2022-01-17 22:34:46.838272924 +0100 +++ /var/tmp/diff_new_pack.dmNQ7N/_new 2022-01-17 22:34:46.846272929 +0100 @@ -16,10 +16,8 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 -# python-uvloop does not support python3.6 -%define skip_python36 1 Name: python-Scrapy Version: 2.5.1 Release: 0 @@ -60,7 +58,7 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: python3-Sphinx -BuildRequires: %{python_module dataclasses if (%python-base with python36-base)} +BuildRequires: (python3-dataclasses if python3-base < 3.7) Requires: python-Protego >= 0.1.15 Requires: python-PyDispatcher >= 2.0.5 Requires: python-Twisted >= 17.9.0 @@ -114,14 +112,16 @@ # tests/test_downloader_handlers_*.py and test_http2_client_protocol.py: no network # tests/test_command_check.py: twisted dns resolution of example.com error # no color in obs chroot console -skiplist="not test_pformat" +skiplist="test_pformat" +# correct exception but not recognized due to different format +python310_skiplist=" or test_callback_kwargs" %{pytest \ --ignore tests/test_proxy_connect.py \ --ignore tests/test_command_check.py \ --ignore tests/test_downloader_handlers.py \ --ignore tests/test_downloader_handlers_http2.py \ --ignore tests/test_http2_client_protocol.py \ - -k "${skiplist}" \ + -k "not (${skiplist} ${$python_skiplist})" \ -W ignore::DeprecationWarning \ tests} @@ -134,7 +134,8 @@ %files %{python_files} %license LICENSE %doc AUTHORS README.rst -%{python_sitelib}/* +%{python_sitelib}/scrapy +%{python_sitelib}/Scrapy-%{version}*-info %python_alternative %{_bindir}/scrapy %files -n %{name}-doc