14
0

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

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