From 334a3254b29134125a680e4f2767af0ee4eeda9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hozza?= Date: Wed, 20 Nov 2024 11:21:52 +0100 Subject: [PATCH] Lint/pylint: update to the latest upstream version v3.3.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update pylint to the latest upstream version, to fix a false positive with Python 3.13, that was resolved in `astroid` dependency in version `3.3.5`. In order to update the dependency, the `pylint` version itself needs to be bumped to at least version `3.0.0`. The error was: test/run/test_stages.py:21:0: E0611: No name 'Mapping' in module 'collections.abc' (no-name-in-module) More details: https://github.com/pylint-dev/pylint/issues/10000 Signed-off-by: Tomáš Hozza --- tox.ini | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index a3ad9531c..521a6fef5 100644 --- a/tox.ini +++ b/tox.ini @@ -56,7 +56,11 @@ commands = [testenv:pylint] deps = - pylint==3.0.2 + pylint==3.3.1 + # Use astroid of at least v3.3.5 to fix the following error with Python 3.13: + # test/run/test_stages.py:21:0: E0611: No name 'Mapping' in module 'collections.abc' (no-name-in-module) + # More details: https://github.com/pylint-dev/pylint/issues/10000 + astroid>=3.3.5 commands = bash -c 'python -m pylint --ignore-patterns {env:LINTABLES_EXCLUDES_RE} {env:LINTABLES}'