Skip to content

Errors in Python 3.12 #397

Open
Open
@bmtcril

Description

@bmtcril

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions