Skip to content

setuptools pkg_resources will be removed soon #16

@llotenberg

Description

@llotenberg

pkg_resources is deprecated, and will be removed from setuptools in version 81 (which will release in November at the earliest). Currently, __init__.py uses it in order to determine this package's current version.

I would recommend either setting __version__ manually in __init__.py, or using a GitHub action to place a file containing the current version (extracted from pyproject.toml) in the source directory, which can then be read in __init__.py.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions