Rollback #43040: Overview sanilty check fails on pylint upgrade
PiperOrigin-RevId: 349302068 Change-Id: I073e5e2259afefa03df56164361ace2292759189
This commit is contained in:
parent
ea9f1bf016
commit
420ce899d0
@ -74,7 +74,7 @@ pip3 install py-cpuinfo
|
|||||||
|
|
||||||
# pylint tests require the following:
|
# pylint tests require the following:
|
||||||
pip2 install pylint==1.6.4
|
pip2 install pylint==1.6.4
|
||||||
pip3 install pylint==2.6.0
|
pip3 install pylint==1.6.4
|
||||||
|
|
||||||
# pycodestyle tests require the following:
|
# pycodestyle tests require the following:
|
||||||
pip2 install pycodestyle
|
pip2 install pycodestyle
|
||||||
|
@ -94,7 +94,7 @@ pip3 install psutil
|
|||||||
pip2 install py-cpuinfo
|
pip2 install py-cpuinfo
|
||||||
pip3 install py-cpuinfo
|
pip3 install py-cpuinfo
|
||||||
|
|
||||||
# pylint==2.6.0 requires python-astroid (>= 1.4.5) requires lazy-object-proxy
|
# pylint==1.6.4 requires python-astroid (>= 1.4.5) requires lazy-object-proxy
|
||||||
# Latest version of lazy-object-proxy (1.4.2) fails to install from source
|
# Latest version of lazy-object-proxy (1.4.2) fails to install from source
|
||||||
# when using setuptools 39.1.0.
|
# when using setuptools 39.1.0.
|
||||||
# NOTE: Using the updated version of pylint for python3 as python2 is EOL,
|
# NOTE: Using the updated version of pylint for python3 as python2 is EOL,
|
||||||
@ -106,7 +106,7 @@ pip3 install lazy-object-proxy==1.4.3
|
|||||||
# thus using the updated version of 2.5.3 only for python3 as python2 is EOL
|
# thus using the updated version of 2.5.3 only for python3 as python2 is EOL
|
||||||
# and this version is not available.
|
# and this version is not available.
|
||||||
pip2 install pylint==1.6.4
|
pip2 install pylint==1.6.4
|
||||||
pip3 install pylint==2.6.0
|
pip3 install pylint==2.5.3
|
||||||
|
|
||||||
# pycodestyle tests require the following:
|
# pycodestyle tests require the following:
|
||||||
pip2 install pycodestyle
|
pip2 install pycodestyle
|
||||||
|
@ -29,7 +29,7 @@ function install_pylint () {
|
|||||||
# TODO(mihaimaruseac): this is used in the release build in the same way,
|
# TODO(mihaimaruseac): this is used in the release build in the same way,
|
||||||
# maybe extract out to a common?
|
# maybe extract out to a common?
|
||||||
sudo python3 -m pip install setuptools --upgrade
|
sudo python3 -m pip install setuptools --upgrade
|
||||||
sudo python3 -m pip install pylint==2.6.0
|
sudo python3 -m pip install pylint==1.6.4
|
||||||
}
|
}
|
||||||
|
|
||||||
function run_sanity_checks () {
|
function run_sanity_checks () {
|
||||||
|
@ -27,7 +27,7 @@ sudo pip3 install pep8
|
|||||||
# Install pylint.
|
# Install pylint.
|
||||||
sudo python3 -m pip install setuptools --upgrade
|
sudo python3 -m pip install setuptools --upgrade
|
||||||
sudo python2 -m pip install pylint==1.6.4
|
sudo python2 -m pip install pylint==1.6.4
|
||||||
sudo python3 -m pip install pylint==2.6.0
|
sudo python3 -m pip install pylint==1.6.4
|
||||||
|
|
||||||
# TODO(yifeif): print pylint version for debug. remove later.
|
# TODO(yifeif): print pylint version for debug. remove later.
|
||||||
python3 -m pylint --version
|
python3 -m pylint --version
|
||||||
|
@ -27,7 +27,7 @@ sudo pip3 install pep8
|
|||||||
# Install pylint.
|
# Install pylint.
|
||||||
sudo python3 -m pip install setuptools --upgrade
|
sudo python3 -m pip install setuptools --upgrade
|
||||||
sudo python2 -m pip install pylint==1.6.4
|
sudo python2 -m pip install pylint==1.6.4
|
||||||
sudo python3 -m pip install pylint==2.6.0
|
sudo python3 -m pip install pylint==1.6.4
|
||||||
|
|
||||||
# TODO(yifeif): print pylint version for debug. remove later.
|
# TODO(yifeif): print pylint version for debug. remove later.
|
||||||
python3 -m pylint --version
|
python3 -m pylint --version
|
||||||
|
Loading…
Reference in New Issue
Block a user