Accepting request 516172 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/516172
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-urllib3?expand=0&rev=13
This commit is contained in:
Dominique Leuenberger 2017-08-14 10:39:08 +00:00 committed by Git OBS Bridge
commit ea31972c50
4 changed files with 30 additions and 18 deletions

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Fri Aug 11 14:55:33 UTC 2017 - toddrme2178@gmail.com
- Disable tests that timeout
-------------------------------------------------------------------
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

View File

@ -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,12 @@ 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 \
-k 'not test_select_interrupt_exception and not test_selector_error and not timeout' \
urllib3 test}
%files %{python_files}
%defattr(-,root,root,-)

View File

@ -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
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cc44da8e1145637334317feebd728bd869a35285b93cbb4cca2577da7e62db4f
size 226083