Accepting request 778804 from devel:languages:python
- update to 2.23.0 - dropped merged_pr_5049.patch - refreshed requests-no-hardcoded-version.patch * Remove defunct reference to prefetch in Session __attrs__ * Requests no longer outputs password in basic auth usage warning OBS-URL: https://build.opensuse.org/request/show/778804 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=63
This commit is contained in:
commit
831b47df62
@ -1,27 +0,0 @@
|
|||||||
From dc75b3ca0b4c95648eb07b92cb414394d99c13a0 Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
|
|
||||||
Date: Mon, 8 Apr 2019 18:04:22 +0200
|
|
||||||
Subject: [PATCH] Support pytest 4
|
|
||||||
|
|
||||||
Fixes https://github.com/kennethreitz/requests/issues/5048
|
|
||||||
|
|
||||||
See https://docs.pytest.org/en/latest/deprecations.html#marks-in-pytest-mark-parametrize
|
|
||||||
---
|
|
||||||
setup.py | 2 +-
|
|
||||||
tests/test_utils.py | 3 ++-
|
|
||||||
2 files changed, 3 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/tests/test_utils.py b/tests/test_utils.py
|
|
||||||
index 59b0b0efa..62c51494d 100644
|
|
||||||
--- a/tests/test_utils.py
|
|
||||||
+++ b/tests/test_utils.py
|
|
||||||
@@ -33,7 +33,8 @@ class TestSuperLen:
|
|
||||||
'stream, value', (
|
|
||||||
(StringIO.StringIO, 'Test'),
|
|
||||||
(BytesIO, b'Test'),
|
|
||||||
- pytest.mark.skipif('cStringIO is None')((cStringIO, 'Test')),
|
|
||||||
+ pytest.param(cStringIO, 'Test',
|
|
||||||
+ marks=pytest.mark.skipif('cStringIO is None')),
|
|
||||||
))
|
|
||||||
def test_io_streams(self, stream, value):
|
|
||||||
"""Ensures that we properly deal with different kinds of IO streams."""
|
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 24 15:19:16 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
- update to 2.23.0
|
||||||
|
- dropped merged_pr_5049.patch
|
||||||
|
- refreshed requests-no-hardcoded-version.patch
|
||||||
|
* Remove defunct reference to prefetch in Session __attrs__
|
||||||
|
* Requests no longer outputs password in basic auth usage warning
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Dec 14 22:48:50 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
Sat Dec 14 22:48:50 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-requests
|
# spec file for package python-requests
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -26,7 +26,7 @@
|
|||||||
%endif
|
%endif
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-requests%{psuffix}
|
Name: python-requests%{psuffix}
|
||||||
Version: 2.22.0
|
Version: 2.23.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python HTTP Library
|
Summary: Python HTTP Library
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@ -36,7 +36,6 @@ Source: https://files.pythonhosted.org/packages/source/r/requests/reques
|
|||||||
# PATCH-FIX-SUSE: do not hardcode versions in setup.py/requirements
|
# PATCH-FIX-SUSE: do not hardcode versions in setup.py/requirements
|
||||||
Patch0: requests-no-hardcoded-version.patch
|
Patch0: requests-no-hardcoded-version.patch
|
||||||
Patch1: pr_5251-pytest5.patch
|
Patch1: pr_5251-pytest5.patch
|
||||||
Patch2: merged_pr_5049.patch
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:11e007a8a2aa0323f5a921e9e6a2d7e4e67d9877e85773fba9ba6419025cbeb4
|
|
||||||
size 113406
|
|
3
requests-2.23.0.tar.gz
Normal file
3
requests-2.23.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b3f43d496c6daba4493e7c431722aeb7dbc6288f52a6e04e7b6023b0247817e6
|
||||||
|
size 114327
|
@ -1,17 +1,16 @@
|
|||||||
Index: requests-2.22.0/setup.py
|
Index: requests-2.23.0/setup.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- requests-2.22.0.orig/setup.py
|
--- requests-2.23.0.orig/setup.py
|
||||||
+++ requests-2.22.0/setup.py
|
+++ requests-2.23.0/setup.py
|
||||||
@@ -42,14 +42,14 @@ if sys.argv[-1] == 'publish':
|
@@ -42,14 +42,14 @@ if sys.argv[-1] == 'publish':
|
||||||
packages = ['requests']
|
packages = ['requests']
|
||||||
|
|
||||||
requires = [
|
requires = [
|
||||||
- 'chardet>=3.0.2,<3.1.0',
|
- 'chardet>=3.0.2,<4',
|
||||||
- 'idna>=2.5,<2.9',
|
- 'idna>=2.5,<3',
|
||||||
- 'urllib3>=1.21.1,<1.26,!=1.25.0,!=1.25.1',
|
|
||||||
+ 'chardet>=3.0.2',
|
+ 'chardet>=3.0.2',
|
||||||
+ 'idna>=2.5',
|
+ 'idna>=2.5',
|
||||||
+ 'urllib3>=1.21.1',
|
'urllib3>=1.21.1,<1.26,!=1.25.0,!=1.25.1',
|
||||||
'certifi>=2017.4.17'
|
'certifi>=2017.4.17'
|
||||||
|
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user