Distribution should not depend on Flake8
See original GitHub issueCurrently, the list of dependencies of the motmetrics
distribution is taken from the requirements.txt
file, which includes flake8
and flake8-import-order
. However, these packages are not used anywhere in the motmetrics
code. This means that installing motmetrics
leads to a bunch of unnecessary dependencies being installed too.
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Full Listing of Options and Their Descriptions - Flake8
Show Flake8's version as well as the versions of all plugins installed. Command-line usage: flake8 --version. This can not be specified in config...
Read more >flake8 was not found in this python distribution. #12 - GitHub
I'm getting a strange error. I have flake8 installed, I can run it from the command line with any user including root. When...
Read more >flake8 Documentation - Read the Docs
Please do not open issues about this dependency to Flake8. ... This option takes a list of distribution names (usually the name you...
Read more >python3-flake8 dependency issues in focal-proposed
or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies:
Read more >flake8-rst-docstrings - PyPI
Introduction. This is an MIT licensed flake8 plugin for validating Python docstrings markup as reStructuredText (RST) using the Python library docutils.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey! So yes,
flake8
and related (also pytest) should be removed fromrequirements.txt
.For developers, we could add a
dev_requirements.txt
or similar which needs to be installed withpip install -r dev_requirements.txt
. Or even better, we utilizeextras_require
fromsetup.py
as explained here.@cheind It’s a similar concern to what the original problem was - you’re installing code that is unnecessary for most users. That said, I don’t mind it that much, so if you like it the way it is, that’s fine.
The original problem’s been resolved, so I’m closing the issue.