commit python3-requests for openSUSE:Factory
Hello community, here is the log from the commit of package python3-requests for openSUSE:Factory checked in at 2016-08-25 09:50:06 Comparing /work/SRC/openSUSE:Factory/python3-requests (Old) and /work/SRC/openSUSE:Factory/.python3-requests.new (New) Package is "python3-requests" Changes: --- /work/SRC/openSUSE:Factory/python3-requests/python3-requests.changes 2016-06-26 23:51:05.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-requests.new/python3-requests.changes 2016-08-25 09:50:08.0 +0200 @@ -1,0 +2,41 @@ +Sat Aug 20 17:21:35 UTC 2016 - a...@gmx.de + +- update to version 2.11.1: + * Fixed a bug when using iter_content with decode_unicode=True for +streamed bodies would raise AttributeError. This bug was +introduced in 2.11. + * Strip Content-Type and Transfer-Encoding headers from the header +block when following a redirect that transforms the verb from +POST/PUT to GET. + +--- +Wed Aug 17 04:31:08 UTC 2016 - a...@gmx.de + +- update to version 2.11.0: + * Improvements ++ Added support for the ALL_PROXY environment variable. ++ Reject header values that contain leading whitespace or newline + characters to reduce risk of header smuggling. + * Bugfixes ++ Fixed occasional TypeError when attempting to decode a JSON + response that occurred in an error case. Now correctly returns a + ValueError. ++ Requests would incorrectly ignore a non-CIDR IP address in the + NO_PROXY environment variables: Requests now treats it as a + specific IP. ++ Fixed a bug when sending JSON data that could cause us to + encounter obscure OpenSSL errors in certain network conditions + (yes, really). ++ Added type checks to ensure that iter_content only accepts + integers and None for chunk sizes. ++ Fixed issue where responses whose body had not been fully + consumed would have the underlying connection closed but not + returned to the connection pool, which could cause Requests to + hang in situations where the HTTPAdapter had been configured to + use a blocking connection pool. + * Miscellaneous ++ Updated bundled urllib3 to 1.16. ++ Some previous releases accidentally accepted non-strings as + acceptable header values. This release does not. + +--- Old: requests-2.10.0.tar.gz New: requests-2.11.1.tar.gz Other differences: -- ++ python3-requests.spec ++ --- /var/tmp/diff_new_pack.YaauFQ/_old 2016-08-25 09:50:09.0 +0200 +++ /var/tmp/diff_new_pack.YaauFQ/_new 2016-08-25 09:50:09.0 +0200 @@ -19,7 +19,7 @@ %define urllib3_version 1.15.1 Name: python3-requests -Version:2.10.0 +Version:2.11.1 Release:0 Summary:Awesome Python HTTP Library That's Actually Usable License:Apache-2.0 ++ requests-2.10.0.tar.gz -> requests-2.11.1.tar.gz ++ 2776 lines of diff (skipped)
commit python3-requests for openSUSE:Factory
Hello community, here is the log from the commit of package python3-requests for openSUSE:Factory checked in at 2016-06-26 23:51:04 Comparing /work/SRC/openSUSE:Factory/python3-requests (Old) and /work/SRC/openSUSE:Factory/.python3-requests.new (New) Package is "python3-requests" Changes: --- /work/SRC/openSUSE:Factory/python3-requests/python3-requests.changes 2016-05-17 17:12:28.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-requests.new/python3-requests.changes 2016-06-26 23:51:05.0 +0200 @@ -1,0 +2,17 @@ +Fri Jun 3 05:51:33 UTC 2016 - jacobwin...@gmail.com + +- Update to 2.10.0: + * SOCKS Proxy Support! (requires PySocks; $ pip install requests[socks]) + * Updated bundled urllib3 to 1.15.1. +- Update to 2.9.2: + * 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. +- Update spec file: + * Update urllib3 to newest version 1.15.1 + * Remove reference to test file that no longer exists. +- Update no-default-cacert.patch so that it applies. +- Update requests-do-not-use-bundle.patch so that it applies. + +--- Old: requests-2.9.1.tar.gz New: requests-2.10.0.tar.gz Other differences: -- ++ python3-requests.spec ++ --- /var/tmp/diff_new_pack.GyrZSF/_old 2016-06-26 23:51:06.0 +0200 +++ /var/tmp/diff_new_pack.GyrZSF/_new 2016-06-26 23:51:06.0 +0200 @@ -16,10 +16,10 @@ # -%define urllib3_version 1.13.1 +%define urllib3_version 1.15.1 Name: python3-requests -Version:2.9.1 +Version:2.10.0 Release:0 Summary:Awesome Python HTTP Library That's Actually Usable License:Apache-2.0 @@ -102,8 +102,6 @@ if dist is None or not dist.location.startswith("%{_prefix}"): sys.exit(1) END -# run built-in test suite -python3 test_requests.py %files %defattr(-,root,root) ++ no-default-cacert.patch ++ --- /var/tmp/diff_new_pack.GyrZSF/_old 2016-06-26 23:51:06.0 +0200 +++ /var/tmp/diff_new_pack.GyrZSF/_new 2016-06-26 23:51:06.0 +0200 @@ -1,15 +1,13 @@ -Index: requests-2.9.1/MANIFEST.in -=== requests-2.9.1.orig/MANIFEST.in -+++ requests-2.9.1/MANIFEST.in +diff -rupN requests-2.10.0.orig/MANIFEST.in requests-2.10.0/MANIFEST.in +--- requests-2.10.0.orig/MANIFEST.in 2015-09-18 17:53:51.0 -0400 requests-2.10.0/MANIFEST.in2016-06-03 01:17:13.549030517 -0400 @@ -1 +1 @@ -include README.rst LICENSE NOTICE HISTORY.rst test_requests.py requirements.txt requests/cacert.pem +include README.rst LICENSE NOTICE HISTORY.rst test_requests.py requirements.txt -Index: requests-2.9.1/requests/adapters.py -=== requests-2.9.1.orig/requests/adapters.py -+++ requests-2.9.1/requests/adapters.py -@@ -179,15 +179,13 @@ class HTTPAdapter(BaseAdapter): +diff -rupN requests-2.10.0.orig/requests/adapters.py requests-2.10.0/requests/adapters.py +--- requests-2.10.0.orig/requests/adapters.py 2016-04-29 18:03:18.0 -0400 requests-2.10.0/requests/adapters.py 2016-06-03 01:17:13.549030517 -0400 +@@ -198,15 +198,13 @@ class HTTPAdapter(BaseAdapter): if verify is not True: cert_loc = verify @@ -30,10 +28,9 @@ conn.ca_certs = cert_loc else: conn.ca_cert_dir = cert_loc -Index: requests-2.9.1/requests/certs.py -=== requests-2.9.1.orig/requests/certs.py -+++ requests-2.9.1/requests/certs.py +diff -rupN requests-2.10.0.orig/requests/certs.py requests-2.10.0/requests/certs.py +--- requests-2.10.0.orig/requests/certs.py 2015-09-18 17:53:51.0 -0400 requests-2.10.0/requests/certs.py 2016-06-03 01:17:13.549030517 -0400 @@ -18,8 +18,9 @@ try: except ImportError: def where(): @@ -46,11 +43,10 @@ if __name__ == '__main__': print(where()) -Index: requests-2.9.1/setup.py -=== requests-2.9.1.orig/setup.py -+++ requests-2.9.1/setup.py -@@ -50,7 +50,7 @@ setup( +diff -rupN requests-2.10.0.orig/setup.py requests-2.10.0/setup.py +--- requests-2.10.0.orig/setup.py 2016-04-29 18:03:18.0 -0400 requests-2.10.0/setup.py 2016-06-03 01:17:13.549030517 -0400 +@@ -68,7
commit python3-requests for openSUSE:Factory
Hello community, here is the log from the commit of package python3-requests for openSUSE:Factory checked in at 2016-05-17 17:12:27 Comparing /work/SRC/openSUSE:Factory/python3-requests (Old) and /work/SRC/openSUSE:Factory/.python3-requests.new (New) Package is "python3-requests" Changes: --- /work/SRC/openSUSE:Factory/python3-requests/python3-requests.changes 2016-03-26 15:08:26.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3-requests.new/python3-requests.changes 2016-05-17 17:12:28.0 +0200 @@ -1,0 +2,8 @@ +Sun May 8 07:05:52 UTC 2016 - a...@gmx.de + +- specfile: + * changed to https for source url + * updated source url to files.pythonhosted.org + + +--- Other differences: -- ++ python3-requests.spec ++ --- /var/tmp/diff_new_pack.tBysJe/_old 2016-05-17 17:12:29.0 +0200 +++ /var/tmp/diff_new_pack.tBysJe/_new 2016-05-17 17:12:29.0 +0200 @@ -25,7 +25,7 @@ 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://files.pythonhosted.org/packages/source/r/requests/requests-%{version}.tar.gz Source100: PACKAGING_NOTES Source101: set_urllib3_version.sh # PATCH-FIX-OPENSUSE no-default-cacert.patch -- Completely ignore the internal CA bundle.
commit python3-requests for openSUSE:Factory
Hello community, here is the log from the commit of package python3-requests for openSUSE:Factory checked in at 2016-03-26 15:08:25 Comparing /work/SRC/openSUSE:Factory/python3-requests (Old) and /work/SRC/openSUSE:Factory/.python3-requests.new (New) Package is "python3-requests" Changes: --- /work/SRC/openSUSE:Factory/python3-requests/python3-requests.changes 2016-02-25 21:51:12.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3-requests.new/python3-requests.changes 2016-03-26 15:08:26.0 +0100 @@ -1,0 +2,15 @@ +Mon Mar 7 19:26:34 UTC 2016 - jmate...@suse.com + +- modify no-default-cacert.patch again, to perform passthrough + of empty parameters if cert path is not specified +- modify requests-do-not-use-bundle.patch to use built-in facilities + to exclude the bundles, and to keep requests.packages +- modify patches to change setup.py to facilitate their functions +- reenable tests, add python3-pytest as requirement +- recommend ca-certificates-mozilla, require ca-certificates + everywhere (also apply no-default-cacert everywhere) +- make sure requirements in egg-info are set right, and that + the package depends on good-enough version of urllib3 + (see PACKAGING_NOTES for details) + +--- New: PACKAGING_NOTES set_urllib3_version.sh Other differences: -- ++ python3-requests.spec ++ --- /var/tmp/diff_new_pack.ANF4aC/_old 2016-03-26 15:08:27.0 +0100 +++ /var/tmp/diff_new_pack.ANF4aC/_new 2016-03-26 15:08:27.0 +0100 @@ -16,6 +16,8 @@ # +%define urllib3_version 1.13.1 + Name: python3-requests Version:2.9.1 Release:0 @@ -24,6 +26,8 @@ Group: Development/Languages/Python Url:http://python-requests.org/ Source: http://pypi.python.org/packages/source/r/requests/requests-%{version}.tar.gz +Source100: PACKAGING_NOTES +Source101: set_urllib3_version.sh # PATCH-FIX-OPENSUSE no-default-cacert.patch -- Completely ignore the internal CA bundle. Patch0: no-default-cacert.patch # PATCH-FIX-OPENSUSE requests-do-not-use-bundle.patch -- Use system libraries instead of bundled ones. @@ -34,20 +38,15 @@ BuildRequires: python3-devel BuildRequires: python3-py BuildRequires: python3-setuptools -BuildRequires: python3-urllib3 +BuildRequires: python3-urllib3 >= %{urllib3_version} +# test requires +BuildRequires: python3-pytest Requires: ca-certificates +Recommends: ca-certificates-mozilla Requires: python3-chardet Requires: python3-py -# Really needed? -#Requires: python3-ndg-httpsclient -Requires: python3-pyOpenSSL -Requires: python3-pyasn1 -Requires: python3-urllib3 +Requires: python3-urllib3 >= %{urllib3_version} BuildArch: noarch -%if !(0%{?suse_version} == 1315 && !0%{?is_opensuse}) -BuildRequires: ca-certificates -Requires: ca-certificates -%endif %description Requests is an ISC Licensed HTTP library, written in Python, for @@ -74,11 +73,13 @@ %prep %setup -q -n requests-%{version} -%if !(0%{?suse_version} == 1315 && !0%{?is_opensuse}) %patch0 -p1 -rm -f requests/cacert.pem -%endif %patch1 -p1 +rm -f requests/cacert.pem + +# fill out required urllib3 version +sed -i s/#URLLIB3VERSION#/%{urllib3_version}/ setup.py +echo "urllib3 >= %{urllib3_version}" >> requirements.txt %build python3 setup.py build @@ -86,16 +87,28 @@ %install python3 setup.py install \ --root=%{buildroot} --prefix=%{_prefix} -rm -rf %{buildroot}%{python3_sitelib}/requests/packages/ +# check that urllib3 is not installed +test ! -e %{buildroot}%{python3_sitelib}/requests/packages/urllib3 -# Tests require network access. -# %check -# python3 test_requests.py +%check +# first check that we have a good version of urllib3 +# DO NOT DISABLE THIS TEST unless you know what you are doing +# see PACKAGING_NOTES for details +python3 <= #URLLIB3VERSION#'] + + version = '' + with open('requests/__init__.py', 'r') as fd: +@@ -52,7 +46,7 @@ setup( + packages=packages, + package_data={'': ['LICENSE', 'NOTICE']}, + package_dir={'requests': 'requests'}, +-include_package_data=True, ++include_package_data=False, + install_requires=requires, + license='Apache 2.0', + zip_safe=False, ++ set_urllib3_version.sh ++ #!/bin/bash wd=$PWD tmpdir=`mktemp -d` cd $tmpdir tar xzf $wd/requests-*.tar.gz cd requests-* version=`python3 -c 'from requests.packages.urllib3 import __version__; print(__version__, end="")'` cd ../.. rm -rf $tmpdir cd $wd sed -i 's/%define urllib3_version .*$/%define urllib3_version '"$version"'/' python3-requests.spec
commit python3-requests for openSUSE:Factory
Hello community, here is the log from the commit of package python3-requests for openSUSE:Factory checked in at 2016-02-25 21:51:09 Comparing /work/SRC/openSUSE:Factory/python3-requests (Old) and /work/SRC/openSUSE:Factory/.python3-requests.new (New) Package is "python3-requests" Changes: --- /work/SRC/openSUSE:Factory/python3-requests/python3-requests.changes 2015-12-23 09:57:25.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3-requests.new/python3-requests.changes 2016-02-25 21:51:12.0 +0100 @@ -1,0 +2,12 @@ +Wed Feb 17 14:47:12 UTC 2016 - sor.ale...@meowr.ru + +- Modify no-default-cacert.patch: + + output /etc/ssl/ca-bundle.pem instead of neither NULL nor +/etc/ssl/certs/ as a path to cacerts bundle (boo#967128). + + don't patch bundled urllib3, as it's being removed. +- Require ca-certificates package (but not on SLE). +- Remove no-default-cacert-sles.patch: is more compatible to use + the bundled cacert bundle on SLE. +- Copy requires from python-requests (added by Dirk Mueller). + +--- Old: no-default-cacert-sles.patch Other differences: -- ++ python3-requests.spec ++ --- /var/tmp/diff_new_pack.gWK1zs/_old 2016-02-25 21:51:13.0 +0100 +++ /var/tmp/diff_new_pack.gWK1zs/_new 2016-02-25 21:51:13.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python3-requests # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,25 +22,32 @@ Summary:Awesome Python HTTP Library That's Actually Usable License:Apache-2.0 Group: Development/Languages/Python -Url:http://python-requests.org +Url:http://python-requests.org/ Source: http://pypi.python.org/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-SLE no-default-cacert-sles.patch -- Completely ignore the internal CA bundle (SLE version). -Patch1: no-default-cacert-sles.patch # PATCH-FIX-OPENSUSE requests-do-not-use-bundle.patch -- Use system libraries instead of bundled ones. -Patch2: requests-do-not-use-bundle.patch +Patch1: requests-do-not-use-bundle.patch +BuildRequires: ca-certificates BuildRequires: python3 BuildRequires: python3-chardet BuildRequires: python3-devel BuildRequires: python3-py -BuildRequires: python3-pytest BuildRequires: python3-setuptools BuildRequires: python3-urllib3 +Requires: ca-certificates Requires: python3-chardet Requires: python3-py +# Really needed? +#Requires: python3-ndg-httpsclient +Requires: python3-pyOpenSSL +Requires: python3-pyasn1 Requires: python3-urllib3 BuildArch: noarch +%if !(0%{?suse_version} == 1315 && !0%{?is_opensuse}) +BuildRequires: ca-certificates +Requires: ca-certificates +%endif %description Requests is an ISC Licensed HTTP library, written in Python, for @@ -67,15 +74,11 @@ %prep %setup -q -n requests-%{version} -# For rpmlint warning: remove shebang from python library: -sed -i '/^#!/d' ./requests/certs.py -%if 0%{?suse_version} == 1315 && !0%{?is_opensuse} -%patch1 -p1 -%else +%if !(0%{?suse_version} == 1315 && !0%{?is_opensuse}) %patch0 -p1 -%endif -%patch2 -p1 rm -f requests/cacert.pem +%endif +%patch1 -p1 %build python3 setup.py build @@ -85,7 +88,7 @@ --root=%{buildroot} --prefix=%{_prefix} rm -rf %{buildroot}%{python3_sitelib}/requests/packages/ -# Tests require network access +# Tests require network access. # %check # python3 test_requests.py ++ no-default-cacert.patch ++ --- /var/tmp/diff_new_pack.gWK1zs/_old 2016-02-25 21:51:13.0 +0100 +++ /var/tmp/diff_new_pack.gWK1zs/_new 2016-02-25 21:51:13.0 +0100 @@ -23,20 +23,9 @@ """Return the preferred certificate bundle.""" -# vendored bundle inside Requests -return os.path.join(os.path.dirname(__file__), 'cacert.pem') -+# in openSUSE we rely on openssl's default instead of -+# hardcoding stuff elsewhere -+return None ++# in openSUSE we rely on ca-certificates instead of ++# having an another bundle ++return '/etc/ssl/ca-bundle.pem' if __name__ == '__main__': print(where()) a/requests/packages/urllib3/util/ssl_.py -+++ b/requests/packages/urllib3/util/ssl_.py -@@ -298,6 +298,8 @@ def ssl_wrap_socket(sock,
commit python3-requests for openSUSE:Factory
Hello community, here is the log from the commit of package python3-requests for openSUSE:Factory checked in at 2015-12-23 09:57:23 Comparing /work/SRC/openSUSE:Factory/python3-requests (Old) and /work/SRC/openSUSE:Factory/.python3-requests.new (New) Package is "python3-requests" Changes: --- /work/SRC/openSUSE:Factory/python3-requests/python3-requests.changes 2015-10-24 10:23:50.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-requests.new/python3-requests.changes 2015-12-23 09:57:25.0 +0100 @@ -1,0 +2,40 @@ +Tue Dec 22 01:58:34 UTC 2015 - a...@gmx.de + +- specfile: + * updated patches + +- update to version 2.9.1: + * Resolve regression introduced in 2.9.0 that made it impossible to +send binary strings as bodies in Python 3. + * Fixed errors when calculating cookie expiration dates in certain +locales. + * Updated bundled urllib3 to 1.13.1. + +- changes from version 2.9.0: + * The verify keyword argument now supports being passed a path to a +directory of CA certificates, not just a single-file bundle. + * Warnings are now emitted when sending files opened in text mode. + * Added the 511 Network Authentication Required status code to the +status code registry. + * For file-like objects that are not seeked to the very beginning, +we now send the content length for the number of bytes we will +actually read, rather than the total size of the file, allowing +partial file uploads. + * When uploading file-like objects, if they are empty or have no +obvious content length we set Transfer-Encoding: chunked rather +than Content-Length: 0. + * We correctly receive the response in buffered mode when uploading +chunked bodies. + * We now handle being passed a query string as a bytestring on +Python 3, by decoding it as UTF-8. + * Sessions are now closed in all cases (exceptional and not) when +using the functional API rather than leaking and waiting for the +garbage collector to clean them up. + * Correctly handle digest auth headers with a malformed qop +directive that contains no token, by treating it the same as if no +qop directive was provided at all. + * Minor performance improvements when removing specific cookies by +name. + * Updated urllib3 to 1.13. + +--- Old: requests-2.8.1.tar.gz New: requests-2.9.1.tar.gz Other differences: -- ++ python3-requests.spec ++ --- /var/tmp/diff_new_pack.K0pNPh/_old 2015-12-23 09:57:26.0 +0100 +++ /var/tmp/diff_new_pack.K0pNPh/_new 2015-12-23 09:57:26.0 +0100 @@ -17,7 +17,7 @@ Name: python3-requests -Version:2.8.1 +Version:2.9.1 Release:0 Summary:Awesome Python HTTP Library That's Actually Usable License:Apache-2.0 @@ -31,11 +31,11 @@ # PATCH-FIX-OPENSUSE requests-do-not-use-bundle.patch -- Use system libraries instead of bundled ones. Patch2: requests-do-not-use-bundle.patch BuildRequires: python3 -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-pytest BuildRequires: python3-chardet +BuildRequires: python3-devel BuildRequires: python3-py +BuildRequires: python3-pytest +BuildRequires: python3-setuptools BuildRequires: python3-urllib3 Requires: python3-chardet Requires: python3-py ++ no-default-cacert-sles.patch ++ --- /var/tmp/diff_new_pack.K0pNPh/_old 2015-12-23 09:57:26.0 +0100 +++ /var/tmp/diff_new_pack.K0pNPh/_new 2015-12-23 09:57:26.0 +0100 @@ -9,7 +9,7 @@ === --- requests-1.1.0.orig/requests/adapters.py +++ requests-1.1.0/requests/adapters.py -@@ -132,9 +132,6 @@ class HTTPAdapter(BaseAdapter): +@@ -182,9 +182,6 @@ class HTTPAdapter(BaseAdapter): if not cert_loc: cert_loc = DEFAULT_CA_BUNDLE_PATH @@ -17,8 +17,8 @@ -raise Exception("Could not find a suitable SSL CA certificate bundle.") - conn.cert_reqs = 'CERT_REQUIRED' - conn.ca_certs = cert_loc - else: + + if not os.path.isdir(cert_loc): Index: requests-1.1.0/requests/certs.py === --- requests-1.1.0.orig/requests/certs.py ++ no-default-cacert.patch ++ --- /var/tmp/diff_new_pack.K0pNPh/_old 2015-12-23 09:57:26.0 +0100 +++ /var/tmp/diff_new_pack.K0pNPh/_new 2015-12-23 09:57:26.0 +0100 @@ -5,7 +5,7 @@ +include README.rst LICENSE NOTICE HISTORY.rst test_requests.py requirements.txt --- a/requests/adapters.py +++ b/requests/adapters.py -@@
commit python3-requests for openSUSE:Factory
Hello community, here is the log from the commit of package python3-requests for openSUSE:Factory checked in at 2015-10-24 10:23:39 Comparing /work/SRC/openSUSE:Factory/python3-requests (Old) and /work/SRC/openSUSE:Factory/.python3-requests.new (New) Package is "python3-requests" Changes: --- /work/SRC/openSUSE:Factory/python3-requests/python3-requests.changes 2015-05-11 19:49:10.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-requests.new/python3-requests.changes 2015-10-24 10:23:50.0 +0200 @@ -1,0 +2,64 @@ +Thu Oct 15 11:35:49 UTC 2015 - toddrme2...@gmail.com + +- Update to 2.8.1 + * Update certificate bundle to match certifi 2015.9.6.2’s weak +certificate bundle. + * Fix a bug in 2.8.0 where requests would raise ConnectTimeout +instead of ConnectionError + * When using the PreparedRequest flow, requests will now +correctly respect the json parameter. Broken in 2.8.0. +When using the PreparedRequest flow, requests will now +correctly handle a Unicode-string method name on Python 2. +Broken in 2.8.0. +- Rebase requests-do-not-use-bundle.patch +- Disable tests. They fail due to a lack of network access. + +--- +Fri Oct 9 19:11:09 UTC 2015 - sor.ale...@meowr.ru + +- Use (rebased) fix from Ludwig Nussel for no-default-cacert.patch + (do not hardcode a ca cert location). +- Only indicate Apache2 license: no other licenses are present. +- Do not apply no-default-cacert-sles.patch on openSUSE Leap 42.x. +- Fix requests-do-not-use-bundle.patch. +- Small spec cleanup. + +--- +Thu Oct 8 16:45:31 UTC 2015 - a...@gmx.de + +- updated requests-do-not-use-bundle.patch + +- update to version 2.8.0: + * Requests now supports per-host proxies. This allows the proxies + dictionary to have entries of the form {'://': + ''}. Host-specific proxies will be used in preference to the + previously-supported scheme-specific ones, but the previous syntax + will continue to work. + * Response.raise_for_status now prints the URL that failed as part of + the exception message. + * requests.utils.get_netrc_auth now takes an raise_errors kwarg, + defaulting to False. When True, errors parsing .netrc files cause + exceptions to be thrown. + * Change to bundled projects import logic to make it easier to + unbundle requests downstream. + * Changed the default User-Agent string to avoid leaking data on + Linux: now contains only the requests version. + * The json parameter to post() and friends will now only be used if + neither data nor files are present, consistent with the + documentation. + * We now ignore empty fields in the NO_PROXY enviroment variable. + * Fixed problem where httplib.BadStatusLine would get raised if + combining stream=True with contextlib.closing. + * Prevented bugs where we would attempt to return the same connection + back to the connection pool twice when sending a Chunked body. + * Miscellaneous minor internal changes. + * Digest Auth support is now thread safe. + * Updated urllib3 to 1.12. + +--- +Mon Oct 5 17:27:46 UTC 2015 - p.drou...@gmail.com + +- Unbundle python-chardet and python-urllib3 (boo#947357) + requests-do-not-use-bundle.patch + +--- Old: requests-2.7.0.tar.gz New: requests-2.8.1.tar.gz requests-do-not-use-bundle.patch Other differences: -- ++ python3-requests.spec ++ --- /var/tmp/diff_new_pack.axMP6O/_old 2015-10-24 10:23:51.0 +0200 +++ /var/tmp/diff_new_pack.axMP6O/_new 2015-10-24 10:23:51.0 +0200 @@ -17,72 +17,82 @@ Name: python3-requests -Version:2.7.0 +Version:2.8.1 Release:0 -Url:http://python-requests.org Summary:Awesome Python HTTP Library That's Actually Usable -License:Apache-2.0 and LGPL-2.1+ and MIT +License:Apache-2.0 Group: Development/Languages/Python -#TODO/FIXME: Maybe split out charade and urllib3 into sub-packages to simplify: +Url:http://python-requests.org Source: http://pypi.python.org/packages/source/r/requests/requests-%{version}.tar.gz -# PATCH-FIX-OPENSUSE no-default-cacert.patch -- completely ignore the internal CA bundle +# PATCH-FIX-OPENSUSE no-default-cacert.patch -- Completely ignore the internal CA bundle. Patch0: no-default-cacert.patch +# PATCH-FIX-SLE no-default-cacert-sles.patch -- Completely ignore the internal CA bundle (SLE version). Patch1: no-default-cacert-sles.patch -BuildRoot:
commit python3-requests for openSUSE:Factory
Hello community, here is the log from the commit of package python3-requests for openSUSE:Factory checked in at 2015-05-11 19:39:06 Comparing /work/SRC/openSUSE:Factory/python3-requests (Old) and /work/SRC/openSUSE:Factory/.python3-requests.new (New) Package is python3-requests Changes: --- /work/SRC/openSUSE:Factory/python3-requests/python3-requests.changes 2015-04-25 11:26:34.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-requests.new/python3-requests.changes 2015-05-11 19:49:10.0 +0200 @@ -1,0 +2,7 @@ +Sat May 9 16:37:06 UTC 2015 - a...@gmx.de + +- update to version 2.7.0: + * Updated urllib3 to 1.10.4, resolving several bugs involving +chunked transfer encoding and response framing. + +--- Old: requests-2.6.2.tar.gz New: requests-2.7.0.tar.gz Other differences: -- ++ python3-requests.spec ++ --- /var/tmp/diff_new_pack.ylTgDK/_old 2015-05-11 19:49:11.0 +0200 +++ /var/tmp/diff_new_pack.ylTgDK/_new 2015-05-11 19:49:11.0 +0200 @@ -17,7 +17,7 @@ Name: python3-requests -Version:2.6.2 +Version:2.7.0 Release:0 Url:http://python-requests.org Summary:Awesome Python HTTP Library That's Actually Usable ++ requests-2.6.2.tar.gz - requests-2.7.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-2.6.2/HISTORY.rst new/requests-2.7.0/HISTORY.rst --- old/requests-2.6.2/HISTORY.rst 2015-04-23 18:28:35.0 +0200 +++ new/requests-2.7.0/HISTORY.rst 2015-05-03 17:00:37.0 +0200 @@ -3,6 +3,17 @@ Release History --- +2.7.0 (2015-05-03) +++ + +This is the first release that follows our new release process. For more, see +[our documentation](http://docs.python-requests.org/en/latest/community/release-process/). + +**Bugfixes** + +- Updated urllib3 to 1.10.4, resolving several bugs involving chunked transfer + encoding and response framing. + 2.6.2 (2015-04-23) ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-2.6.2/PKG-INFO new/requests-2.7.0/PKG-INFO --- old/requests-2.6.2/PKG-INFO 2015-04-23 18:30:21.0 +0200 +++ new/requests-2.7.0/PKG-INFO 2015-05-03 17:01:16.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: requests -Version: 2.6.2 +Version: 2.7.0 Summary: Python HTTP for Humans. Home-page: http://python-requests.org Author: Kenneth Reitz @@ -100,6 +100,17 @@ Release History --- +2.7.0 (2015-05-03) +++ + +This is the first release that follows our new release process. For more, see +[our documentation](http://docs.python-requests.org/en/latest/community/release-process/). + +**Bugfixes** + +- Updated urllib3 to 1.10.4, resolving several bugs involving chunked transfer + encoding and response framing. + 2.6.2 (2015-04-23) ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-2.6.2/requests/__init__.py new/requests-2.7.0/requests/__init__.py --- old/requests-2.6.2/requests/__init__.py 2015-04-23 18:28:49.0 +0200 +++ new/requests-2.7.0/requests/__init__.py 2015-05-03 17:00:37.0 +0200 @@ -42,8 +42,8 @@ __title__ = 'requests' -__version__ = '2.6.2' -__build__ = 0x020602 +__version__ = '2.7.0' +__build__ = 0x020700 __author__ = 'Kenneth Reitz' __license__ = 'Apache 2.0' __copyright__ = 'Copyright 2015 Kenneth Reitz' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-2.6.2/requests/api.py new/requests-2.7.0/requests/api.py --- old/requests-2.6.2/requests/api.py 2015-04-22 23:39:52.0 +0200 +++ new/requests-2.7.0/requests/api.py 2015-05-03 16:01:44.0 +0200 @@ -55,17 +55,18 @@ return response -def get(url, **kwargs): +def get(url, params=None, **kwargs): Sends a GET request. :param url: URL for the new :class:`Request` object. +:param params: (optional) Dictionary or bytes to be sent in the query string for the :class:`Request`. :param \*\*kwargs: Optional arguments that ``request`` takes. :return: :class:`Response Response` object :rtype: requests.Response kwargs.setdefault('allow_redirects', True) -return request('get', url, **kwargs) +return request('get', url, params=params, **kwargs) def options(url, **kwargs): diff -urN '--exclude=CVS'
commit python3-requests for openSUSE:Factory
Hello community, here is the log from the commit of package python3-requests for openSUSE:Factory checked in at 2015-04-25 09:54:25 Comparing /work/SRC/openSUSE:Factory/python3-requests (Old) and /work/SRC/openSUSE:Factory/.python3-requests.new (New) Package is python3-requests Changes: --- /work/SRC/openSUSE:Factory/python3-requests/python3-requests.changes 2015-03-16 07:01:19.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3-requests.new/python3-requests.changes 2015-04-25 11:26:34.0 +0200 @@ -1,0 +2,24 @@ +Sat Apr 25 00:26:58 UTC 2015 - a...@gmx.de + +- update to version 2.6.2: + * Fix regression where compressed data that was sent as chunked data +was not properly decompressed. (#2561) + +--- +Thu Apr 23 15:26:14 UTC 2015 - a...@gmx.de + +- update to version 2.6.1: + * Remove VendorAlias import machinery introduced in v2.5.2. + * Simplify the PreparedRequest.prepare API: We no longer require the +user to pass an empty list to the hooks keyword +argument. (c.f. #2552) + * Resolve redirects now receives and forwards all of the original +arguments to the adapter. (#2503) + * Handle UnicodeDecodeErrors when trying to deal with a unicode URL +that cannot be encoded in ASCII. (#2540) + * Populate the parsed path of the URI field when performing Digest +Authentication. (#2426) + * Copy a PreparedRequest’s CookieJar more reliably when it is not an +instance of RequestsCookieJar. (#2527) + +--- Old: requests-2.6.0.tar.gz New: requests-2.6.2.tar.gz Other differences: -- ++ python3-requests.spec ++ --- /var/tmp/diff_new_pack.FpWkan/_old 2015-04-25 11:26:34.0 +0200 +++ /var/tmp/diff_new_pack.FpWkan/_new 2015-04-25 11:26:34.0 +0200 @@ -17,7 +17,7 @@ Name: python3-requests -Version:2.6.0 +Version:2.6.2 Release:0 Url:http://python-requests.org Summary:Awesome Python HTTP Library That's Actually Usable ++ requests-2.6.0.tar.gz - requests-2.6.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-2.6.0/HISTORY.rst new/requests-2.6.2/HISTORY.rst --- old/requests-2.6.0/HISTORY.rst 2015-03-14 17:43:47.0 +0100 +++ new/requests-2.6.2/HISTORY.rst 2015-04-23 18:28:35.0 +0200 @@ -3,17 +3,47 @@ Release History --- +2.6.2 (2015-04-23) +++ + +**Bugfixes** + +- Fix regression where compressed data that was sent as chunked data was not + properly decompressed. (#2561) + +2.6.1 (2015-04-22) +++ + +**Bugfixes** + +- Remove VendorAlias import machinery introduced in v2.5.2. + +- Simplify the PreparedRequest.prepare API: We no longer require the user to + pass an empty list to the hooks keyword argument. (c.f. #2552) + +- Resolve redirects now receives and forwards all of the original arguments to + the adapter. (#2503) + +- Handle UnicodeDecodeErrors when trying to deal with a unicode URL that + cannot be encoded in ASCII. (#2540) + +- Populate the parsed path of the URI field when performing Digest + Authentication. (#2426) + +- Copy a PreparedRequest's CookieJar more reliably when it is not an instance + of RequestsCookieJar. (#2527) + 2.6.0 (2015-03-14) ++ **Bugfixes** -- Fix handling of cookies on redirect. Previously a cookie without a host - value set would use the hostname for the redirected URL exposing requests - users to session fixation attacks and potentially cookie stealing. This was - disclosed privately by Matthew Daley of `BugFuzz https://bugfuzz.com`_. - An CVE identifier has not yet been assigned for this. This affects all - versions of requests from v2.1.0 to v2.5.3 (inclusive on both ends). +- CVE-2015-2296: Fix handling of cookies on redirect. Previously a cookie + without a host value set would use the hostname for the redirected URL + exposing requests users to session fixation attacks and potentially cookie + stealing. This was disclosed privately by Matthew Daley of + `BugFuzz https://bugfuzz.com`_. This affects all versions of requests from + v2.1.0 to v2.5.3 (inclusive on both ends). - Fix error when requests is an ``install_requires`` dependency and ``python setup.py test`` is run. (#2462) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-2.6.0/PKG-INFO new/requests-2.6.2/PKG-INFO --- old/requests-2.6.0/PKG-INFO 2015-03-14 17:44:16.0 +0100 +++ new/requests-2.6.2/PKG-INFO 2015-04-23 18:30:21.0 +0200 @@ -1,6 +1,6 @@
commit python3-requests for openSUSE:Factory
Hello community, here is the log from the commit of package python3-requests for openSUSE:Factory checked in at 2015-03-16 07:01:08 Comparing /work/SRC/openSUSE:Factory/python3-requests (Old) and /work/SRC/openSUSE:Factory/.python3-requests.new (New) Package is python3-requests Changes: --- /work/SRC/openSUSE:Factory/python3-requests/python3-requests.changes 2015-02-27 11:00:29.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3-requests.new/python3-requests.changes 2015-03-16 07:01:19.0 +0100 @@ -1,0 +2,23 @@ +Sat Mar 14 20:33:35 UTC 2015 - a...@gmx.de + +- update to version 2.6.0: + * Fix handling of cookies on redirect. Previously a cookie without a +host value set would use the hostname for the redirected URL +exposing requests users to session fixation attacks and +potentially cookie stealing. This was disclosed privately by +Matthew Daley of BugFuzz. An CVE identifier has not yet been +assigned for this. This affects all versions of requests from +v2.1.0 to v2.5.3 (inclusive on both ends). + * Fix error when requests is an install_requires dependency and +python setup.py test is run. (#2462) + * Fix error when urllib3 is unbundled and requests continues to use +the vendored import location. + * Include fixes to urllib3‘s header handling. + * Requests’ handling of unvendored dependencies is now more +restrictive. + * Support bytearrays when passed as parameters in the files +argument. (#2468) + * Avoid data duplication when creating a request with str, bytes, or +bytearray input to the files argument. + +--- Old: requests-2.5.3.tar.gz New: requests-2.6.0.tar.gz Other differences: -- ++ python3-requests.spec ++ --- /var/tmp/diff_new_pack.Dt7OcI/_old 2015-03-16 07:01:20.0 +0100 +++ /var/tmp/diff_new_pack.Dt7OcI/_new 2015-03-16 07:01:20.0 +0100 @@ -17,7 +17,7 @@ Name: python3-requests -Version:2.5.3 +Version:2.6.0 Release:0 Url:http://python-requests.org Summary:Awesome Python HTTP Library That's Actually Usable ++ requests-2.5.3.tar.gz - requests-2.6.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-2.5.3/HISTORY.rst new/requests-2.6.0/HISTORY.rst --- old/requests-2.5.3/HISTORY.rst 2015-02-24 17:33:01.0 +0100 +++ new/requests-2.6.0/HISTORY.rst 2015-03-14 17:43:47.0 +0100 @@ -3,6 +3,36 @@ Release History --- +2.6.0 (2015-03-14) +++ + +**Bugfixes** + +- Fix handling of cookies on redirect. Previously a cookie without a host + value set would use the hostname for the redirected URL exposing requests + users to session fixation attacks and potentially cookie stealing. This was + disclosed privately by Matthew Daley of `BugFuzz https://bugfuzz.com`_. + An CVE identifier has not yet been assigned for this. This affects all + versions of requests from v2.1.0 to v2.5.3 (inclusive on both ends). + +- Fix error when requests is an ``install_requires`` dependency and ``python + setup.py test`` is run. (#2462) + +- Fix error when urllib3 is unbundled and requests continues to use the + vendored import location. + +- Include fixes to ``urllib3``'s header handling. + +- Requests' handling of unvendored dependencies is now more restrictive. + +**Features and Improvements** + +- Support bytearrays when passed as parameters in the ``files`` argument. + (#2468) + +- Avoid data duplication when creating a request with ``str``, ``bytes``, or + ``bytearray`` input to the ``files`` argument. + 2.5.3 (2015-02-24) ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-2.5.3/PKG-INFO new/requests-2.6.0/PKG-INFO --- old/requests-2.5.3/PKG-INFO 2015-02-24 17:33:44.0 +0100 +++ new/requests-2.6.0/PKG-INFO 2015-03-14 17:44:16.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: requests -Version: 2.5.3 +Version: 2.6.0 Summary: Python HTTP for Humans. Home-page: http://python-requests.org Author: Kenneth Reitz @@ -98,6 +98,36 @@ Release History --- +2.6.0 (2015-03-14) +++ + +**Bugfixes** + +- Fix handling of cookies on redirect. Previously a cookie without a host + value set would use the hostname for the redirected URL exposing requests + users to session fixation attacks and potentially cookie stealing. This was + disclosed privately by Matthew Daley of `BugFuzz
commit python3-requests for openSUSE:Factory
Hello community, here is the log from the commit of package python3-requests for openSUSE:Factory checked in at 2015-02-27 10:59:54 Comparing /work/SRC/openSUSE:Factory/python3-requests (Old) and /work/SRC/openSUSE:Factory/.python3-requests.new (New) Package is python3-requests Changes: --- /work/SRC/openSUSE:Factory/python3-requests/python3-requests.changes 2015-01-20 12:37:38.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3-requests.new/python3-requests.changes 2015-02-27 11:00:29.0 +0100 @@ -1,0 +2,33 @@ +Thu Feb 26 02:44:36 UTC 2015 - a...@gmx.de + +- update to version 2.5.3: + * Revert changes to our vendored certificate bundle. For more +context see (#2455, #2456, and http://bugs.python.org/issue23476) + +- changes from version 2.5.2: + * Features and Improvements +- Add sha256 fingerprint support. (shazow/urllib3#540) +- Improve the performance of headers. (shazow/urllib3#544) + * Bugfixes +- Copy pip’s import machinery. When downstream redistributors + remove requests.packages.urllib3 the import machinery will + continue to let those same symbols work. Example usage in + requests’ documentation and 3rd-party libraries relying on the + vendored copies of urllib3 will work without having to fallback + to the system urllib3. +- Attempt to quote parts of the URL on redirect if unquoting and + then quoting fails. (#2356) +- Fix filename type check for multipart form-data uploads. (#2411) +- Properly handle the case where a server issuing digest + authentication challenges provides both auth and auth-int + qop-values. (#2408) +- Fix a socket leak. (shazow/urllib3#549) +- Fix multiple Set-Cookie headers properly. (shazow/urllib3#534) +- Disable the built-in hostname verification. (shazow/urllib3#526) +- Fix the behaviour of decoding an exhausted + stream. (shazow/urllib3#535) + * Security +- Pulled in an updated cacert.pem. +- Drop RC4 from the default cipher list. (shazow/urllib3#551) + +--- Old: requests-2.5.1.tar.gz New: requests-2.5.3.tar.gz Other differences: -- ++ python3-requests.spec ++ --- /var/tmp/diff_new_pack.CCAdQI/_old 2015-02-27 11:00:31.0 +0100 +++ /var/tmp/diff_new_pack.CCAdQI/_new 2015-02-27 11:00:31.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python3-requests # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: python3-requests -Version:2.5.1 +Version:2.5.3 Release:0 Url:http://python-requests.org Summary:Awesome Python HTTP Library That's Actually Usable ++ requests-2.5.1.tar.gz - requests-2.5.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-2.5.1/HISTORY.rst new/requests-2.5.3/HISTORY.rst --- old/requests-2.5.1/HISTORY.rst 2014-12-23 18:50:19.0 +0100 +++ new/requests-2.5.3/HISTORY.rst 2015-02-24 17:33:01.0 +0100 @@ -3,6 +3,61 @@ Release History --- +2.5.3 (2015-02-24) +++ + +**Bugfixes** + +- Revert changes to our vendored certificate bundle. For more context see + (#2455, #2456, and http://bugs.python.org/issue23476) + +2.5.2 (2015-02-23) +++ + +**Features and Improvements** + +- Add sha256 fingerprint support. (`shazow/urllib3#540`_) + +- Improve the performance of headers. (`shazow/urllib3#544`_) + +**Bugfixes** + +- Copy pip's import machinery. When downstream redistributors remove + requests.packages.urllib3 the import machinery will continue to let those + same symbols work. Example usage in requests' documentation and 3rd-party + libraries relying on the vendored copies of urllib3 will work without having + to fallback to the system urllib3. + +- Attempt to quote parts of the URL on redirect if unquoting and then quoting + fails. (#2356) + +- Fix filename type check for multipart form-data uploads. (#2411) + +- Properly handle the case where a server issuing digest authentication + challenges provides both auth and auth-int qop-values. (#2408) + +- Fix a socket leak. (`shazow/urllib3#549`_) + +- Fix multiple ``Set-Cookie`` headers properly. (`shazow/urllib3#534`_) + +- Disable the built-in hostname verification. (`shazow/urllib3#526`_) + +- Fix the behaviour of decoding an exhausted stream. (`shazow/urllib3#535`_) +
commit python3-requests for openSUSE:Factory
Hello community, here is the log from the commit of package python3-requests for openSUSE:Factory checked in at 2015-01-20 12:35:11 Comparing /work/SRC/openSUSE:Factory/python3-requests (Old) and /work/SRC/openSUSE:Factory/.python3-requests.new (New) Package is python3-requests Changes: --- /work/SRC/openSUSE:Factory/python3-requests/python3-requests.changes 2014-09-12 10:04:02.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-requests.new/python3-requests.changes 2015-01-20 12:37:38.0 +0100 @@ -1,0 +2,52 @@ +Sat Jan 17 18:40:45 UTC 2015 - a...@gmx.de + +- specfile: update copyright year + +- update to version 2.5.1: + * Only catch HTTPErrors in raise_for_status (#2382) + * Handle LocationParseError from urllib3 (#2344) + * Handle file-like object filenames that are not strings (#2379) + * Unbreak HTTPDigestAuth handler. Allow new nonces to be negotiated +(#2389) + +- changes from version 2.5.0: + * Allow usage of urllib3's Retry object with HTTPAdapters (#2216) + * The iter_lines method on a response now accepts a delimiter with +which to split the content (#2295) + * Add deprecation warnings to functions in requests.utils that will +be removed in 3.0 (#2309) + * Sessions used by the functional API are always closed (#2326) + * Restrict requests to HTTP/1.1 and HTTP/1.0 (stop accepting +HTTP/0.9) (#2323) + * Only parse the URL once (#2353) + * Allow Content-Length header to always be overriden (#2332) + * Properly handle files in HTTPDigestAuth (#2333) + * Cap redirect_cache size to prevent memory abuse (#2299) + * Fix HTTPDigestAuth handling of redirects after authenticating +successfully (#2253) + * Fix crash with custom method parameter to Session.request (#2317) + * Fix how Link headers are parsed using the regular expression +library (#2271) + * Add more references for interlinking (#2348) + * Update CSS for theme (#2290) + * Update width of buttons and sidebar (#2289) + * Replace references of Gittip with Gratipay (#2282) + * Add link to changelog in sidebar (#2273) + +- changes from version 2.4.3: + * Unicode URL improvements for Python 2. + * Re-order JSON param for backwards compat. + * Automatically defrag authentication schemes from host/pass +URIs. (#2249) + +- changes from version 2.4.2: + * FINALLY! Add json parameter for uploads! (#2258) + * Support for bytestring URLs on Python 3.x (#2238) + * Avoid getting stuck in a loop (#2244) + * Multiple calls to iter* fail with unhelpful error. (#2240, #2241) + * Correct redirection introduction (#2245) + * Added example of how to send multiple files in one +request. (#2227) + * Clarify how to pass a custom set of CAs (#2248) + +--- Old: requests-2.4.1.tar.gz New: requests-2.5.1.tar.gz Other differences: -- ++ python3-requests.spec ++ --- /var/tmp/diff_new_pack.x1nh0m/_old 2015-01-20 12:37:47.0 +0100 +++ /var/tmp/diff_new_pack.x1nh0m/_new 2015-01-20 12:37:47.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python3-requests # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: python3-requests -Version:2.4.1 +Version:2.5.1 Release:0 Url:http://python-requests.org Summary:Awesome Python HTTP Library That's Actually Usable ++ requests-2.4.1.tar.gz - requests-2.5.1.tar.gz ++ 2126 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python3-requests for openSUSE:Factory
Hello community, here is the log from the commit of package python3-requests for openSUSE:Factory checked in at 2014-09-12 10:03:35 Comparing /work/SRC/openSUSE:Factory/python3-requests (Old) and /work/SRC/openSUSE:Factory/.python3-requests.new (New) Package is python3-requests Changes: --- /work/SRC/openSUSE:Factory/python3-requests/python3-requests.changes 2014-07-17 06:58:22.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-requests.new/python3-requests.changes 2014-09-12 10:04:02.0 +0200 @@ -1,0 +2,23 @@ +Thu Sep 11 12:34:42 UTC 2014 - toddrme2...@gmail.com + +- Update to 2.4.1 (2014-09-09) + - Now has a security package extras set, +``$ pip install requests[security]`` + - Requests will now use Certifi if it is available. + - Capture and re-raise urllib3 ProtocolError + - Bugfix for responses that attempt to redirect to themselves +forever (wtf?). +- Update to 2.4.0 (2014-08-29) + * Behavioral Changes +- ``Connection: keep-alive`` header is now sent automatically. + * Improvements +- Support for connect timeouts! Timeout now accepts a tuple + (connect, read) which is used to set individual connect and + read timeouts. +- Allow copying of PreparedRequests without headers/cookies. +- Updated bundled urllib3 version. +- Refactored settings loading from environment + new `Session.merge_environment_settings`. +- Handle socket errors in iter_content. + +--- Old: requests-2.3.0.tar.gz New: requests-2.4.1.tar.gz Other differences: -- ++ python3-requests.spec ++ --- /var/tmp/diff_new_pack.mj7Q2O/_old 2014-09-12 10:04:03.0 +0200 +++ /var/tmp/diff_new_pack.mj7Q2O/_new 2014-09-12 10:04:03.0 +0200 @@ -17,7 +17,7 @@ Name: python3-requests -Version:2.3.0 +Version:2.4.1 Release:0 Url:http://python-requests.org Summary:Awesome Python HTTP Library That's Actually Usable @@ -31,7 +31,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python3 BuildRequires: python3-devel +BuildRequires: python3-py BuildRequires: python3-setuptools +Requires: python3-py BuildArch: noarch %description ++ no-default-cacert-sles.patch ++ --- /var/tmp/diff_new_pack.mj7Q2O/_old 2014-09-12 10:04:03.0 +0200 +++ /var/tmp/diff_new_pack.mj7Q2O/_new 2014-09-12 10:04:03.0 +0200 @@ -23,12 +23,12 @@ === --- requests-1.1.0.orig/requests/certs.py +++ requests-1.1.0/requests/certs.py -@@ -18,7 +18,7 @@ def where(): - def where(): - Return the preferred certificate bundle. - # vendored bundle inside Requests --return os.path.join(os.path.dirname(__file__), 'cacert.pem') -+return None +@@ -19,7 +19,7 @@ + def where(): + Return the preferred certificate bundle. + # vendored bundle inside Requests +-return os.path.join(os.path.dirname(__file__), 'cacert.pem') ++return None if __name__ == '__main__': print(where()) ++ no-default-cacert.patch ++ --- /var/tmp/diff_new_pack.mj7Q2O/_old 2014-09-12 10:04:03.0 +0200 +++ /var/tmp/diff_new_pack.mj7Q2O/_new 2014-09-12 10:04:03.0 +0200 @@ -12,12 +12,12 @@ else: --- a/requests/certs.py +++ b/requests/certs.py -@@ -18,7 +18,7 @@ - def where(): - Return the preferred certificate bundle. - # vendored bundle inside Requests --return os.path.join(os.path.dirname(__file__), 'cacert.pem') -+return '/etc/ssl/certs/' +@@ -19,7 +19,7 @@ + def where(): + Return the preferred certificate bundle. + # vendored bundle inside Requests +-return os.path.join(os.path.dirname(__file__), 'cacert.pem') ++return '/etc/ssl/certs/' if __name__ == '__main__': print(where()) @@ -26,3 +26,4 @@ @@ -1 +1 @@ -include README.rst LICENSE NOTICE HISTORY.rst test_requests.py requirements.txt requests/cacert.pem +include README.rst LICENSE NOTICE HISTORY.rst test_requests.py requirements.txt + ++ requests-2.3.0.tar.gz - requests-2.4.1.tar.gz ++ 3858 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python3-requests for openSUSE:Factory
Hello community, here is the log from the commit of package python3-requests for openSUSE:Factory checked in at 2014-07-17 06:58:16 Comparing /work/SRC/openSUSE:Factory/python3-requests (Old) and /work/SRC/openSUSE:Factory/.python3-requests.new (New) Package is python3-requests Changes: --- /work/SRC/openSUSE:Factory/python3-requests/python3-requests.changes 2013-10-11 19:58:37.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-requests.new/python3-requests.changes 2014-07-17 06:58:22.0 +0200 @@ -1,0 +2,72 @@ +Wed Jul 16 11:29:27 UTC 2014 - p.drou...@gmail.com + +- Replace python3-distribute with python3-setuptools requirement +- Use tarball from pypi + +--- +Thu Jun 12 14:16:21 UTC 2014 - rschweik...@suse.com + +- Update to version 2.3.0 + + New ``Response`` property ``is_redirect``, which is true when the +library could have processed this response as a redirection (whether +or not it actually did). + + The ``timeout`` parameter now affects requests with both ``stream=True`` +and ``stream=False`` equally. + + The change in v2.0.0 to mandate explicit proxy schemes has been reverted. +Proxy schemes now default to ``http://``. + + The ``CaseInsensitiveDict`` used for HTTP headers now behaves like a normal +dictionary when references as string or viewd in the interpreter. + + No longer expose Authorization or Proxy-Authorization headers on redirect. +Fix CVE-2014-1829 and CVE-2014-1830 respectively. + + Authorization is re-evaluated each redirect. + + On redirect, pass url as native strings. + + Fall-back to autodetected encoding for JSON when Unicode detection fails. + + Headers set to ``None`` on the ``Session`` are now correctly not sent. + + Correctly honor ``decode_unicode`` even if it wasn't used earlier in the +same response. + + Stop advertising ``compress`` as a supported Content-Encoding. + + The ``Response.history`` parameter is now always a list. + + Many, many ``urllib3`` bugfixes.- Fixes incorrect parsing of proxy +credentials that contain a literal or encoded '#' character. + + Assorted urllib3 fixes. + + New exception: ``ContentDecodingError``. Raised instead of ``urllib3`` +``DecodeError`` exceptions. + + Avoid many many exceptions from the buggy implementation of +``proxy_bypass`` on OS X in Python 2.6. + + Avoid crashing when attempting to get authentication credentials +from ~/.netrc when running as a user without a home directory. + + Use the correct pool size for pools of connections to proxies. + + Fix iteration of ``CookieJar`` objects. + + Ensure that cookies are persisted over redirect. + + Switch back to using chardet, since it has merged with charade. + + Cookies set on individual Requests through a ``Session`` +(e.g. via ``Session.get()``) are no longer persisted to the ``Session``. + + Clean up connections when we hit problems during chunked upload, +rather than leaking them. + + Return connections to the pool when a chunked upload is successful, +rather than leaking it. + + Match the HTTPbis recommendation for HTTP 301 redirects. + + Prevent hanging when using streaming uploads and Digest Auth when a +401 is received. + + Values of headers set by Requests are now always the native string type. + + Fix previously broken SNI support. + + Fix accessing HTTP proxies using proxy authentication. + + Unencode HTTP Basic usernames and passwords extracted from URLs. + + Support for IP address ranges for no_proxy environment variable + + Parse headers correctly when users override the default ``Host:`` header. + + Avoid munging the URL in case of case-sensitive servers. + + Looser URL handling for non-HTTP/HTTPS urls. + + Accept unicode methods in Python 2.6 and 2.7. + + More resilient cookie handling. + + Make ``Response`` objects pickleable. + + Actually added MD5-sess to Digest Auth instead of pretending to like +last time. + + Updated internal urllib3. + + Fixed @Lukasa's lack of taste. +- Add no-default-cacert-sles.patch: use this patch when building + for SLES, since python in SLES and openSUSE behave differently + when it comes to SSL, and no-default-cacert.patch is wrong for + SLES. +- Update no-default-cacert.patch + +--- Old: requests-2.0.0.tar.gz New: no-default-cacert-sles.patch requests-2.3.0.tar.gz Other differences: -- ++ python3-requests.spec ++ --- /var/tmp/diff_new_pack.KaWFYq/_old 2014-07-17 06:58:24.0 +0200 +++ /var/tmp/diff_new_pack.KaWFYq/_new 2014-07-17 06:58:24.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package
commit python3-requests for openSUSE:Factory
Hello community, here is the log from the commit of package python3-requests for openSUSE:Factory checked in at 2013-10-11 19:58:36 Comparing /work/SRC/openSUSE:Factory/python3-requests (Old) and /work/SRC/openSUSE:Factory/.python3-requests.new (New) Package is python3-requests Changes: --- /work/SRC/openSUSE:Factory/python3-requests/python3-requests.changes 2013-07-29 21:10:06.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-requests.new/python3-requests.changes 2013-10-11 19:58:37.0 +0200 @@ -1,0 +2,48 @@ +Fri Oct 11 10:38:09 UTC 2013 - p.drou...@gmail.com + +- Don't remove python-setuptools metadata directory; only unwanted file + +--- +Wed Sep 25 20:03:36 UTC 2013 - p.drou...@gmail.com + +- Update to version 2.0.0 + API Changes: + + Keys in the Headers dictionary are now native strings on all Python +versions, i.e. bytestrings on Python 2, unicode on Python 3. + + Proxy URLs now must have an explicit scheme. A MissingSchema exception +will be raised if they don't. + + Timeouts now apply to read time if Stream=False. + + RequestException is now a subclass of IOError, not RuntimeError. + + Added new method to PreparedRequest objects: PreparedRequest.copy(). + + Added new method to Session objects: Session.update_request(). This +method updates a Request object with the data (e.g. cookies) stored on the Session. + + Added new method to Session objects: Session.prepare_request(). This method +updates and prepares a Request object, and returns the corresponding PreparedRequest +object. + + Added new method to HTTPAdapter objects: HTTPAdapter.proxy_headers(). +This should not be called directly, but improves the subclass interface. + + httplib.IncompleteRead exceptions caused by incorrect chunked encoding will +now raise a Requests ChunkedEncodingError instead. + + Invalid percent-escape sequences now cause a Requests InvalidURL +exception to be raised. + + HTTP 208 no longer uses reason phrase im_used. Correctly uses already_reported. + + HTTP 226 reason added (im_used). + Bugfixes: + + Vastly improved proxy support, including the CONNECT verb. + + Cookies are now properly managed when 401 authentication responses are received. + + Chunked encoding fixes. + + Support for mixed case schemes. + + Better handling of streaming downloads. + + Retrieve environment proxies from more locations. + + Minor cookies fixes. + + Imroved redirect behaviour. + + Improved streaming behaviour, particularly for compressed data. + + Miscellaneous small Python 3 text encoding bugs. + + .netrc no longer overrides explicit auth. + + Cookies set by hooks are now correctly persisted on Sessions. + + Fix problem with cookies that specify port numbers in their host field. + + BytesIO can be used to perform streaming uploads. + + More generous parsing of the no_proxy environment variable. + + Non-string objects can be passed in data values alongside files. + +--- Old: requests-1.2.3.tar.gz New: requests-2.0.0.tar.gz Other differences: -- ++ python3-requests.spec ++ --- /var/tmp/diff_new_pack.7jIBRG/_old 2013-10-11 19:58:39.0 +0200 +++ /var/tmp/diff_new_pack.7jIBRG/_new 2013-10-11 19:58:39.0 +0200 @@ -17,7 +17,7 @@ Name: python3-requests -Version:1.2.3 +Version:2.0.0 Release:0 Url:http://python-requests.org Summary:Awesome Python HTTP Library That's Actually Usable @@ -72,6 +72,8 @@ %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} +# Remove file in blacklisted location +rm -r %{buildroot}%{python3_sitelib}/requests-2.0.0-py%{py3_ver}.egg-info/SOURCES.txt.orig %files %defattr(-,root,root) ++ requests-1.2.3.tar.gz - requests-2.0.0.tar.gz ++ 3497 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python3-requests for openSUSE:Factory
Hello community, here is the log from the commit of package python3-requests for openSUSE:Factory checked in at 2013-07-29 21:10:05 Comparing /work/SRC/openSUSE:Factory/python3-requests (Old) and /work/SRC/openSUSE:Factory/.python3-requests.new (New) Package is python3-requests Changes: --- /work/SRC/openSUSE:Factory/python3-requests/python3-requests.changes 2013-06-21 19:09:00.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-requests.new/python3-requests.changes 2013-07-29 21:10:06.0 +0200 @@ -1,0 +2,10 @@ +Thu Jul 25 11:40:02 UTC 2013 - vu...@suse.com + +- Add no-default-cacert.patch: completely ignore the internal CA + bundle and point to /etc/ssl/certs/. This works because we + patched python to do the right thing when a directory is used + there instead of a file. +- Manually remove requests/cacert.pem (better than doing that in + the patch, since it's big) too. + +--- New: no-default-cacert.patch Other differences: -- ++ python3-requests.spec ++ --- /var/tmp/diff_new_pack.osS3NI/_old 2013-07-29 21:10:07.0 +0200 +++ /var/tmp/diff_new_pack.osS3NI/_new 2013-07-29 21:10:07.0 +0200 @@ -25,6 +25,8 @@ Group: Development/Languages/Python #TODO/FIXME: Maybe split out charade and urllib3 into sub-packages to simplify: Source: http://pypi.python.org/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 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python3 BuildRequires: python3-devel @@ -59,6 +61,8 @@ %setup -q -n requests-%{version} # For rpmlint warning: remove shebang from python library: sed -i '/^#!/d' ./requests/certs.py +%patch0 -p1 +rm ./requests/cacert.pem %build python3 setup.py build ++ no-default-cacert.patch ++ Index: requests-1.2.3/requests/adapters.py === --- requests-1.2.3.orig/requests/adapters.py +++ requests-1.2.3/requests/adapters.py @@ -129,9 +129,6 @@ class HTTPAdapter(BaseAdapter): if not cert_loc: cert_loc = DEFAULT_CA_BUNDLE_PATH -if not cert_loc: -raise Exception(Could not find a suitable SSL CA certificate bundle.) - conn.cert_reqs = 'CERT_REQUIRED' conn.ca_certs = cert_loc else: Index: requests-1.2.3/requests/certs.py === --- requests-1.2.3.orig/requests/certs.py +++ requests-1.2.3/requests/certs.py @@ -18,7 +18,7 @@ import os.path def where(): Return the preferred certificate bundle. # vendored bundle inside Requests -return os.path.join(os.path.dirname(__file__), 'cacert.pem') +return '/etc/ssl/certs/' if __name__ == '__main__': print(where()) Index: requests-1.2.3/MANIFEST.in === --- requests-1.2.3.orig/MANIFEST.in +++ requests-1.2.3/MANIFEST.in @@ -1 +1 @@ -include README.rst LICENSE NOTICE HISTORY.rst test_requests.py requirements.txt requests/cacert.pem +include README.rst LICENSE NOTICE HISTORY.rst test_requests.py requirements.txt Index: requests-1.2.3/requests.egg-info/SOURCES.txt === --- requests-1.2.3.orig/requests.egg-info/SOURCES.txt +++ requests-1.2.3/requests.egg-info/SOURCES.txt @@ -10,7 +10,6 @@ requests/__init__.py requests/adapters.py requests/api.py requests/auth.py -requests/cacert.pem requests/certs.py requests/compat.py requests/cookies.py @@ -79,4 +78,4 @@ requests/packages/urllib3/contrib/pyopen requests/packages/urllib3/packages/__init__.py requests/packages/urllib3/packages/ordered_dict.py requests/packages/urllib3/packages/six.py -requests/packages/urllib3/packages/ssl_match_hostname/__init__.py \ No newline at end of file +requests/packages/urllib3/packages/ssl_match_hostname/__init__.py -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python3-requests for openSUSE:Factory
Hello community, here is the log from the commit of package python3-requests for openSUSE:Factory checked in at 2013-01-21 07:39:53 Comparing /work/SRC/openSUSE:Factory/python3-requests (Old) and /work/SRC/openSUSE:Factory/.python3-requests.new (New) Package is python3-requests, Maintainer is Changes: New Changes file: NO CHANGES FILE!!! New: _link Other differences: -- ++ _link ++ link package=python-requests cicount=copy / -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org