summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Hwang <mhwang@research.att.com>2018-03-02 10:18:27 -0500
committerMichael Hwang <mhwang@research.att.com>2018-03-02 10:20:58 -0500
commit4a0247a319148b74b41fdd13349020b13cfd9831 (patch)
treeac4b373930c9d57c5b011b4898067304a143cc2b
parentaa2922da3cf8b83306a49a09bd85114817ae1eba (diff)
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 <mhwang@research.att.com>
-rw-r--r--cdap/cdapplugin/setup.py2
-rw-r--r--docker/setup.py2
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"
]
)