From b44c991d2fd7af2d111828409ad6f7b11a26bbaf Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Thu, 28 Mar 2019 21:26:16 +0100 Subject: [PATCH] Use requirements-frozen --- conf/app.src | 4 ++-- scripts/install | 6 +++--- scripts/upgrade | 3 ++- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/conf/app.src b/conf/app.src index faa5395..74a0ece 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/YunoHost/yunorunner/archive/390900af85db1ca771049b867a83cc0cde325cea.zip -SOURCE_SUM=115c54700318928f2429ec10624edfb0 +SOURCE_URL=https://github.com/YunoHost/yunorunner/archive/4d8276179b98e3d35e69d6de8fcbd0be42d8e5d4.zip +SOURCE_SUM=ede223a84d939c26e90b17c383b9abda SOURCE_SUM_PRG=md5sum SOURCE_FORMAT=zip SOURCE_IN_SUBDIR=true diff --git a/scripts/install b/scripts/install index 7e1f93f..c95b982 100644 --- a/scripts/install +++ b/scripts/install @@ -124,11 +124,11 @@ $final_path/.pythonz/bin/pythonz install 3.6.6 #================================================= pushd $final_path - virtualenv -p $($final_path/.pythonz/bin/pythonz locate 3.6.6) ve3 - ve3/bin/pip3 install -r requirements.txt + virtualenv -p $($final_path/.pythonz/bin/pythonz locate 3.6.6) ve3 + ve3/bin/pip3 install -r requirements-frozen.txt #Fix current websocket version error (2019-02-14) ve3/bin/pip3 uninstall -y websockets - ve3/bin/pip3 install 'websockets>=6.0,<7.0' + ve3/bin/pip3 install 'websockets>=6.0,<7.0' popd #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index d5bb1ee..aa9cf24 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -136,7 +136,8 @@ systemctl daemon-reload pushd $final_path ve3/bin/pip3 uninstall -y websockets - ve3/bin/pip3 install 'websockets>=6.0,<7.0' + ve3/bin/pip3 install 'websockets>=6.0,<7.0' + ve3/bin/pip3 install -r requirements-frozen.txt popd #=================================================