Skip to content

Use of pkg_resources is deprecated #1392

Open
@Martin15135215

Description

@Martin15135215

https://github.com/fastai/nbdev/blob/96deb7a03bf2cf79a04e1878f67ce099e434e97f/setup.py#L5-L7

This is a friendly reminder, to tackle this in the future.


https://setuptools.pypa.io/en/latest/pkg_resources.html

Use of pkg_resources is deprecated in favor of importlib.resources, importlib.metadata and their backports (importlib_resources, importlib_metadata). Some useful APIs are also provided by packaging (e.g. requirements and version parsing). Users should refrain from new usage of pkg_resources and should work to port to importlib-based solutions.

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