jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/805117 )

Change subject: [dep] update requests requirements
......................................................................

[dep] update requests requirements

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

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified



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 https://gerrit.wikimedia.org/r/c/pywikibot/core/+/805117
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I8259e3ba36525e8e05da93bea7c28d6a9af39376
Gerrit-Change-Number: 805117
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <i...@gno.de>
Gerrit-Reviewer: Xqt <i...@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- pywikibot-commits@lists.wikimedia.org
To unsubscribe send an email to pywikibot-commits-le...@lists.wikimedia.org

Reply via email to