From f3af7b127c4ea8cca54b2256f3ccf5aabeff2ad9 Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Mon, 7 Dec 2020 18:46:16 +0300 Subject: [PATCH 1/4] Makefile: Try to update pylint to fix Travis failure --- grumpy-runtime-src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grumpy-runtime-src/Makefile b/grumpy-runtime-src/Makefile index 8b60fe95..1a387db2 100644 --- a/grumpy-runtime-src/Makefile +++ b/grumpy-runtime-src/Makefile @@ -250,7 +250,7 @@ golint: $(GOLINT_BIN) # Instead build pylint from source. Dependencies will be fetched by distutils. $(PYLINT_BIN): @mkdir -p build/third_party - @cd build/third_party && curl -sL https://pypi.io/packages/source/p/pylint/pylint-1.6.4.tar.gz | tar -zx + @cd build/third_party && curl -sL https://pypi.io/packages/source/p/pylint/pylint-2.6.0.tar.gz | tar -zx @cd build/third_party/pylint-1.6.4 && $(PYTHON) setup.py install --prefix $(ROOT_DIR)/build pylint: $(PYLINT_BIN) $(COMPILER_SRCS) $(PYTHONPARSER_SRCS) $(TOOL_BINS) From cffabce39191d674952345e22e594a0b5ec826e5 Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Mon, 7 Dec 2020 19:05:59 +0300 Subject: [PATCH 2/4] Makefile: Fix path for newer pylint --- grumpy-runtime-src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grumpy-runtime-src/Makefile b/grumpy-runtime-src/Makefile index 1a387db2..8b45b9d7 100644 --- a/grumpy-runtime-src/Makefile +++ b/grumpy-runtime-src/Makefile @@ -251,7 +251,7 @@ golint: $(GOLINT_BIN) $(PYLINT_BIN): @mkdir -p build/third_party @cd build/third_party && curl -sL https://pypi.io/packages/source/p/pylint/pylint-2.6.0.tar.gz | tar -zx - @cd build/third_party/pylint-1.6.4 && $(PYTHON) setup.py install --prefix $(ROOT_DIR)/build + @cd build/third_party/pylint-2.6.0 && $(PYTHON) setup.py install --prefix $(ROOT_DIR)/build pylint: $(PYLINT_BIN) $(COMPILER_SRCS) $(PYTHONPARSER_SRCS) $(TOOL_BINS) @$(PYTHON) $(PYLINT_BIN) $(COMPILER_SRCS) $(filter-out %pydeps,$(TOOL_BINS)) From e45d734a831264621f8b27e60bab2cab723b5ac9 Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Mon, 7 Dec 2020 20:09:31 +0300 Subject: [PATCH 3/4] Makefile: pylint 2.x in Python 3 only http://pylint.pycqa.org/en/latest/whatsnew/2.0.html --- grumpy-runtime-src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grumpy-runtime-src/Makefile b/grumpy-runtime-src/Makefile index 8b45b9d7..9c02adec 100644 --- a/grumpy-runtime-src/Makefile +++ b/grumpy-runtime-src/Makefile @@ -250,8 +250,8 @@ golint: $(GOLINT_BIN) # Instead build pylint from source. Dependencies will be fetched by distutils. $(PYLINT_BIN): @mkdir -p build/third_party - @cd build/third_party && curl -sL https://pypi.io/packages/source/p/pylint/pylint-2.6.0.tar.gz | tar -zx - @cd build/third_party/pylint-2.6.0 && $(PYTHON) setup.py install --prefix $(ROOT_DIR)/build + @cd build/third_party && curl -sL https://pypi.io/packages/source/p/pylint/pylint-1.9.6.tar.gz | tar -zx + @cd build/third_party/pylint-1.9.6 && $(PYTHON) setup.py install --prefix $(ROOT_DIR)/build pylint: $(PYLINT_BIN) $(COMPILER_SRCS) $(PYTHONPARSER_SRCS) $(TOOL_BINS) @$(PYTHON) $(PYLINT_BIN) $(COMPILER_SRCS) $(filter-out %pydeps,$(TOOL_BINS)) From d441581d75329706782fbeeb89a2bf9fc45615ca Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Mon, 7 Dec 2020 20:11:36 +0300 Subject: [PATCH 4/4] Makefile: 1.9.5 is the latest `pylint` for Python 2 --- grumpy-runtime-src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grumpy-runtime-src/Makefile b/grumpy-runtime-src/Makefile index 9c02adec..39bf9ebe 100644 --- a/grumpy-runtime-src/Makefile +++ b/grumpy-runtime-src/Makefile @@ -250,8 +250,8 @@ golint: $(GOLINT_BIN) # Instead build pylint from source. Dependencies will be fetched by distutils. $(PYLINT_BIN): @mkdir -p build/third_party - @cd build/third_party && curl -sL https://pypi.io/packages/source/p/pylint/pylint-1.9.6.tar.gz | tar -zx - @cd build/third_party/pylint-1.9.6 && $(PYTHON) setup.py install --prefix $(ROOT_DIR)/build + @cd build/third_party && curl -sL https://pypi.io/packages/source/p/pylint/pylint-1.9.5.tar.gz | tar -zx + @cd build/third_party/pylint-1.9.5 && $(PYTHON) setup.py install --prefix $(ROOT_DIR)/build pylint: $(PYLINT_BIN) $(COMPILER_SRCS) $(PYTHONPARSER_SRCS) $(TOOL_BINS) @$(PYTHON) $(PYLINT_BIN) $(COMPILER_SRCS) $(filter-out %pydeps,$(TOOL_BINS))