Skip to contentSkip to conversation

CI: Pin pylint version to 2.12.2

PATCH In review Tom Rini 1 participant 2 messages Mar 25, 2022

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 CI: Pin pylint version to 2.12.2

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.

---
 .azure-pipelines.yml | 2 +-
 .gitlab-ci.yml       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
.azure-pipelines.yml +1 -1
index 0f1a1bd86326..cd54688881d7 100644
@@ -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
.gitlab-ci.yml +1 -1
index 388e666ec9e3..7df7e939f542 100644
@@ -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
Signature · 1 line
2.25.1
author
#1 lore raw
Quoted 4 lines · Tom Rini

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.

Applied to u-boot/next, thanks!

Signature · 1 line
Tom