From 3028d8a91888c3cb4ff6ab7d90349d0f46ffbe37efd461b7588fd29495846a78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 30 Oct 2018 08:35:15 +0000 Subject: [PATCH] Accepting request 645391 from home:apersaud:branches:devel:languages:python - restored Name section that got messed up by spec-cleaner - specfile: * remove devel for noarch * remove restriction for urllib3 < 1.24 * HISTORY and README changed from .rst to .md - update to version 2.20.0: * Bugfixes + Content-Type header parsing is now case-insensitive (e.g. charset=utf8 v Charset=utf8). + Fixed exception leak where certain redirect urls would raise uncaught urllib3 exceptions. + Requests removes Authorization header from requests redirected from https to http on the same hostname. (CVE-2018-18074) + should_bypass_proxies now handles URIs without hostnames (e.g. files). * Dependencies + Requests now supports urllib3 v1.24. * Deprecations + Requests has officially stopped support for Python 2.6. OBS-URL: https://build.opensuse.org/request/show/645391 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=112 --- python-requests.changes | 23 +++++++++++++++++++++++ python-requests.spec | 9 +++------ requests-2.19.1.tar.gz | 3 --- requests-2.20.0.tar.gz | 3 +++ 4 files changed, 29 insertions(+), 9 deletions(-) delete mode 100644 requests-2.19.1.tar.gz create mode 100644 requests-2.20.0.tar.gz diff --git a/python-requests.changes b/python-requests.changes index 18c5381..a47cb37 100644 --- a/python-requests.changes +++ b/python-requests.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Sat Oct 20 15:39:32 UTC 2018 - Arun Persaud + +- specfile: + * remove devel for noarch + * remove restriction for urllib3 < 1.24 + * HISTORY and README changed from .rst to .md + +- update to version 2.20.0: + * Bugfixes + + Content-Type header parsing is now case-insensitive + (e.g. charset=utf8 v Charset=utf8). + + Fixed exception leak where certain redirect urls would raise + uncaught urllib3 exceptions. + + Requests removes Authorization header from requests redirected + from https to http on the same hostname. (CVE-2018-18074) + + should_bypass_proxies now handles URIs without hostnames + (e.g. files). + * Dependencies + + Requests now supports urllib3 v1.24. + * Deprecations + + Requests has officially stopped support for Python 2.6. + ------------------------------------------------------------------- Thu Jul 19 10:27:24 UTC 2018 - mimi.vx@gmail.com diff --git a/python-requests.spec b/python-requests.spec index fb72bec..60ea680 100644 --- a/python-requests.spec +++ b/python-requests.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -27,7 +27,7 @@ Name: python-requests-%{flavor} %else Name: python-requests %endif -Version: 2.19.1 +Version: 2.20.0 Release: 0 Summary: Awesome Python HTTP Library That's Actually Usable License: Apache-2.0 @@ -35,10 +35,8 @@ Group: Development/Languages/Python URL: http://python-requests.org/ Source: https://files.pythonhosted.org/packages/source/r/requests/requests-%{version}.tar.gz BuildRequires: %{python_module certifi} -BuildRequires: %{python_module devel} BuildRequires: %{python_module py} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module urllib3 < 1.24} BuildRequires: %{python_module urllib3 >= 1.21.1} BuildRequires: ca-certificates BuildRequires: fdupes @@ -51,7 +49,6 @@ Requires: python-chardet >= 3.0.2 Requires: python-idna < 2.8 Requires: python-idna >= 2.5 Requires: python-py -Requires: python-urllib3 < 1.24 Requires: python-urllib3 >= 1.21.1 Recommends: ca-certificates-mozilla Recommends: python-PySocks >= 1.5.6 @@ -126,7 +123,7 @@ touch Pipfile %else %files %{python_files} %license LICENSE -%doc HISTORY.rst README.rst +%doc HISTORY.md README.md %{python_sitelib}/requests/ %{python_sitelib}/requests-* %endif diff --git a/requests-2.19.1.tar.gz b/requests-2.19.1.tar.gz deleted file mode 100644 index 33a6bda..0000000 --- a/requests-2.19.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ec22d826a36ed72a7358ff3fe56cbd4ba69dd7a6718ffd450ff0e9df7a47ce6a -size 131068 diff --git a/requests-2.20.0.tar.gz b/requests-2.20.0.tar.gz new file mode 100644 index 0000000..afe004d --- /dev/null +++ b/requests-2.20.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:99dcfdaaeb17caf6e526f32b6a7b780461512ab3f1d992187801694cba42770c +size 111179