jenkins-bot submitted this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
[dep] update requests requirements

Change-Id: I8259e3ba36525e8e05da93bea7c28d6a9af39376
---
M requirements.txt
M setup.py
2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/requirements.txt b/requirements.txt
index d0b2209..5a4796f 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -19,7 +19,8 @@

# mandatory dependencies, others are optional
requests>=2.20.1, < 2.26.0; python_version < '3.6'
-requests>=2.20.1 ; python_version >= '3.6'
+requests>=2.20.1, < 2.28.0; python_version >= '3.6' and python_version < '3.7'
+requests>=2.20.1; python_version >= '3.7'
setuptools>=48.0.0 ; python_version >= '3.10'
setuptools>=38.5.2 ; python_version >= '3.7' and python_version < '3.10'
setuptools>=20.8.1, <59.7.0 ; python_version >= '3.6' and python_version < '3.7'
diff --git a/setup.py b/setup.py
index 37d59dc..b9a6491 100755
--- a/setup.py
+++ b/setup.py
@@ -108,8 +108,10 @@
# ------- setup install_requires ------- #
# packages which are mandatory
dependencies = [
- 'requests>=2.20.1,<2.26.0;python_version<"3.6"',
- 'requests>=2.20.1;python_version>="3.6"',
+ 'requests>=2.20.1, <2.26.0; python_version < "3.6"',
+ 'requests>=2.20.1, <2.28.0; '
+ 'python_version >= "3.6" and python_version < "3.10"',
+ 'requests>=2.20.1; python_version>="3.7"',
# PEP 440
'setuptools>=48.0.0 ; python_version >= "3.10"',
'setuptools>=38.5.2 ; python_version >= "3.7" and python_version < "3.10"',

To view, visit change 805117. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I8259e3ba36525e8e05da93bea7c28d6a9af39376
Gerrit-Change-Number: 805117
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged