zuul-jobs/roles/tox
Monty Taylor d36ba50765 Fix unittests for python2 and fedora
We need to pin enum34 on python2 because upstream broke it.

Also, we should not install zuul in python2, because it's not targetted
at python2. It's only here so that linters can deal with zuul_return
and other things from its library, so it should be fine to not install
it for python2 unittests.

GitPython was in here as a pin to the versions that support python3
for zuul. Since we're constraining zuul to only python3, we don't need
to mention GitPython at all.

Update the siblings unit test to use requests as the package we expect
to be already installed since we're no longer installing zuul for
python2.

Fedora 29 got archived upstream:

  http://mirror.sjc1.vexxhost.openstack.org/fedora/releases/29/README

So we need to switch to fedora 30.

Change-Id: I69e0b03f624ba45889916f89c0912df667aaf096
2020-02-24 10:50:13 -06:00
..
defaults Combine tox-siblings and tox roles 2017-11-29 15:34:08 -06:00
library Fix unittests for python2 and fedora 2020-02-24 10:50:13 -06:00
tasks Switch to TOX_CONSTRAINTS_FILE 2019-05-22 22:30:14 +02:00
__init__.py Enable Python 2.7 unit tests 2018-08-17 10:23:20 +10:00
README.rst Switch to TOX_CONSTRAINTS_FILE 2019-05-22 22:30:14 +02:00

Runs tox for a project

Role Variables

Environment variables to pass in to the tox run.

Path to a pip constraints file. Will be provided to tox via TOX_CONSTRAINTS_FILE (deprecated but currently still supported name is UPPER_CONSTRAINTS_FILE) environment variable if it exists.