Description
vcstool 0.3.0 fails at runtime when installed in an environment with setuptools 82.0.0 or later, because pkg_resources was removed from the setuptools package in that release.
This is the breaking change following the deprecation warning reported in #269.
Error
Traceback (most recent call last):
File ".../bin/vcs", line 4, in <module>
from vcstool.commands.vcs import main
File ".../vcstool/commands/vcs.py", line 3, in <module>
from vcstool.commands.help import get_entrypoint
File ".../vcstool/commands/help.py", line 4, in <module>
from pkg_resources import load_entry_point
ModuleNotFoundError: No module named 'pkg_resources'
Environment
- vcstool: 0.3.0
- setuptools: 82.0.1
- Python: 3.12
- OS: Ubuntu (GitHub Actions runner)
Steps to Reproduce
uv tool install vcstool==0.3.0 # installs setuptools 82+ as a dependency
vcs import < repos.yaml
Description
vcstool 0.3.0 fails at runtime when installed in an environment with setuptools 82.0.0 or later, because
pkg_resourceswas removed from thesetuptoolspackage in that release.This is the breaking change following the deprecation warning reported in #269.
Error
Environment
Steps to Reproduce