summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Mueller <dirk@dmllr.de>2018-08-08 08:46:26 +0200
committerDirk Mueller <dirk@dmllr.de>2018-08-09 07:11:52 +0200
commit349f79937f681bc3da3c9c3b545c5714968c15f4 (patch)
tree4ab4833d867234e5f4053d33731aea27bdac6150
parent85f02d06c58ed34341392d49adffebbbe47af824 (diff)
downloadtaskflow-349f79937f681bc3da3c9c3b545c5714968c15f4.tar.gz
Add pydot test dependency
We need to use pydot rather than pydot3 because of a broken version comparison in networkx, where it rejects the lower version number of pydot3. Without this patch the taskflow unit tests which use dot for rendering graphics are no longer runnable. Change-Id: I676e4d76627b3ecd0e4a9b896b2b93d652ebb25d
-rw-r--r--tox.ini11
1 files changed, 10 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 9a7b2c6..35f4cab 100644
--- a/tox.ini
+++ b/tox.ini
@@ -36,7 +36,7 @@ commands =
basepython = python3
deps =
{[testenv]deps}
- pydot2
+ pydot3
commands = {toxinidir}/tools/update_states.sh
[testenv:pep8]
@@ -81,8 +81,17 @@ import_exceptions =
ignore-path = doc/*/target,doc/*/build*
[testenv:py27]
+deps =
+ {[testenv]deps}
+ pydot
basepython = python2.7
+[testenv:py35]
+deps =
+ {[testenv]deps}
+ pydot
+basepython = python3.5
+
[testenv:releasenotes]
basepython = python3
deps = -r{toxinidir}/doc/requirements.txt