[PATCH] CI: Pin pylint version to 2.12.2

Tom Rini trini at konsulko.com
Fri Mar 25 13:28:20 CET 2022


For consistency in runs, we need to always use the same pylint version.
Pin to 2.12.2 as this is what we have been using so far.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 .azure-pipelines.yml | 2 +-
 .gitlab-ci.yml       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
index 0f1a1bd86326..cd54688881d7 100644
--- a/.azure-pipelines.yml
+++ b/.azure-pipelines.yml
@@ -214,7 +214,7 @@ stages:
           cd ${WORK_DIR}
           export USER=azure
           pip install -r test/py/requirements.txt
-          pip install asteval pylint pyopenssl
+          pip install asteval pylint==2.12.2 pyopenssl
           export PATH=${PATH}:~/.local/bin
           echo "[MASTER]" >> .pylintrc
           echo "load-plugins=pylint.extensions.docparams" >> .pylintrc
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 388e666ec9e3..7df7e939f542 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -220,7 +220,7 @@ Run pylint:
   stage: testsuites
   script:
     - pip install -r test/py/requirements.txt
-    - pip install asteval pylint pyopenssl
+    - pip install asteval pylint==2.12.2 pyopenssl
     - export PATH=${PATH}:~/.local/bin
     - echo "[MASTER]" >> .pylintrc
     - echo "load-plugins=pylint.extensions.docparams" >> .pylintrc
-- 
2.25.1



More information about the U-Boot mailing list