- Update to 1.24.1:

* Remove quadratic behavior within GzipDecoder.decompress()
    (Issue #1467)
  * Restored functionality of ciphers parameter for
    create_urllib3_context(). (Issue #1462)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=55
This commit is contained in:
Matej Cepl 2018-12-30 17:24:43 +00:00 committed by Git OBS Bridge
parent 627a9e53e9
commit 78a5300b00
7 changed files with 22 additions and 19 deletions

View File

@ -13,11 +13,9 @@ Fixes #1303
src/urllib3/connection.py | 6 +++--- src/urllib3/connection.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-) 1 file changed, 3 insertions(+), 3 deletions(-)
Index: urllib3-1.23/urllib3/connection.py --- a/src/urllib3/connection.py
=================================================================== +++ b/src/urllib3/connection.py
--- urllib3-1.23.orig/src/urllib3/connection.py @@ -59,7 +59,7 @@ port_by_scheme = {
+++ urllib3-1.23/src/urllib3/connection.py
@@ -60,7 +60,7 @@ port_by_scheme = {
# and not less than 6 months ago. # and not less than 6 months ago.
# Example: if Today is 2018-01-01, then RECENT_DATE should be any date on or # Example: if Today is 2018-01-01, then RECENT_DATE should be any date on or
# after 2016-01-01 (today - 2 years) AND before 2017-07-01 (today - 6 months) # after 2016-01-01 (today - 2 years) AND before 2017-07-01 (today - 6 months)

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sun Dec 30 18:20:59 CET 2018 - mcepl@suse.com
- Update to 1.24.1:
* Remove quadratic behavior within GzipDecoder.decompress()
(Issue #1467)
* Restored functionality of ciphers parameter for
create_urllib3_context(). (Issue #1462)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 1 14:14:34 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com> Thu Nov 1 14:14:34 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -31,7 +31,7 @@ Name: python-urllib3-%{flavor}
%else %else
Name: python-urllib3 Name: python-urllib3
%endif %endif
Version: 1.24 Version: 1.24.1
Release: 0 Release: 0
Summary: HTTP library with thread-safe connection pooling, file post, and more Summary: HTTP library with thread-safe connection pooling, file post, and more
License: MIT License: MIT

3
urllib3-1.24.1.tar.gz Normal file
View File

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

View File

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

View File

@ -1,8 +1,6 @@
Index: urllib3-1.21.1/src/urllib3/util/ssl_.py --- a/src/urllib3/util/ssl_.py
=================================================================== +++ b/src/urllib3/util/ssl_.py
--- urllib3-1.21.1.orig/src/urllib3/util/ssl_.py @@ -330,6 +330,8 @@ def ssl_wrap_socket(sock, keyfile=None,
+++ urllib3-1.21.1/src/urllib3/util/ssl_.py
@@ -318,6 +318,8 @@ def ssl_wrap_socket(sock, keyfile=None,
elif getattr(context, 'load_default_certs', None) is not None: elif getattr(context, 'load_default_certs', None) is not None:
# try to load OS default certs; works well on Windows (require Python3.4+) # try to load OS default certs; works well on Windows (require Python3.4+)
context.load_default_certs() context.load_default_certs()

View File

@ -1,8 +1,6 @@
Index: urllib3-1.21.1/test/with_dummyserver/test_https.py --- a/test/with_dummyserver/test_https.py
=================================================================== +++ b/test/with_dummyserver/test_https.py
--- urllib3-1.21.1.orig/test/with_dummyserver/test_https.py @@ -557,7 +557,7 @@ class TestHTTPS(HTTPSDummyServerTestCase
+++ urllib3-1.21.1/test/with_dummyserver/test_https.py
@@ -503,7 +503,7 @@ class TestHTTPS(HTTPSDummyServerTestCase
class TestHTTPS_TLSv1(HTTPSDummyServerTestCase): class TestHTTPS_TLSv1(HTTPSDummyServerTestCase):
certs = DEFAULT_CERTS.copy() certs = DEFAULT_CERTS.copy()