Explorar o código

HADOOP-15610. Fixed pylint version for Hadoop docker image.
Contributed by Jack Bearden

Eric Yang %!s(int64=7) %!d(string=hai) anos
pai
achega
ba1ab08fda
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      dev-support/docker/Dockerfile

+ 3 - 2
dev-support/docker/Dockerfile

@@ -154,9 +154,10 @@ RUN apt-get -q update && apt-get -q install -y shellcheck
 RUN apt-get -q update && apt-get -q install -y bats
 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
 # Install dateutil.parser