diff --git a/python-Scrapy.changes b/python-Scrapy.changes index ab72880..cc96040 100644 --- a/python-Scrapy.changes +++ b/python-Scrapy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 4 00:06:54 UTC 2022 - Ben Greiner + +- Update runtime requirements and test deselections + ------------------------------------------------------------------- Wed Mar 2 22:17:28 UTC 2022 - Matej Cepl diff --git a/python-Scrapy.spec b/python-Scrapy.spec index 9374a06..f85c82e 100644 --- a/python-Scrapy.spec +++ b/python-Scrapy.spec @@ -69,6 +69,7 @@ Requires: python-pyOpenSSL >= 16.2.0 Requires: python-queuelib >= 1.4.2 Requires: python-service_identity >= 16.0.0 Requires: python-setuptools +Requires: python-tldextract Requires: python-w3lib >= 1.17.2 Requires: python-zope.interface >= 4.1.3 Requires(post): update-alternatives @@ -106,20 +107,12 @@ popd %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# tests/test_proxy_connect.py: requires mitmproxy == 0.10.1 -# 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="test_pformat" -# correct exception but not recognized due to different format -python310_skiplist=" or test_callback_kwargs" +# no online connection to toscrapy.com +skiplist="$skiplist or CheckCommandTest" %{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 "not (${skiplist} ${$python_skiplist})" \ + -k "not (${skiplist})" \ -W ignore::DeprecationWarning \ tests}