Accepting request 859719 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/859719
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-urllib3?expand=0&rev=43
This commit is contained in:
Dominique Leuenberger 2021-01-02 20:30:24 +00:00 committed by Git OBS Bridge
commit 009a47f5e0
2 changed files with 22 additions and 4 deletions

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Fri Jan 1 13:20:04 UTC 2021 - Benjamin Greiner <code@bnavigator.de>
- Skip test for RECENT_DATE. It is a test purely for developers.
To maintain reproducibility, keep upstreams possibly outdated
RECENT_DATE in the source code.
-------------------------------------------------------------------
Thu Dec 17 18:13:57 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Add CI variable, which makes timeouts in the test suite longer
(gh#urllib3/urllib3#2109, bsc#1176389) and
test_timeout_errors_cause_retries should not fail.
-------------------------------------------------------------------
Mon Dec 14 15:21:26 UTC 2020 - Benjamin Greiner <code@bnavigator.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-urllib3
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -131,12 +131,16 @@ ln -sf %{python3_sitelib}/__pycache__/six.cpython-%{python3_version_nodots}.pyc
%if %{with test}
%check
# gh#urllib3/urllib3#2109
export CI="true"
# still broken with new ssl
skiplist='test_import_urllib3'
# skip some randomly failing tests (mostly on i586, but sometimes they fail on other architectures)
skiplist="$skiplist or test_ssl_read_timeout or test_ssl_failed_fingerprint_verification or test_ssl_custom_validation_failure_terminates"
# gh#urllib3/urllib3#2109
skiplist="$skiplist or test_timeout_errors_cause_retries"
skiplist+=" or test_ssl_read_timeout or test_ssl_failed_fingerprint_verification or test_ssl_custom_validation_failure_terminates"
# gh#urllib3/urllib3#1752 and others: upstream's way of checking that the build
# system has a correct system time breaks (re-)building the package after too
# many months have passed since the last release.
skiplist+=" or test_recent_date"
%pytest -k "not (${skiplist})"
%endif