Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors in Python 3.12 #397

Open
bmtcril opened this issue Feb 15, 2024 · 0 comments · May be fixed by #398
Open

Errors in Python 3.12 #397

bmtcril opened this issue Feb 15, 2024 · 0 comments · May be fixed by #398

Comments

@bmtcril
Copy link

bmtcril commented Feb 15, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant