Not long ago, tox dropped support for the --showconfig argument. This
broke a bunch of things, so Zuul responded reasonably: check the version
of tox, and if it's new use the config subcommand; if it's not, continue
to use --showconfig.
However, we used to have some pins on tox versions. When tox realized it
needed an older version, it'd make a new virtualenv, then re-run the
command with the old version.
So:
- CI install latest version of tox
- Zuul sees "new tox" and tries to use the config subcommand
- tox sees the version pin, creates an "old tox" venv, and re-runs
- old tox interprets "config" as arguments to the testenv
- tests fail like
The specified regex doesn't match with anything
Now, force the old version of tox for the old branches earlier, so Zuul
knows how to do the right thing.
Related-Change: https://review.opendev.org/c/zuul/zuul-jobs/+/979136
Related-Change: https://review.opendev.org/c/openstack/swift/+/881597
Signed-off-by: Tim Burke <tim.burke@gmail.com>
Change-Id: I2480dd38be2ee78131d841a5cb6cdf54ec915466