Ability to specify more than one dependency in scoped "deps" config section #2506
Labels
feature:new
something does not exist yet, but should
help:wanted
Issues that have been acknowledged, a solution determined and a PR might likely be accepted.
In a project, to run the mypy static analyzer, I need to install both mypy and types-requests. While I could specify a separate requirements.txt for this, I would rather just put it as a list in the deps section:
tox -e compile
yields an error with installing of the dependenciesmypy
andtypes-requests
:It appears the arguments are not split at the comma and passed as a full string to pip.
instead of
Note that specifying
compile: mypy, types-requests
with a space (compile: mypy types-requests
) instead makes no difference.compile: mypy types-requests
would also be more consistent with the way pip works and might be the right implementation if this feature is included.My workaround is to use a separate requirements.txt or to specify the extra dependency before the scoped ones:
or
I think the dependencies should be parsed and split at the comma so that multiple dependencies can be specified.
The text was updated successfully, but these errors were encountered: