From 59f15f636b60b50e6f3cd71ee60a93d29c5d7a1f5cffbd2d60fe6e1acedaa96a Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 18 May 2016 08:06:44 +0000 Subject: [PATCH 1/2] - update to 2.10.1: * SOCKS Proxy Support! (requires PySocks; $ pip install requests[socks]) * Updated bundled urllib3 to 1.15.1. * Change built-in CaseInsensitiveDict (used for headers) to use OrderedDict as its underlying datastore. * Don't use redirect_cache if allow_redirects=False * When passed objects that throw exceptions from ``tell()``, send them via chunked transfer encoding instead of failing. * Raise a ProxyError for proxy related connection issues. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=89 --- python-requests.changes | 13 +++++++++++++ python-requests.spec | 2 +- requests-2.10.0.tar.gz | 3 +++ requests-2.9.1.tar.gz | 3 --- 4 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 requests-2.10.0.tar.gz delete mode 100644 requests-2.9.1.tar.gz diff --git a/python-requests.changes b/python-requests.changes index de64e0f..1dbc82a 100644 --- a/python-requests.changes +++ b/python-requests.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Wed May 18 08:04:41 UTC 2016 - dmueller@suse.com + +- update to 2.10.1: + * SOCKS Proxy Support! (requires PySocks; $ pip install requests[socks]) + * Updated bundled urllib3 to 1.15.1. + * Change built-in CaseInsensitiveDict (used for headers) to use OrderedDict + as its underlying datastore. + * Don't use redirect_cache if allow_redirects=False + * When passed objects that throw exceptions from ``tell()``, send them via + chunked transfer encoding instead of failing. + * Raise a ProxyError for proxy related connection issues. + ------------------------------------------------------------------- Tue Mar 1 17:44:11 UTC 2016 - jmatejek@suse.com diff --git a/python-requests.spec b/python-requests.spec index 8af1ed8..a64a61a 100644 --- a/python-requests.spec +++ b/python-requests.spec @@ -20,7 +20,7 @@ %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %endif Name: python-requests -Version: 2.9.1 +Version: 2.10.0 Release: 0 Summary: Awesome Python HTTP Library That's Actually Usable License: Apache-2.0 diff --git a/requests-2.10.0.tar.gz b/requests-2.10.0.tar.gz new file mode 100644 index 0000000..5d176b0 --- /dev/null +++ b/requests-2.10.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:63f1815788157130cee16a933b2ee184038e975f0017306d723ac326b5525b54 +size 477617 diff --git a/requests-2.9.1.tar.gz b/requests-2.9.1.tar.gz deleted file mode 100644 index 8e8bc9b..0000000 --- a/requests-2.9.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c577815dd00f1394203fc44eb979724b098f88264a9ef898ee45b8e5e9cf587f -size 484252 From 948761ff6e2a1907c18bb6f31a7b28a48d583efcd79f09d8ec05db9c60e18262 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 6 Jun 2016 11:37:29 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=90 --- python-requests.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-requests.spec b/python-requests.spec index a64a61a..086eefc 100644 --- a/python-requests.spec +++ b/python-requests.spec @@ -26,7 +26,7 @@ Summary: Awesome Python HTTP Library That's Actually Usable License: Apache-2.0 Group: Development/Languages/Python Url: http://python-requests.org/ -Source: http://pypi.python.org/packages/source/r/requests/requests-%{version}.tar.gz +Source: https://pypi.io/packages/source/r/requests/requests-%{version}.tar.gz # PATCH-FIX-OPENSUSE no-default-cacert.patch -- Completely ignore the internal CA bundle. Patch0: no-default-cacert.patch # PATCH-FIX-UPSTREAM update urllib3 to do the proper passthrough to set_default_verify_paths