Closed fpgmaas closed 1 year ago
Hello @fpgmaas
Thank you so much for making deptry and running it on our codebase!
We forgot to remove future
and add packaging
during migration to poetry, so the report is useful. To avoid it in the future we decided to add it to our pre-commit hooks and CI workflow.
While we use poetry for our development environment, we still need to support py2.7 for some time, so for package building, we still need setup.py
. As a result, dependencies are listed twice, and it's easy to make a mistake.
Implemented in 6d0039dc9c8cb3ec146035bfee678366ab9db07d
The Component Manager version
main
ESP-IDF Version
NA
python Version
3.10
Operating System
macOS
Browser (for https://components.espressif.com Issues)
NA
Description
It seems the
pyproject.toml
file contains some unused dependencies.To Reproduce
Expected behaviour
The pyproject.toml should not contain any unused dependencies and there should be no modules imported that are not in the project's dependencies.
Additional info
I believe many of the issues can be resolved by:
urlparse
withurllib.parse
pywin32
as a dependency.colorama
Disclaimer: I am the author of deptry. I see this as nice way to contribute to other projects while simultaneously testing deptry on a variety of projects and gather some feedback.
I have checked existing issues and online Documentation