jenkins-bot merged this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
[IMPR] Reduce deprecated stuff in requests-requirements.txt

The file still needs to be updated on every change of requests dependency. This
patch will move the dependency to setup.py.

The dot installs pywikibot, requests, requests dependencies and requests
security per the specification in setup.py.

Detached from I9cf5fa2acaf65

Bug: T193476
Change-Id: I6618d680fd5d2ce57b1a8c9ee79abf7ab59d20ab
---
M requests-requirements.txt
1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/requests-requirements.txt b/requests-requirements.txt
index 36e99b6..6518e15 100644
--- a/requests-requirements.txt
+++ b/requests-requirements.txt
@@ -1,6 +1,5 @@
# This file is DEPRECATED! Use `pip install pywikibot[security]` instead.
-
-requests>=2.20.0
-
-# requests security extra
-requests[security] ; python_full_version > '2.7.6' and python_full_version < '2.7.9'
+#
+# The period below installs pywikibot[security] from setup.py automatically
+# on Python < 2.7.9.
+.
\ No newline at end of file

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

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I6618d680fd5d2ce57b1a8c9ee79abf7ab59d20ab
Gerrit-Change-Number: 516460
Gerrit-PatchSet: 9
Gerrit-Owner: Dvorapa <dvorapa@seznam.cz>
Gerrit-Reviewer: John Vandenberg <jayvdb@gmail.com>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot (75)