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