argparse-manpage icon indicating copy to clipboard operation
argparse-manpage copied to clipboard

DeprecationWarning: pkg_resources is deprecated as an API

Open kudlatyamroth opened this issue 2 years ago • 1 comments

Running tests on python 3.10 gives warning:

../../../../usr/lib/python3.10/site-packages/pkg_resources/__init__.py:121
  /usr/lib/python3.10/site-packages/pkg_resources/__init__.py:121: DeprecationWarning: pkg_resources is deprecated as an API
    warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning)

two places where found with it: https://github.com/praiskup/argparse-manpage/blob/main/examples/copr/copr_cli/main.py#L37 https://github.com/praiskup/argparse-manpage/blob/main/tests/argparse_testlib.py#L6

kudlatyamroth avatar Apr 17 '23 13:04 kudlatyamroth

Thank you for the report! This is just a test-case warning, so re-reporting against the Copr project: https://github.com/fedora-copr/copr/issues/2674

When fixed, I'll sync the test-case files with the actual Copr files.

praiskup avatar Apr 17 '23 15:04 praiskup