jenkins-bot merged this change.
[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(-)
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 change 494933. To unsubscribe, or for help writing mail filters, visit settings.