Skip to content

pkg_resources is deprecated as an API #619

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.

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