From 4a0247a319148b74b41fdd13349020b13cfd9831 Mon Sep 17 00:00:00 2001 From: Michael Hwang Date: Fri, 2 Mar 2018 10:18:27 -0500 Subject: Bound the dcaepolicylib abstract requirement This is needed because of a potential bug in wagon where instead of just taking dependencies from requirements.txt. Wagon meets the requirements of both requirements.txt and the abstract requirements in setup.py. This is when running wagon with the "-r". Change-Id: If6aebb5b4d98c34e379bdfaa5ff0f7af4fa3504b Issue-ID: DCAEGEN2-377 Signed-off-by: Michael Hwang --- cdap/cdapplugin/setup.py | 2 +- docker/setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cdap/cdapplugin/setup.py b/cdap/cdapplugin/setup.py index 8774699..6ca9461 100644 --- a/cdap/cdapplugin/setup.py +++ b/cdap/cdapplugin/setup.py @@ -32,7 +32,7 @@ setup( url = "https://gerrit.onap.org/r/#/admin/projects/dcaegen2/platform/plugins", zip_safe=False, install_requires = [ - "onap-dcae-dcaepolicy-lib", + "onap-dcae-dcaepolicy-lib>=1.0.0,<2.0.0" "uuid==1.30" ] ) diff --git a/docker/setup.py b/docker/setup.py index ececb43..3585984 100644 --- a/docker/setup.py +++ b/docker/setup.py @@ -32,6 +32,6 @@ setup( "python-consul>=0.6.0,<1.0.0", "onap-dcae-dockering>=1.0.0,<2.0.0", "uuid==1.30", - "onap-dcae-dcaepolicy-lib>=1.0.0" + "onap-dcae-dcaepolicy-lib>=1.0.0,<2.0.0" ] ) -- cgit 1.2.3-korg