Closed FasterSpeeding closed 1 month ago
Add setuptools as a runtime dependency.
pkg_resources is being imported at runtime in requirement.py and this causes the library to fail to import in an environment without setuptools.
pkg_resources
requirement.py
https://github.com/madpah/requirements-parser/issues/37 / https://github.com/madpah/requirements-parser/pull/38 seem related and seem to have had their fix lost to time
Afaik usage of pkg_resources is deprecated. Its usage should be replaced through importlib.metadata or packaging.
Add setuptools as a runtime dependency.
pkg_resources
is being imported at runtime inrequirement.py
and this causes the library to fail to import in an environment without setuptools.https://github.com/madpah/requirements-parser/issues/37 / https://github.com/madpah/requirements-parser/pull/38 seem related and seem to have had their fix lost to time