]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
tox: Fix the tox.ini's to support older versions of tox
authorMatthew Oliver <moliver@suse.com>
Thu, 2 Apr 2020 23:22:02 +0000 (23:22 +0000)
committerMatthew Oliver <moliver@suse.com>
Thu, 2 Apr 2020 23:30:20 +0000 (23:30 +0000)
commita1fd9d11e7e11a2478f268251a4a02f2d260fc1c
tree540e9a6bce47357ab1fa51ed571fe4ced9539946
parentfb99112ba3a29776f0c1a0ededfd553c6c903d85
tox: Fix the tox.ini's to support older versions of tox

The src/cephadm/tox.ini and src/pybind/mgr/tox.ini both don't run
on older versions of tox.
When using tox 2.9.1 both fail for different reasons.

`src/cephadm/tox.ini` fails because `skipsdist=true` only works if it's
directly under the `[tox]` section.

`src/pybind/mgr/tox.ini` fails because older versions of tox can't find
the requirements.txt because they don't like whitespace between the `-r`
and `requirements.txt`.

This patch changes the tox.ini's to be backwards compatible for those
who happen to be running slightly older version of tox.

Signed-off-by: Matthew Oliver <moliver@suse.com>
src/cephadm/tox.ini
src/pybind/mgr/tox.ini