Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DeprecationWarning: pkg_resources is deprecated as an API #86

Open
kudlatyamroth opened this issue Apr 17, 2023 · 1 comment
Open

DeprecationWarning: pkg_resources is deprecated as an API #86

kudlatyamroth opened this issue Apr 17, 2023 · 1 comment

Comments

@kudlatyamroth
Copy link

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
Copy link
Owner

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

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

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

No branches or pull requests

2 participants