mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 02:15:17 +00:00
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.
This commit is contained in:
parent
cb5fb554c4
commit
494b4cd5ed
1 changed files with 2 additions and 0 deletions
2
tox.ini
2
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 =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue