You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by jh...@apache.org on 2019/01/24 18:42:37 UTC
[hadoop] 02/30: HADOOP-15610. Fixed pylint version for Hadoop
docker image. Contributed by Jack Bearden
This is an automated email from the ASF dual-hosted git repository.
jhung pushed a commit to branch YARN-8200
in repository https://gitbox.apache.org/repos/asf/hadoop.git
commit 7e2022504c161be28563fa157d1b8637bf591fe2
Author: Eric Yang <ey...@apache.org>
AuthorDate: Wed Jul 18 20:09:43 2018 -0400
HADOOP-15610. Fixed pylint version for Hadoop docker image.
Contributed by Jack Bearden
(cherry picked from commit ba1ab08fdae96ad7c9c4f4bf8672abd741b7f758)
---
dev-support/docker/Dockerfile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile
index 1690ef5..2271e70 100644
--- a/dev-support/docker/Dockerfile
+++ b/dev-support/docker/Dockerfile
@@ -163,9 +163,10 @@ RUN apt-get -q update && apt-get -q install -y shellcheck
RUN apt-get -q update && apt-get -q install -y bats
####
-# Install pylint (always want latest)
+# Install pylint at fixed version (2.0.0 removed python2 support)
+# https://github.com/PyCQA/pylint/issues/2294
####
-RUN pip2 install pylint
+RUN pip2 install pylint==1.9.2
####
# Install dateutil.parser
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org