On Wed, May 12, 2021 at 07:12:41PM -0400, John Snow wrote: > This is intended to be a manually run, non-CI script. > > Use tox to test the linters against all python versions from 3.6 to > 3.9. This will only work if you actually have those versions installed > locally, but Fedora makes this easy: > > > sudo dnf install python36 python37 python38 python39 > > Unlike the pipenv tests (make venv-check), this pulls "whichever" > versions of the python packages, so they are unpinned and may break as > time goes on. In the case that breakages are found, setup.cfg should be > amended accordingly to avoid the bad dependant versions, or the code > should be amended to work around the issue. > > Signed-off-by: John Snow > --- > python/README.rst | 2 ++ > python/.gitignore | 1 + > python/Makefile | 7 ++++++- > python/setup.cfg | 1 + > python/tox.ini | 13 +++++++++++++ > 5 files changed, 23 insertions(+), 1 deletion(-) > create mode 100644 python/tox.ini > This works as intended for me. A couple of notes / suggestions for future improvements: * `dnf install tox` pulled all the Python versions available (I assume as suggestions) automatically * tox.ini can be folded into setup.cfg * a custom container image with all those Python versions may be handy for running both the pipenv based job (along with the suggestions on the previous patch) and an on-demand, "allow_failure" tox based CI job. Other than those suggestions, this LGTM! Reviewed-by: Cleber Rosa Tested-by: Cleber Rosa