Skip to content

pkg_resources deprecation warnings in newer Python versions #433

@andmat900

Description

@andmat900

Description

When using components like etos_client and etos_library with newer Python versions, there is a deprecation warning about the upcoming deprecation of pkg_resources:

/home/user/src/etos/cli/venv/lib/python3.13/site-packages/etos_lib/__init__.py:17: 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.
  from pkg_resources import get_distribution, DistributionNotFound

Additional Context

No response

Logs

Expected Behavior

pkg_resources shall not be used.

Steps To Reproduce

No response

The version of this project/repo, if applicable

No response

The version/edition of the Eiffel Protocol used, if applicable

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions