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
This commit is contained in:
Tomáš Chvátal 2018-10-30 08:35:15 +00:00 committed by Git OBS Bridge
parent 708234795a
commit 3028d8a918
4 changed files with 29 additions and 9 deletions

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Sat Oct 20 15:39:32 UTC 2018 - Arun Persaud <arun@gmx.de>
- 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

View File

@ -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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ec22d826a36ed72a7358ff3fe56cbd4ba69dd7a6718ffd450ff0e9df7a47ce6a
size 131068

3
requests-2.20.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:99dcfdaaeb17caf6e526f32b6a7b780461512ab3f1d992187801694cba42770c
size 111179