You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Removed unused runtime dependencies setuptools and toml #340
However, I found no reference to these dependencies in the installed code that comes with the package.
Are these dependencies leftovers from a time when EnvironmentParser (setuptools) and PoetryParser (toml) were still part of this codebase? Can they be dropped now?
Can they [unused runtime dependencies] be dropped now?
Probably. Need to check the actual usage of the packages. setuptools ships two python packages: setuptools and pkg_resources. toml ships only on package: toml.
There are references to toml and setuptools in pyproject.toml, poetry.lock, and requirements.lowest.txt. Also some comments regarding types-setuptools, which is supposed to be kept in sync with setuptools, but actually isn't (version 57 vs 47). As I am not familiar with poetry, your project setup looks very intricate and intimidating to me.
To be honest, the situation is not critical to me as a maintainer.
Therefore, I do not intend to work on this soon.
So this is free for everyone who has a problem with the current situation. Feel free to raise a pull request to improve this library.
If so, please keep our contribution guidelines in mind. I will be happy to assist, if needed.
Activity
jkowalleck commentedon Jan 13, 2023
Thanks for the report, @rolweber
evidece: the
sdistrelease contains the followingcaused by https://github.com/CycloneDX/cyclonedx-python-lib/blame/main/pyproject.toml#L47
jkowalleck commentedon Jan 13, 2023
Probably. Need to check the actual usage of the packages.
setuptoolsships two python packages:setuptoolsandpkg_resources.tomlships only on package:toml.@rolweber would you create a pull request and change things to the behavior you'd expect?
If so, please keep our contribution guidelines in mind.
rolweber commentedon Jan 13, 2023
Evidence:
ls -l cyclonedx*grep -r setuptools cyclonedx*grep -r pkg_resources cyclonedx*There's a _distutils_hack package in setuptools...
grep -r distutils cyclonedx*grep -r toml cyclonedx*rolweber commentedon Jan 13, 2023
There are references to toml and setuptools in
pyproject.toml,poetry.lock, andrequirements.lowest.txt. Also some comments regarding types-setuptools, which is supposed to be kept in sync with setuptools, but actually isn't (version 57 vs 47). As I am not familiar with poetry, your project setup looks very intricate and intimidating to me.jkowalleck commentedon Jan 13, 2023
To be honest, the situation is not critical to me as a maintainer.
Therefore, I do not intend to work on this soon.
So this is free for everyone who has a problem with the current situation. Feel free to raise a pull request to improve this library.
If so, please keep our contribution guidelines in mind. I will be happy to assist, if needed.
[-]Unused runtime dependencies?[/-][+]Removed unused runtime dependencies `setuptools` and `toml`[/+]madpah commentedon Mar 20, 2023
Included in
4.0.0- now released.chore: followup of #340
chore: followup of #340 (#360)