14
0
forked from pool/python-Scrapy

Accepting request 703534 from home:anandrit:branches:devel:languages:python

- Skip flaky CrawlerTestCase

OBS-URL: https://build.opensuse.org/request/show/703534
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Scrapy?expand=0&rev=3
This commit is contained in:
Tomáš Chvátal
2019-05-16 19:37:41 +00:00
committed by Git OBS Bridge
parent 62ba8354a5
commit c4b3eee51a
2 changed files with 9 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu May 16 19:33:46 UTC 2019 - ranand@suse.com
- Skip flaky CrawlerTestCase
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Feb 18 21:00:54 UTC 2019 - Hans-Peter Jansen <hpj@urpla.net> Mon Feb 18 21:00:54 UTC 2019 - Hans-Peter Jansen <hpj@urpla.net>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-Scrapy # spec file for package python-Scrapy
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -25,7 +25,6 @@ Summary: A high-level Python Screen Scraping framework
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/S/Scrapy/Scrapy-%{version}.tar.gz Source: http://pypi.python.org/packages/source/S/Scrapy/Scrapy-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module Pillow} BuildRequires: %{python_module Pillow}
BuildRequires: %{python_module PyDispatcher >= 2.0.5} BuildRequires: %{python_module PyDispatcher >= 2.0.5}
BuildRequires: %{python_module Twisted >= 17.9.0} BuildRequires: %{python_module Twisted >= 17.9.0}
@@ -37,10 +36,11 @@ BuildRequires: %{python_module pyOpenSSL >= 0.14}
BuildRequires: %{python_module pyasn1} BuildRequires: %{python_module pyasn1}
BuildRequires: %{python_module queuelib >= 1.1.1} BuildRequires: %{python_module queuelib >= 1.1.1}
BuildRequires: %{python_module service_identity} BuildRequires: %{python_module service_identity}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six >= 1.5.2} BuildRequires: %{python_module six >= 1.5.2}
BuildRequires: %{python_module w3lib >= 1.17.2} BuildRequires: %{python_module w3lib >= 1.17.2}
BuildRequires: python-rpm-macros
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros
# doc dependencies # doc dependencies
BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module Sphinx}
# test requirements # test requirements
@@ -96,6 +96,7 @@ popd
skiplist="not S3AnonTestCase and not S3TestCase and not S3FeedStorageTest" skiplist="not S3AnonTestCase and not S3TestCase and not S3FeedStorageTest"
skiplist="$skiplist and not FilesPipelineTestCaseFields" skiplist="$skiplist and not FilesPipelineTestCaseFields"
skiplist="$skiplist and not ImagesPipelineTestCaseFields" skiplist="$skiplist and not ImagesPipelineTestCaseFields"
skiplist="$skiplist and not CrawlerTestCase"
# tests/test_proxy_connect.py: requires mitmproxy == 0.10.1 # tests/test_proxy_connect.py: requires mitmproxy == 0.10.1
%{python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} \ %{python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} \
--ignore tests/test_proxy_connect.py \ --ignore tests/test_proxy_connect.py \