Currently, Pylint is pinned at v2.9.6, which installs wrapt v1.12.1. Trying to use Pylint v2.9.6 with Python 3.11 gives an error message ImportError: cannot import name 'formatargspec' from 'inspect'. Upgrading to Pylint v2.15 or later fixes the problem. However, running a later version of Pylint gives messages like unrecognized-option and useless-option-value. The pylintrc and tests/pylintrc files need to be revised, then Pylint can be upgraded and Python 3.11 can be added to the test matrix in the CI (tests.yml).
Currently, Pylint is pinned at v2.9.6, which installs wrapt v1.12.1. Trying to use Pylint v2.9.6 with Python 3.11 gives an error message
ImportError: cannot import name 'formatargspec' from 'inspect'
. Upgrading to Pylint v2.15 or later fixes the problem. However, running a later version of Pylint gives messages likeunrecognized-option
anduseless-option-value
. Thepylintrc
andtests/pylintrc
files need to be revised, then Pylint can be upgraded and Python 3.11 can be added to the test matrix in the CI (tests.yml
).