-
Notifications
You must be signed in to change notification settings - Fork 9
Expose tox requires and minversion somehow #39
Description
See https://tox.readthedocs.io/en/latest/config.html#conf-requires
Specify python packages that need to exist alongside the tox installation for the tox build to be able to start (must be PEP-508 compliant). Use this to specify plugin requirements (or the version of virtualenv - determines the default pip, setuptools, and wheel versions the tox environments start with). If these dependencies are not specified tox will create provision_tox_env environment so that they are satisfied and delegate all calls to that.
See https://tox.readthedocs.io/en/latest/config.html#conf-minversion
Define the minimal tox version required to run; if the host’s tox version is less than this the tool will create an environment and provision it with a version of tox that satisfies this under provision_tox_env.
Given a config file like this:
[tox]
minversion = 3.4.0
requires =
tox-pipenv
setuptools >= 30.0.0
[testenv]
deps =
pytestWe currently only print pytest with --print-deps-to=. I'd like to extend it to print:
tox >= 3.4.0
tox-pipenv
setuptools >= 30.0.0
pytest
Before I dive into it, I'd like to know whether this is a good idea or whether I shall add a new option to do this instead.
@FFY00 you currently don't use --print-deps-to= at all, is that right?