Accepting request 859717 from home:bnavigator:branches:devel:languages:python

- 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.

OBS-URL: https://build.opensuse.org/request/show/859717
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=115
This commit is contained in:
Dirk Mueller 2021-01-01 13:52:44 +00:00 committed by Git OBS Bridge
parent bc99e941fc
commit b29a44bf2a
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
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> Thu Dec 17 18:13:57 UTC 2020 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-urllib3 # 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 # 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
@ -136,7 +136,11 @@ export CI="true"
# still broken with new ssl # still broken with new ssl
skiplist='test_import_urllib3' skiplist='test_import_urllib3'
# skip some randomly failing tests (mostly on i586, but sometimes they fail on other architectures) # 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" 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})" %pytest -k "not (${skiplist})"
%endif %endif