Accepting request 515227 from home:tbechtold:branches:devel:languages:python
- update to 1.22: * Fixed missing brackets in ``HTTP CONNECT`` when connecting to IPv6 address via IPv6 proxy. (Issue #1222) * Made the connection pool retry on ``SSLError``. The original ``SSLError`` is available on ``MaxRetryError.reason``. (Issue #1112) * Drain and release connection before recursing on retry/redirect. Fixes deadlocks with a blocking connectionpool. (Issue #1167) * Fixed compatibility for cookiejar. (Issue #1229) * pyopenssl: Use vendored version of ``six``. (Issue #1231) - use pytest for running the tests. That is what upstream is doing OBS-URL: https://build.opensuse.org/request/show/515227 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=29
This commit is contained in:
parent
b53e7d4f88
commit
00ac535759
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 8 06:57:44 UTC 2017 - tbechtold@suse.com
|
||||
|
||||
- update to 1.22:
|
||||
* Fixed missing brackets in ``HTTP CONNECT`` when connecting to IPv6 address via
|
||||
IPv6 proxy. (Issue #1222)
|
||||
* Made the connection pool retry on ``SSLError``. The original ``SSLError``
|
||||
is available on ``MaxRetryError.reason``. (Issue #1112)
|
||||
* Drain and release connection before recursing on retry/redirect. Fixes
|
||||
deadlocks with a blocking connectionpool. (Issue #1167)
|
||||
* Fixed compatibility for cookiejar. (Issue #1229)
|
||||
* pyopenssl: Use vendored version of ``six``. (Issue #1231)
|
||||
- use pytest for running the tests. That is what upstream is doing
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 10 08:10:33 UTC 2017 - dmueller@suse.com
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-urllib3
|
||||
Version: 1.21.1
|
||||
Version: 1.22
|
||||
Release: 0
|
||||
Summary: HTTP library with thread-safe connection pooling, file post, and more
|
||||
License: MIT
|
||||
@ -38,8 +38,8 @@ BuildRequires: %{python_module PySocks}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module mock >= 1.3.0}
|
||||
BuildRequires: %{python_module nose >= 1.3.7}
|
||||
BuildRequires: %{python_module nose-exclude >= 0.4.1}
|
||||
BuildRequires: %{python_module psutil}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module tornado >= 4.2.1}
|
||||
Recommends: python-pyOpenSSL
|
||||
Recommends: python-cryptography
|
||||
@ -84,19 +84,11 @@ Highlights
|
||||
rm -rf build
|
||||
# pretend to be TRAVIS (this triggers timing tolerance)
|
||||
export TRAVIS=1
|
||||
%{python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" $python -m nose \
|
||||
--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 \
|
||||
%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 \
|
||||
--exclude-test=test.with_dummyserver.test_proxy_poolmanager.TestIPv6HTTPProxyManager \
|
||||
--exclude-test=test.with_dummyserver.test_https.TestHTTPS_IPSAN
|
||||
}
|
||||
%{python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" py.test \
|
||||
--ignore=test/appengine \
|
||||
--ignore=test/with_dummyserver/test_proxy_poolmanager.py \
|
||||
--ignore=test/with_dummyserver/test_poolmanager.py \
|
||||
urllib3 test}
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b14486978518ca0901a76ba973d7821047409d7f726f22156b24e83fd71382a5
|
||||
size 224266
|
3
urllib3-1.22.tar.gz
Normal file
3
urllib3-1.22.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cc44da8e1145637334317feebd728bd869a35285b93cbb4cca2577da7e62db4f
|
||||
size 226083
|
Loading…
x
Reference in New Issue
Block a user