From c72a4549d86614e35f2e9ea84b6a272aa8fda920 Mon Sep 17 00:00:00 2001 From: praveenkuttappan <55455725+praveenkuttappan@users.noreply.github.com> Date: Mon, 27 Apr 2020 14:41:19 -0700 Subject: [PATCH] Pin astroid to 2.3.3 to fix pylint failure --- eng/test_tools.txt | 5 +++++ eng/tox/tox.ini | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/eng/test_tools.txt b/eng/test_tools.txt index 2f9295f019fe..1a8641df165d 100644 --- a/eng/test_tools.txt +++ b/eng/test_tools.txt @@ -20,5 +20,10 @@ packaging==20.3 wheel==0.34.2 Jinja2==2.11.1 +# Locking pylint and required packages +pylint==2.3.1; python_version >= '3.4' +pylint==1.8.4; python_version < '3.4' +astroid==2.3.3; python_version >= '3.4' + ../../../tools/azure-devtools ../../../tools/azure-sdk-tools diff --git a/eng/tox/tox.ini b/eng/tox/tox.ini index 0c254da733be..ae23aa4e0195 100644 --- a/eng/tox/tox.ini +++ b/eng/tox/tox.ini @@ -54,8 +54,6 @@ usedevelop = true changedir = {toxinidir} deps = {[base]deps} - pylint==2.3.1; python_version >= '3.4' - pylint==1.8.4; python_version < '3.4' -e {toxinidir}/../../scripts/pylint_custom_plugin commands = {envbindir}/python {toxinidir}/../../../eng/tox/run_pylint.py -t {toxinidir}