-
-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removed unused runtime dependencies setuptools
and toml
#340
Comments
Thanks for the report, @rolweber install_requires = \
['packageurl-python>=0.9',
'setuptools>=47.0.0',
'sortedcontainers>=2.4.0,<3.0.0',
'toml>=0.10.0,<0.11.0'] |
Probably. Need to check the actual usage of the packages. @rolweber would you create a pull request and change things to the behavior you'd expect? |
Evidence:
cyclonedx:
total 12
drwxr-xr-x. 1 rolweber rolweber 98 Jan 13 11:29 exception/
drwxr-xr-x. 1 rolweber rolweber 64 Jan 13 11:29 factory/
-rw-r--r--. 1 rolweber rolweber 697 Jan 13 11:29 __init__.py
drwxr-xr-x. 1 rolweber rolweber 260 Jan 13 11:29 model/
drwxr-xr-x. 1 rolweber rolweber 108 Jan 13 11:29 output/
drwxr-xr-x. 1 rolweber rolweber 44 Jan 13 11:29 parser/
drwxr-xr-x. 1 rolweber rolweber 84 Jan 13 11:29 __pycache__/
-rw-r--r--. 1 rolweber rolweber 153 Jan 13 11:29 py.typed
drwxr-xr-x. 1 rolweber rolweber 488 Jan 13 11:29 schema/
-rw-r--r--. 1 rolweber rolweber 2071 Jan 13 11:29 spdx.py
cyclonedx_python_lib-3.1.5.dist-info:
total 36
-rw-r--r--. 1 rolweber rolweber 4 Jan 13 11:29 INSTALLER
-rw-r--r--. 1 rolweber rolweber 11357 Jan 13 11:29 LICENSE
-rw-r--r--. 1 rolweber rolweber 5878 Jan 13 11:29 METADATA
-rw-r--r--. 1 rolweber rolweber 6075 Jan 13 11:29 RECORD
-rw-r--r--. 1 rolweber rolweber 0 Jan 13 11:29 REQUESTED
-rw-r--r--. 1 rolweber rolweber 88 Jan 13 11:29 WHEEL
cyclonedx_python_lib-3.1.5.dist-info/METADATA:Requires-Dist: setuptools (>=47.0.0)
There's a _distutils_hack package in setuptools...
cyclonedx_python_lib-3.1.5.dist-info/METADATA:Requires-Dist: toml (>=0.10.0,<0.11.0) |
There are references to toml and setuptools in |
To be honest, the situation is not critical to me as a maintainer. 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. |
setuptools
and toml
Included in |
Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
Version 3.1.5 from PyPI declares dependencies on setuptools and toml:
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) andPoetryParser
(toml) were still part of this codebase? Can they be dropped now?The text was updated successfully, but these errors were encountered: