sphinx-collections icon indicating copy to clipboard operation
sphinx-collections copied to clipboard

Missing dependency on setuptools

Open ubmarco opened this issue 2 years ago • 0 comments

The library uses pkg_resources in multiple locations, e.g. here https://github.com/useblocks/sphinx-collections/blob/c2df8fbd4233670758cfd7c73589e725d955230a/sphinxcontrib/collections/main.py#L2

The library setuptools however does not appear in the direct project dependencies https://github.com/useblocks/sphinx-collections/blob/master/pyproject.toml#L32

This should be added. As an alternative, we can move on to importlib. pkg_resources is deprecated anyway, see https://setuptools.pypa.io/en/latest/pkg_resources.html.

ubmarco avatar Jan 08 '24 10:01 ubmarco