Accepting request 504336 from devel:languages:python
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/504336 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-urllib3?expand=0&rev=12
This commit is contained in:
commit
4f0e4bb597
@ -1,4 +1,33 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 10 08:10:33 UTC 2017 - dmueller@suse.com
|
||||
|
||||
- update to 1.21.1:
|
||||
* Fixed SecureTransport issue that would cause long delays in response body
|
||||
delivery. (Pull #1154)
|
||||
* Fixed regression in 1.21 that threw exceptions when users passed the
|
||||
``socket_options`` flag to the ``PoolManager``. (Issue #1165)
|
||||
* Fixed regression in 1.21 that threw exceptions when users passed the
|
||||
``assert_hostname`` or ``assert_fingerprint`` flag to the ``PoolManager``.
|
||||
* Improved performance of certain selector system calls on Python 3.5 and
|
||||
later. (Pull #1095)
|
||||
* Resolved issue where the PyOpenSSL backend would not wrap SysCallError
|
||||
exceptions appropriately when sending data. (Pull #1125)
|
||||
* Selectors now detects a monkey-patched select module after import for modules
|
||||
that patch the select module like eventlet, greenlet. (Pull #1128)
|
||||
* Reduced memory consumption when streaming zlib-compressed responses
|
||||
(as opposed to raw deflate streams). (Pull #1129)
|
||||
* Connection pools now use the entire request context when constructing the
|
||||
pool key. (Pull #1016)
|
||||
* ``PoolManager.connection_from_*`` methods now accept a new keyword argument,
|
||||
``pool_kwargs``, which are merged with the existing ``connection_pool_kw``.
|
||||
* Add retry counter for ``status_forcelist``. (Issue #1147)
|
||||
* Added ``contrib`` module for using SecureTransport on macOS:
|
||||
``urllib3.contrib.securetransport``. (Pull #1122)
|
||||
* urllib3 now only normalizes the case of ``http://`` and ``https://`` schemes:
|
||||
for schemes it does not recognise, it assumes they are case-sensitive and
|
||||
leaves them unchanged.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 14 14:34:45 UTC 2017 - jmatejek@suse.com
|
||||
|
||||
- merge python3 modifications
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-urllib3
|
||||
Version: 1.20
|
||||
Version: 1.21.1
|
||||
Release: 0
|
||||
Summary: HTTP library with thread-safe connection pooling, file post, and more
|
||||
License: MIT
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:97ef2b6e2878d84c0126b9f4e608e37a951ca7848e4855a7f7f4437d5c34a72f
|
||||
size 201873
|
3
urllib3-1.21.1.tar.gz
Normal file
3
urllib3-1.21.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b14486978518ca0901a76ba973d7821047409d7f726f22156b24e83fd71382a5
|
||||
size 224266
|
@ -1,8 +1,8 @@
|
||||
Index: b/urllib3/util/ssl_.py
|
||||
Index: urllib3-1.21.1/urllib3/util/ssl_.py
|
||||
===================================================================
|
||||
--- a/urllib3/util/ssl_.py
|
||||
+++ b/urllib3/util/ssl_.py
|
||||
@@ -317,6 +317,8 @@ def ssl_wrap_socket(sock, keyfile=None,
|
||||
--- urllib3-1.21.1.orig/urllib3/util/ssl_.py
|
||||
+++ urllib3-1.21.1/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:
|
||||
# try to load OS default certs; works well on Windows (require Python3.4+)
|
||||
context.load_default_certs()
|
||||
|
@ -1,7 +1,7 @@
|
||||
Index: urllib3-1.19.1/setup.cfg
|
||||
Index: urllib3-1.21.1/setup.cfg
|
||||
===================================================================
|
||||
--- urllib3-1.19.1.orig/setup.cfg
|
||||
+++ urllib3-1.19.1/setup.cfg
|
||||
--- urllib3-1.21.1.orig/setup.cfg
|
||||
+++ urllib3-1.21.1/setup.cfg
|
||||
@@ -1,8 +1,5 @@
|
||||
[nosetests]
|
||||
logging-clear-handlers = true
|
||||
@ -10,4 +10,4 @@ Index: urllib3-1.19.1/setup.cfg
|
||||
-cover-erase = true
|
||||
|
||||
[flake8]
|
||||
exclude = ./docs/conf.py,./test/*,./urllib3/packages/*
|
||||
exclude = ./docs/conf.py,./urllib3/packages/*
|
||||
|
@ -1,8 +1,8 @@
|
||||
Index: urllib3-1.19.1/test/with_dummyserver/test_https.py
|
||||
Index: urllib3-1.21.1/test/with_dummyserver/test_https.py
|
||||
===================================================================
|
||||
--- urllib3-1.19.1.orig/test/with_dummyserver/test_https.py
|
||||
+++ urllib3-1.19.1/test/with_dummyserver/test_https.py
|
||||
@@ -465,7 +465,7 @@ class TestHTTPS(HTTPSDummyServerTestCase
|
||||
--- urllib3-1.21.1.orig/test/with_dummyserver/test_https.py
|
||||
+++ urllib3-1.21.1/test/with_dummyserver/test_https.py
|
||||
@@ -503,7 +503,7 @@ class TestHTTPS(HTTPSDummyServerTestCase
|
||||
|
||||
class TestHTTPS_TLSv1(HTTPSDummyServerTestCase):
|
||||
certs = DEFAULT_CERTS.copy()
|
||||
|
Loading…
Reference in New Issue
Block a user