jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/494933 )
Change subject: [setup] add pathlib2 to PY2 dependencies
......................................................................
[setup] add pathlib2 to PY2 dependencies
version.package_version() uses pathlib which is a python 3 library.
pathlib2 is required for python 2.7 then.
Change-Id: I0b9f5a94a30942c66679257e5493000f876a1c7c
---
M setup.py
1 file changed, 4 insertions(+), 0 deletions(-)
Approvals:
Dvorapa: Looks good to me, approved
jenkins-bot: Verified
diff --git a/setup.py b/setup.py
index 61b56e1..0e41237 100644
--- a/setup.py
+++ b/setup.py
@@ -110,6 +110,10 @@
# ipaddr 2.1.10+ is distributed with Debian and Fedora. See T105443.
dependencies.append('ipaddr>=2.1.10')
+ # version.package_version() uses pathlib which is a python 3 library.
+ # pathlib2 is required for python 2.7
+ dependencies.append('pathlib2')
+
if (2, 7, 6) < PYTHON_VERSION < (2, 7, 9):
# Python versions before 2.7.9 will cause urllib3 to trigger
# InsecurePlatformWarning warnings for all HTTPS requests. By
--
To view, visit
https://gerrit.wikimedia.org/r/494933
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I0b9f5a94a30942c66679257e5493000f876a1c7c
Gerrit-Change-Number: 494933
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Dalba <dalba.wiki(a)gmail.com>
Gerrit-Reviewer: Dvorapa <dvorapa(a)seznam.cz>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: jenkins-bot (75)