edx-lint
edx-lint copied to clipboard
Errors in Python 3.12
While attempting to upgrade a project to Py3.12 I started getting this error in quality checks:
Command line or configuration file:1:0: E0013: Plugin 'edx_lint.pylint' is impossible to load, is it installed ? ('No module named 'pkg_resources'') (bad-plugin-value)
Older versions of Python passed as usual. It looks like pkg_resources has been superseded by importlib.resources, at least for the calls we're using it for in this repository. It should support back to Python 3.7.
I'm hoping to have a PR for this in the near term, but in case someone runs into this sooner it should be an easy fix. I don't know if there are other 3.12 issues behind it, though.