Skip to content

DeprecationWarning about pkg_resources when running tests #124

@lameTookan

Description

@lameTookan

Description:

I am getting a deprecation warning related to pkg_resources when I run pytest with pyfiglet installed

Steps to Reproduce:

  1. Install pyfiglet.
  2. Run pytest.

Expected Behavior:

Tests run without any warnings from pyfiglet.

Actual Behavior:

I get the following DeprecationWarning:

(...)/venv/lib/python3.11/site-packages/pyfiglet/__init__.py:11:
DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
    import pkg_resources

Environment:

  • OS: MacOS
  • Python Version: 3.11
  • pyfiglet Version: 0.8.post1

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