Skip to content

pkg_resources is deprecated as an API #619

@benfiedler

Description

@benfiedler

After a recent pip install of salt-pepper==0.7.6 on a python3.10 system, running pepper provides this warning message -

venvs/salt-pepper/lib/python3.10/site-packages/pepper/__init__.py:4: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
import pkg_resources

I have pinned to Setuptools 80.9 but a long term solution would be ideal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions