8000 patch backwards compatible pkg_resources, avoid deprecation warn by owenclaxton-SMC · Pull Request #288 · dirk-thomas/vcstool · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

patch backwards compatible pkg_resources, avoid deprecation warn #288

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

owenclaxton-SMC
Copy link
@owenclaxton-SMC owenclaxton-SMC commented May 26, 2025

As mentioned on this issue

Example of the warning:

/usr/bin/vcs:6: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  from pkg_resources import load_entry_point

Example trigger:

$ python3 --version
Python 3.12.3
$ python3 vcstool/vcstool/commands/help.py 
/home/owen/vcstool/vcstool/commands/help.py:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  from pkg_resources import load_entry_point
usage: vcs <command>

Most commands take directory arguments, recursively searching for repositories
...

@owenclaxton-SMC owenclaxton-SMC force-pushed the fix/pkg_resources_deprecation branch from 7cb0ca9 to e2f9b5c Compare May 26, 2025 22:56
@owenclaxton-SMC
Copy link
Author

Ah - #242

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.

1 participant
0