I cannot find tox requires on the config object. The minversion is there, but the requires are not. They appear to be parsed, used and forgotten.
|
def handle_provision(self, config, reader): |
|
requires_list = reader.getlist("requires") |
|
config.minversion = reader.getstring("minversion", None) |
|
config.provision_tox_env = name = reader.getstring("provision_tox_env", ".tox") |
|
min_version = "tox >= {}".format(config.minversion or Version(tox.__version__).public) |
|
deps = self.ensure_requires_satisfied(config, requires_list, min_version) |
I'd like to be able to read them from a plugin.
I can send a PR, if this would be accepted.
I cannot find tox requires on the config object. The minversion is there, but the requires are not. They appear to be parsed, used and forgotten.
tox/src/tox/config/__init__.py
Lines 1297 to 1302 in 555f3f1
I'd like to be able to read them from a plugin.
I can send a PR, if this would be accepted.