From 649ec440f9a4764471770b86c2176bb631a04c36 Mon Sep 17 00:00:00 2001 From: peusterm Date: Thu, 21 Sep 2017 18:57:13 +0200 Subject: [PATCH] Fix: Use networkx < 2.0 due to major API change. Signed-off-by: peusterm --- Jenkinsfile | 2 +- ansible/install.yml | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index aafa6a7..ea86d42 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -12,7 +12,7 @@ pipeline { stage('Build') { steps { echo 'Building...' - sh "docker build -t sonatanfv/son-emu:dev ." + sh "docker build --no-cache -t sonatanfv/son-emu:dev ." } } stage('Test') { diff --git a/ansible/install.yml b/ansible/install.yml index 61d12a2..0ee1e44 100755 --- a/ansible/install.yml +++ b/ansible/install.yml @@ -51,7 +51,7 @@ pip: name=argparse state=latest - name: install networkx - pip: name=networkx state=latest + pip: name=networkx version=1.11 - name: install six pip: name=six state=latest diff --git a/setup.py b/setup.py index a3c9247..bb2da02 100755 --- a/setup.py +++ b/setup.py @@ -45,7 +45,7 @@ setup(name='emuvim', 'pyaml', 'tabulate', 'argparse', - 'networkx', + 'networkx==1.11', 'six>=1.9', 'ryu', 'oslo.config', -- 2.25.1