jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/647729 )
Change subject: [dependency] requests stops supporting Python 3.5 ......................................................................
[dependency] requests stops supporting Python 3.5
Change-Id: Ie7963227b96804e9941093a0c6a1c64ff9794f5f --- M requirements.txt M setup.py 2 files changed, 6 insertions(+), 2 deletions(-)
Approvals: Mpaa: Looks good to me, approved jenkins-bot: Verified
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
pywikibot-commits@lists.wikimedia.org