summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshangxdy <shang.xiaodong@zte.com.cn>2017-09-07 10:40:13 +0800
committerjulien zhang <zhang.jun3g@zte.com.cn>2017-09-10 14:44:24 +0000
commit9fb5b2da2ba6544e1c47c2e7f19e5b2ceb178eb5 (patch)
treee8468f13d27b8a3421e1f7f5a405fc46d686c886
parentdd361d8d9df7a69a4fc7c004db5b959440a024c2 (diff)
Update heat-translator requirement
Currently heat-translator use openstack tosca-parser other than nfv-toscaparser, this patch modifies the requriement since nfv-toscaparser has tagged and published to pypi. JIRA: PARSER-150 Change-Id: Ib1ddf28f0932fbe19f25627ad4ef5df2d16dca0a Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
-rw-r--r--tosca2heat/heat-translator/requirements.txt3
-rw-r--r--tosca2heat/heat-translator/tox.ini2
2 files changed, 3 insertions, 2 deletions
diff --git a/tosca2heat/heat-translator/requirements.txt b/tosca2heat/heat-translator/requirements.txt
index 2de8022..b147d83 100644
--- a/tosca2heat/heat-translator/requirements.txt
+++ b/tosca2heat/heat-translator/requirements.txt
@@ -7,7 +7,8 @@ cliff>=2.6.0 # Apache-2.0
PyYAML>=3.10.0 # MIT
python-dateutil>=2.4.2 # BSD
six>=1.9.0 # MIT
-tosca-parser>=0.8.1 # Apache-2.0
+#tosca-parser>=0.8.1 # Apache-2.0
+nfv-toscaparser>=0.5.0
keystoneauth1>=2.21.0 # Apache-2.0
python-novaclient>=9.0.0 # Apache-2.0
python-heatclient>=1.6.1 # Apache-2.0
diff --git a/tosca2heat/heat-translator/tox.ini b/tosca2heat/heat-translator/tox.ini
index b1299bf..6ba58c3 100644
--- a/tosca2heat/heat-translator/tox.ini
+++ b/tosca2heat/heat-translator/tox.ini
@@ -5,7 +5,7 @@ skipsdist = True
[testenv]
usedevelop = True
-install_command = pip install -U {opts} {packages}
+install_command = pip install --pre -U {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt