From ed828f168b32ab00305d33cfeb5c9fa5d91053b4 Mon Sep 17 00:00:00 2001 From: Duc Truong Date: Mon, 1 Oct 2018 09:44:36 -0700 Subject: [PATCH] Install horizon with upper-constraints.txt in post-install Change-Id: Ib57a7833a184350a03d64dc9c5e150e91000b8c2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8a8c99e4..ea1c31f4 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "phantomjs-prebuilt": "2.1.x" }, "scripts": { - "postinstall": "if [ ! -d .tox ] || [ ! -d .tox/karma ]; then tox -ekarma --notest; python3 -m pip install -U -t ./.tox/karma/lib/`python3 -V|tr -d ' '|tr 'P' 'p'|cut -c -9`/site-packages/ ../horizon; fi", + "postinstall": "if [ ! -d .tox ] || [ ! -d .tox/karma ]; then tox -ekarma --notest; python3 -m pip install -U -t ./.tox/karma/lib/`python3 -V|tr -d ' '|tr 'P' 'p'|cut -c -9`/site-packages/ -chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt ../horizon; fi", "test": "karma start senlin_dashboard/karma.conf.js --single-run", "lint": "eslint --no-color senlin_dashboard/static" },