summaryrefslogtreecommitdiff
path: root/requirements.txt
diff options
context:
space:
mode:
authorMichal Arbet <michal.arbet@ultimum.io>2018-06-25 16:06:18 +0200
committerMichal Arbet <michal.arbet@ultimum.io>2018-07-11 13:11:51 +0200
commitd985c5a256bcf8f67e80235ba387599f448f2c49 (patch)
treeb7f5f712a08a83090aefb43d4b0ce121fc6d2fca /requirements.txt
parent19d0eb89c80655da766b6fc55b3ebf6b5a0d52f8 (diff)
downloadtaskflow-d985c5a256bcf8f67e80235ba387599f448f2c49.tar.gz
Fix code to support networkx > 1.0
With the release of NetworkX 2.0 the reporting API was moved to view/iterator model. Many methods were moved from reporting lists or dicts to iterating over the information. Methods that used to return containers now return views and methods that returned iterators have been removed in networkx. Because of this change in NetworkX 2.0 , taskflow code have to be changed also to support networkx > 2.0 Change-Id: I23c226f37bd85c1e38039fbcb302a2d0de49f333 Closes-Bug: #1778115
Diffstat (limited to 'requirements.txt')
-rw-r--r--requirements.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/requirements.txt b/requirements.txt
index 2ab5ad9..b83e8ae 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -23,7 +23,7 @@ fasteners>=0.7.0 # Apache-2.0
networkx>=1.10 # BSD
# For contextlib new additions/compatibility for <= python 3.3
-contextlib2>=0.4.0 # PSF License
+contextlib2>=0.4.0;python_version<'3.0' # PSF License
# Used for backend storage engine loading.
stevedore>=1.20.0 # Apache-2.0