Should "setuptools" be a runtime dependency of "opentelemetry-instrumentation"? #778
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Describe your environment
I'm running
Python 3.8.10
onUbuntu 20.04
(but it shouldn't make a difference here).Additional Context
I believe that
setuptools
recently moved from a buildtime dependency to a runtime dependency in #738.Direct references to
pkg_resources
were added outside of the build context here:In most cases individuals are unlikely to encounter a problem because they had to have
setuptools
present topip install
in the first place.There are cases where this could be a problem, for example:
Essentially, any case that involves creating an artifact with
pip install -t
is open to an import error:I'm opening this issue to discuss whether
setuptools
should be added toinstall_requires
here:There are workarounds for the cases that don't support the current
setup.cfg
, but I've encountered this with relatively few packages and figured it might be worth a look. I can open the PR if it is.The text was updated successfully, but these errors were encountered: