jenkins-bot submitted this change.

View Change

Approvals: Mpaa: Looks good to me, approved jenkins-bot: Verified
[dependency] requests stops supporting Python 3.5

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

diff --git a/requirements.txt b/requirements.txt
index 1d1a2e8..6be5ff4 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -19,7 +19,8 @@
# $ awk -F '[#>=]' '{print $1}' requirements.txt | xargs apt-cache search

# mandatory; see README-conversion.txt
-requests>=2.20.1
+requests>=2.20.1, <=2.25.0; python_version < '3.6'
+requests>=2.20.1 ; python_version >= '3.6'

# OAuth support
# mwoauth 0.2.4 is needed because it supports getting identity information
diff --git a/setup.py b/setup.py
index 5da72bc..5a76bd8 100644
--- a/setup.py
+++ b/setup.py
@@ -110,7 +110,10 @@

# ------- setup install_requires ------- #
# packages which are mandatory
-dependencies = ['requests>=2.20.1']
+dependencies = [
+ 'requests>=2.20.1,<=2.25.0;python_version<"3.6"',
+ 'requests>=2.20.1;python_version>="3.6"',
+]

try:
import bz2

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

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ie7963227b96804e9941093a0c6a1c64ff9794f5f
Gerrit-Change-Number: 647729
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: Mpaa <mpaa.wiki@gmail.com>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged