Skip to content

pkg_resources is deprecated and will be removed from setuptools >= 81 #1229

Description

@thebaptiste

pkg_resources is deprecated. It has been removed from the standard library in Python 3.12 and moved to setuptools from which it will also be removed with setuptools >= 81 at the end of 2025.
It is recommended to use importlib.resources and importlib.metadata instead.

So bootstrap.py has to be changed... but I don't know exactly how !

Another solution would be to pin setuptools<81 but it's not very satisfying.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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