Skip to content

"Deprecated"-UserWarning for "pkg_resources" #4590

@tgodau

Description

@tgodau

Description

Since a longer time I often get the following warning:

/home/tgodau/venv3.12-scancode/lib/python3.12/site-packages/typecode/_vendor/pygments/plugin.py:46: 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

How To Reproduce

Just scan a component with:

scancode -n 3 -clip <componentname> --json-pp <conmponentname>.json --license-text

System configuration

For bug reports, it really helps us to know:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions