From 338cafc050c9662da62debdbeaccbb4ebbab3a92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=AD=20Bol=C3=ADvar?= Date: Mon, 6 Mar 2023 14:00:59 -0800 Subject: [PATCH] scripts: requirements: update pylint fixed version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The current version of pylint is 2 years old at this point, and it's got a bug (https://github.com/PyCQA/pylint/issues/3882) which is leading to false positives on ncs_west_helpers.py: E1136:Value 'Union' is unsubscriptable (unsubscriptable-object) File:scripts/west_commands/ncs_west_helpers.py Line:78 Column:36 E1136:Value 'Union' is unsubscriptable (unsubscriptable-object) File:scripts/west_commands/ncs_west_helpers.py Line:326 Column:18 E1136:Value 'Union' is unsubscriptable (unsubscriptable-object) File:scripts/west_commands/ncs_west_helpers.py Line:78 Column:36 E1136:Value 'Union' is unsubscriptable (unsubscriptable-object) File:scripts/west_commands/ncs_west_helpers.py Line:326 Column:18 E1136:Value 'Optional' is unsubscriptable (unsubscriptable-object) File:scripts/west_commands/pygit2_helpers.py Line:188 Column:46 E1136:Value 'Optional' is unsubscriptable (unsubscriptable-object) File:scripts/west_commands/ncs_commands.py Line:44 Column:38 Update it to the latest version. We have to update astroid, typing-extensions, and colorama as well as a side effect. Signed-off-by: Martí Bolívar --- scripts/requirements-fixed.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/requirements-fixed.txt b/scripts/requirements-fixed.txt index 62e1629e1c88..880af98eb205 100644 --- a/scripts/requirements-fixed.txt +++ b/scripts/requirements-fixed.txt @@ -7,7 +7,7 @@ alabaster==0.7.12 anytree==2.8.0 appdirs==1.4.4 arrow==0.17.0 -astroid==2.4.2 +astroid==2.15.0 attrs==20.3.0 Babel==2.9.1 breathe==4.26.1 @@ -19,7 +19,7 @@ cffi==1.14.4 chardet==4.0.0 click==7.1.2 cmsis-pack-manager==0.2.10 -colorama==0.4.4 +colorama==0.4.6 commonmark==0.9.1 coverage==5.4 cryptography==3.4.8 @@ -64,7 +64,7 @@ pygit2==1.10.0 Pygments==2.7.4 pykwalify==1.8.0 pylink-square==0.8.1 -pylint==2.6.0 +pylint==2.16.4 pyocd==0.29.0 pyparsing==2.4.7 pyserial==3.5 @@ -99,7 +99,7 @@ tabulate==0.8.7 toml==0.10.2 tomli==2.0.1 typed-ast==1.5.4 -typing-extensions==3.7.4.3 +typing-extensions==4.4.0 urllib3==1.26.4 wcwidth==0.2.5 west==1.0.0