Discussion: should black and other packages be moved from requirements.txt
redbaron4 opened this issue · 1 comments
Currently requirements.txt
has a host of packages that are at most needed in release prep or testing the package but not used in the production code. E.g. black
, isort
or flake8
.
The downside of this is that the installation in production is unnecessarily bloated and may even conflict with other packages (which may specify a different version of the same packages). Another side effect is that since black
is not out of pre-release, installation requires explicilty enabling pre-release
in pip.
Is it possible to remove these from requirements.txt and put them in a separate file, so that any release processing tools that explicitly need them can do a pip install -r newfile
and do the work?
Ah well.. I think requirements.txt is not consulted during a normal pip install. SO issue is not relevant