praiskup / argparse-manpage

Automatically build man-pages for your Python project
Apache License 2.0
40 stars 21 forks source link

DeprecationWarning: pkg_resources is deprecated as an API #86

Open kudlatyamroth opened 1 year ago

kudlatyamroth commented 1 year ago

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

praiskup commented 1 year ago

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.