argparse-manpage
argparse-manpage copied to clipboard
DeprecationWarning: pkg_resources is deprecated as an API
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
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.