From 494b4cd5edc21dfcc8d35fa07ec44e493198205c Mon Sep 17 00:00:00 2001 From: Till Maas Date: Tue, 11 Jun 2019 14:40:57 +0200 Subject: [PATCH] tox: Work around Python 2.6 issues with tox 3 Fedora 30 uses tox 3 which does not work with Python 2.6 out of the box. Setting the install and list_dependencies commands to run `pip` instead of `python -m pip` seems to fix this for now. --- tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox.ini b/tox.ini index bc20613..604c295 100644 --- a/tox.ini +++ b/tox.ini @@ -34,6 +34,8 @@ deps = black commands = black --check --diff --include "^[^.].*\.py$" . [testenv:py26] +install_command = pip install {opts} {packages} +list_dependencies_command = pip freeze basepython = python2.6 passenv = {[base]passenv} setenv =