Closed oh2fih closed 1 month ago
There is already a pull request https://github.com/madpah/requirements-parser/pull/80 from October 2022 that would solve this issue...
Closing this issue in favor to https://github.com/madpah/requirements-parser/issues/88.
The pkg_resources
is deprecated and should be replaced with packaging.requirements.Requirement
.
The requirement.py:24 has this import:
The
pkg_resources
is a part of pypa/setuptools, butsetuptools
is missing from the pyproject.toml.This causes
ModuleNotFoundError
:Using
pip install setuptools
fixes the error.