yetus-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject [yetus] branch master updated: YETUS-813. Tie both pylint and astroid to working versions
Date Tue, 05 Mar 2019 23:51:49 GMT
This is an automated email from the ASF dual-hosted git repository.

aw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yetus.git


The following commit(s) were added to refs/heads/master by this push:
     new ee8cebc  YETUS-813. Tie both pylint and astroid to working versions
ee8cebc is described below

commit ee8cebc15972a253e6ee1a84f17ef49c9521aaa0
Author: Allen Wittenauer <aw@apache.org>
AuthorDate: Tue Mar 5 15:13:42 2019 -0800

    YETUS-813. Tie both pylint and astroid to working versions
    
    Signed-off-by: Roman Shaposhnik <rvs@apache.org>
---
 precommit/src/main/shell/test-patch-docker/Dockerfile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/precommit/src/main/shell/test-patch-docker/Dockerfile b/precommit/src/main/shell/test-patch-docker/Dockerfile
index 106bb2b..acac18b 100644
--- a/precommit/src/main/shell/test-patch-docker/Dockerfile
+++ b/precommit/src/main/shell/test-patch-docker/Dockerfile
@@ -154,8 +154,9 @@ RUN apt-get -q update && apt-get -q install --no-install-recommends
-y \
     python3-dev \
     && apt-get clean \
     && rm -rf /var/lib/apt/lists/*
+# astroid and pylint go hand-in-hand.  Upgrade both at the same time.
 #hadolint ignore=DL3013
-RUN pip3 install -v pylint==2.1.1 docker-compose
+RUN pip3 install -v  astroid==2.2.4 pylint==2.3.1 docker-compose
 RUN mv /usr/local/bin/pylint /usr/local/bin/pylint3
 
 ######
@@ -170,7 +171,7 @@ RUN apt-get -q update && apt-get -q install --no-install-recommends
-y python \
     python-dev \
     && apt-get clean \
     && rm -rf /var/lib/apt/lists/*
-RUN pip2 install -v pylint==1.9.2 python-dateutil==2.7.3 yamllint==1.12.1
+RUN pip2 install -v astroid==1.6.5 pylint==1.9.2 python-dateutil==2.7.3 yamllint==1.12.1
 RUN mv /usr/local/bin/pylint /usr/local/bin/pylint2
 
 #####


Mime
View raw message