Hi,
When running the automatic tests for my baseline by launching:
sh test-baseline.sh flanders
I get this error:
=== test.sh ===
- Start Python checks
- isort: start
Skipped 1 files
- isort: done
- black: start
All done! ✨ 🍰 ✨
12 files would be left unchanged.
- black: done
- docformatter: start
- docformatter: done
- ruff: start
- ruff: done
- mypy: start
Success: no issues found in 12 source files
- mypy: done
- pylint: start
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/Users/eddie/Library/Caches/pypoetry/virtualenvs/flanders-RXaE4NbK-py3.11/lib/python3.11/site-packages/pylint/__main__.py", line 9, in <module>
pylint.run_pylint()
File "/Users/eddie/Library/Caches/pypoetry/virtualenvs/flanders-RXaE4NbK-py3.11/lib/python3.11/site-packages/pylint/__init__.py", line 21, in run_pylint
from pylint.lint import Run as PylintRun
File "/Users/eddie/Library/Caches/pypoetry/virtualenvs/flanders-RXaE4NbK-py3.11/lib/python3.11/site-packages/pylint/lint/__init__.py", line 75, in <module>
from pylint.lint.parallel import check_parallel
File "/Users/eddie/Library/Caches/pypoetry/virtualenvs/flanders-RXaE4NbK-py3.11/lib/python3.11/site-packages/pylint/lint/parallel.py", line 7, in <module>
from pylint import reporters
File "/Users/eddie/Library/Caches/pypoetry/virtualenvs/flanders-RXaE4NbK-py3.11/lib/python3.11/site-packages/pylint/reporters/__init__.py", line 25, in <module>
from pylint import utils
File "/Users/eddie/Library/Caches/pypoetry/virtualenvs/flanders-RXaE4NbK-py3.11/lib/python3.11/site-packages/pylint/utils/__init__.py", line 45, in <module>
from pylint.utils.ast_walker import ASTWalker
File "/Users/eddie/Library/Caches/pypoetry/virtualenvs/flanders-RXaE4NbK-py3.11/lib/python3.11/site-packages/pylint/utils/ast_walker.py", line 6, in <module>
from astroid import nodes
File "/Users/eddie/Library/Caches/pypoetry/virtualenvs/flanders-RXaE4NbK-py3.11/lib/python3.11/site-packages/astroid/__init__.py", line 53, in <module>
from astroid import inference, raw_building
File "/Users/eddie/Library/Caches/pypoetry/virtualenvs/flanders-RXaE4NbK-py3.11/lib/python3.11/site-packages/astroid/inference.py", line 33, in <module>
import wrapt
File "/Users/eddie/Library/Caches/pypoetry/virtualenvs/flanders-RXaE4NbK-py3.11/lib/python3.11/site-packages/wrapt/__init__.py", line 10, in <module>
from .decorators import (adapter_factory, AdapterFactory, decorator,
File "/Users/eddie/Library/Caches/pypoetry/virtualenvs/flanders-RXaE4NbK-py3.11/lib/python3.11/site-packages/wrapt/decorators.py", line 34, in <module>
from inspect import ismethod, isclass, formatargspec
ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/local/Cellar/python@3.11/3.11.7_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/inspect.py)
Which seems related to pylint. Any idea on how to solve it?