Skip to content

patch backwards compatible pkg_resources, avoid deprecation warn#288

Open
owenclaxton-SMC wants to merge 1 commit into
dirk-thomas:masterfrom
owenclaxton-SMC:fix/pkg_resources_deprecation
Open

patch backwards compatible pkg_resources, avoid deprecation warn#288
owenclaxton-SMC wants to merge 1 commit into
dirk-thomas:masterfrom
owenclaxton-SMC:fix/pkg_resources_deprecation

Conversation

@owenclaxton-SMC

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

Copy link
Copy Markdown

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
Copy Markdown
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