Skip to content

DeprecationWarning for pkg_resources in typecode._vendor.pygments.plugin #44

Description

@stefan6419846

Using the package with warnings enabled yields the following issue:

[...]/site-packages/typecode/_vendor/pygments/plugin.py:46: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  import pkg_resources

The offending line is

and has been fixed upstream since version 2.13.0: https://github.com/pygments/pygments/blob/master/pygments/plugin.py

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