forked from pool/python-urllib3
Accepting request 352078 from home:frispete:python
- Update to Version 1.14 (2015-12-29) * contrib: SOCKS proxy support! (Issue #762) * Fixed AppEngine handling of transfer-encoding header and bug in Timeout defaults checking. (Issue #763) - Update to Version 1.13.1 (2015-12-18) * Fixed regression in IPv6 + SSL for match_hostname. (Issue #761) - Update to Version 1.13 (2015-12-14) * Fixed pip install urllib3[secure] on modern pip. (Issue #706) * pyopenssl: Fixed SSL3_WRITE_PENDING error. (Issue #717) * pyopenssl: Support for TLSv1.1 and TLSv1.2. (Issue #696) * Close connections more defensively on exception. (Issue #734) * Adjusted read_chunked to handle gzipped, chunk-encoded bodies without repeatedly flushing the decoder, to function better on Jython. (Issue #743) * Accept ca_cert_dir for SSL-related PoolManager configuration. (Issue #758) - removed ready-event.patch: applied upstream - disabled more dysfunctional tests - restored ability to build with openSUSE <= 13.2 OBS-URL: https://build.opensuse.org/request/show/352078 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=15
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-urllib3
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: python-urllib3
|
||||
Version: 1.12
|
||||
Version: 1.14
|
||||
Release: 0
|
||||
Summary: HTTP library with thread-safe connection pooling, file post, and more
|
||||
License: MIT
|
||||
@@ -30,8 +30,7 @@ Patch1: urllib3-test-no-coverage.patch
|
||||
Patch2: urllib3-ssl-default-context.patch
|
||||
# PATCH-FIX-OPENSUSE -- do not use unsupported SSLv3 in tests
|
||||
Patch3: urllib3-test-ssl-drop-sslv3.patch
|
||||
# PATCH-FIX-UPSTREAM -- fix race conditions with ready_event state variable in timeout tests
|
||||
Patch4: ready-event.patch
|
||||
BuildRequires: python-PySocks
|
||||
#!BuildIgnore: python-requests
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-mock >= 1.3.0
|
||||
@@ -70,7 +69,6 @@ Highlights
|
||||
%if %(python -c "import ssl; print(hasattr(ssl,'PROTOCOL_TLSv1_2'))") == "True"
|
||||
%patch3 -p1
|
||||
%endif
|
||||
%patch4 -p1
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
@@ -82,7 +80,14 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
rm -rf build
|
||||
PYTHONPATH="%{buildroot}%{python_sitelib}" nosetests \
|
||||
--exclude-test=test.with_dummyserver.test_proxy_poolmanager.TestHTTPProxyManager.test_https_proxy_timeout \
|
||||
--exclude-test=test.with_dummyserver.test_proxy_poolmanager.TestHTTPProxyManager.test_https_proxy_pool_timeout
|
||||
--exclude-test=test.with_dummyserver.test_proxy_poolmanager.TestHTTPProxyManager.test_https_proxy_pool_timeout \
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1320
|
||||
--exclude-test=test.with_dummyserver.test_proxy_poolmanager.TestIPv6HTTPProxyManager.test_basic_ipv6_proxy \
|
||||
%endif
|
||||
--exclude-test=test.with_dummyserver.test_proxy_poolmanager.TestHTTPProxyManager.test_headerdict \
|
||||
--exclude-test=test.with_dummyserver.test_proxy_poolmanager.TestHTTPProxyManager.test_headers \
|
||||
--exclude-test=test.with_dummyserver.test_poolmanager.TestPoolManager.test_headers \
|
||||
--exclude-test=test.with_dummyserver.test_https.TestHTTPS_IPv6Addr
|
||||
|
||||
#%pre
|
||||
# previous versions of the package installed .egg-info as a directory,
|
||||
|
Reference in New Issue
Block a user