From f4c0eb72dd2563aee3967dc826200a070c9599daa96c08c3b72417602fb398e7 Mon Sep 17 00:00:00 2001 From: Alberto Planas Dominguez Date: Thu, 1 Sep 2016 12:26:11 +0000 Subject: [PATCH] Accepting request 424147 from home:tbechtold:branches:devel:languages:python update to version v2.11.1 * Update urllib3 to 1.16 * Close and then release the connection * Added tests for should_bypass_proxies function * Update documentation of Session.max_redirects * Document bunch of return types * Update HISTORY.rst * Cleaning up comment on JSON encoding to be more strictly relevant. * Oh yeah, we updated urllib3 too. * Fixing test; it was accomplishing the right thing, but doing it in the wrong way. * compensate for lack of taste * Use xfail marker for a test expected to fail without Internet connection * in python3.x not have StringIO * Spelling fixes * adding in slice_length fix and test for chunk_size=None (#3370) * Support responses like `HTTP/1.1 404 Unicode chars` (#3385) * Document header ordering. (#3295) * Add section on SOCKS proxies. * Update list of supported Python versions in todo.rst * removing Content-Type and Transfer-Encoding headers on redirect * check and test for headers containing return characters or leading whitespace * Clarify Python versions supported by requests * Allow graceful interruption of testserver.Server * reverting 3362 * fixed date formatting * Make BaseAdapter describe the mandatory adapter interface (#3216) * Note how HTTPErrors are raised * Removing charset from JSON content type; tightening requirements on .encode() * Add 'all' proxy selection to select_proxy * Fix TypeError when get json-encoded content of a response OBS-URL: https://build.opensuse.org/request/show/424147 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=93 --- python-requests.changes | 66 +++++++++++++++++++++++++++++++++++++++++ python-requests.spec | 2 +- requests-2.10.0.tar.gz | 3 -- requests-2.11.1.tar.gz | 3 ++ 4 files changed, 70 insertions(+), 4 deletions(-) delete mode 100644 requests-2.10.0.tar.gz create mode 100644 requests-2.11.1.tar.gz diff --git a/python-requests.changes b/python-requests.changes index 1dbc82a..5bceffd 100644 --- a/python-requests.changes +++ b/python-requests.changes @@ -1,3 +1,69 @@ +------------------------------------------------------------------- +Thu Sep 1 07:53:20 UTC 2016 - tbechtold@suse.com + +update to version v2.11.1 + * Update urllib3 to 1.16 + * Close and then release the connection + * Added tests for should_bypass_proxies function + * Update documentation of Session.max_redirects + * Document bunch of return types + * Update HISTORY.rst + * Cleaning up comment on JSON encoding to be more strictly relevant. + * Oh yeah, we updated urllib3 too. + * Fixing test; it was accomplishing the right thing, but doing it in the wrong way. + * compensate for lack of taste + * Use xfail marker for a test expected to fail without Internet connection + * in python3.x not have StringIO + * Spelling fixes + * adding in slice_length fix and test for chunk_size=None (#3370) + * Support responses like `HTTP/1.1 404 Unicode chars` (#3385) + * Document header ordering. (#3295) + * Add section on SOCKS proxies. + * Update list of supported Python versions in todo.rst + * removing Content-Type and Transfer-Encoding headers on redirect + * check and test for headers containing return characters or leading whitespace + * Clarify Python versions supported by requests + * Allow graceful interruption of testserver.Server + * reverting 3362 + * fixed date formatting + * Make BaseAdapter describe the mandatory adapter interface (#3216) + * Note how HTTPErrors are raised + * Removing charset from JSON content type; tightening requirements on .encode() + * Add 'all' proxy selection to select_proxy + * Fix TypeError when get json-encoded content of a response + * wildly inaccurate button results in deletion + * v2.11.1 + * v2.11.0 + * Prepare changelog for 2.11.1. + * Allow None value for chunk_size again (#3368) + * updating documentation to reflect decision of #3386 + * added in type check for chunk_size + * Update a note on AppEngine + * Remove duplicate import warnings + * adding asserted_encoding check on None type encoding to match text() behavior (#3362) + * Encoding JSON requests to bytes for urllib3 to handle; ensuring same with testing. + * docs updates + * Changelog for 2.11 + * Update README.rst + * Use iter instead of noop list comprehension + * Test security warnings (#3289) + * Combined tests to one tests for should_bypass_proxies method + * Update index.rst + * Replace tab with appropriate spaces. + * Support ALL_PROXY environment variable + * Add a bit about RequestsCookieJar to Cookies section + * making module docstrings and coding comments consistent + * docs: Add a note about SSL c_rehash + * updating docstring to match functionality + * fix grammer mistakes in Quickstart + * consider plain ip notation of an ip in no_proxy if not in cidr notation + * Defining header value type requirements and tests + * removing redundant test + * updating HISTORY + * adding in pep8 fixes + * building Response manually + * making class and function docstrings consistent + ------------------------------------------------------------------- Wed May 18 08:04:41 UTC 2016 - dmueller@suse.com diff --git a/python-requests.spec b/python-requests.spec index 086eefc..aa38d21 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.10.0 +Version: 2.11.1 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 deleted file mode 100644 index 5d176b0..0000000 --- a/requests-2.10.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:63f1815788157130cee16a933b2ee184038e975f0017306d723ac326b5525b54 -size 477617 diff --git a/requests-2.11.1.tar.gz b/requests-2.11.1.tar.gz new file mode 100644 index 0000000..ea1129f --- /dev/null +++ b/requests-2.11.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5acf980358283faba0b897c73959cecf8b841205bb4b2ad3ef545f46eae1a133 +size 485936