forked from pool/python-Scrapy
Accepting request 959733 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/959733 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Scrapy?expand=0&rev=14
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 4 00:06:54 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update runtime requirements and test deselections
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 2 22:17:28 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
Wed Mar 2 22:17:28 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@@ -69,6 +69,7 @@ Requires: python-pyOpenSSL >= 16.2.0
|
|||||||
Requires: python-queuelib >= 1.4.2
|
Requires: python-queuelib >= 1.4.2
|
||||||
Requires: python-service_identity >= 16.0.0
|
Requires: python-service_identity >= 16.0.0
|
||||||
Requires: python-setuptools
|
Requires: python-setuptools
|
||||||
|
Requires: python-tldextract
|
||||||
Requires: python-w3lib >= 1.17.2
|
Requires: python-w3lib >= 1.17.2
|
||||||
Requires: python-zope.interface >= 4.1.3
|
Requires: python-zope.interface >= 4.1.3
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
@@ -106,20 +107,12 @@ popd
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%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
|
# no color in obs chroot console
|
||||||
skiplist="test_pformat"
|
skiplist="test_pformat"
|
||||||
# correct exception but not recognized due to different format
|
# no online connection to toscrapy.com
|
||||||
python310_skiplist=" or test_callback_kwargs"
|
skiplist="$skiplist or CheckCommandTest"
|
||||||
%{pytest \
|
%{pytest \
|
||||||
--ignore tests/test_proxy_connect.py \
|
-k "not (${skiplist})" \
|
||||||
--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})" \
|
|
||||||
-W ignore::DeprecationWarning \
|
-W ignore::DeprecationWarning \
|
||||||
tests}
|
tests}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user