I am using cyclonedx-py with requirements along with --pyproject option on a python project which has a pyproject.toml but the tool exits with the following error :-
CRITICAL | CDX > Unable to build component from pyproject
Later on I discovered that pyproject.toml is not PEP 621 compliant. The message is quite generic and does not tell why it failed.
Can this error message be improved to : The supplied pyproject.toml is not PEP 621 compliant or something like that ?
Here is the pyproject.toml file I am referring to : https://github.com/ckan/ckan/blob/ckan-2.11.4/pyproject.toml
Thanks
Ayush
I am using
cyclonedx-pywithrequirementsalong with--pyprojectoption on a python project which has apyproject.tomlbut the tool exits with the following error :-CRITICAL | CDX > Unable to build component from pyprojectLater on I discovered that
pyproject.tomlis notPEP 621compliant. The message is quite generic and does not tell why it failed.Can this error message be improved to :
The supplied pyproject.toml is not PEP 621 compliantor something like that ?Here is the pyproject.toml file I am referring to : https://github.com/ckan/ckan/blob/ckan-2.11.4/pyproject.toml
Thanks
Ayush