Skip to content

Conversation

@notmadcode
Copy link

Reason:
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.

Solution:
Replace the use of pkg_resources with importlib-based.
Then use of importlib.metadata to acces the metadata of sigtool installed.

Note:

  1. Some changes are auto-format by black
  2. This is not necessary, but i hate the warning every time I use my favorite tool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants