From 37a50e44bf2dfe7c0cd299f766b86264e1d850f9 Mon Sep 17 00:00:00 2001 From: Sarah King Date: Fri, 18 Sep 2020 16:29:14 -0500 Subject: [PATCH] Fix issue 1377, install correct version of py-parsedatetime (#1387) --- bin/oref0-setup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/oref0-setup.sh b/bin/oref0-setup.sh index d2298967e..e3f88cf1b 100755 --- a/bin/oref0-setup.sh +++ b/bin/oref0-setup.sh @@ -702,7 +702,8 @@ if prompt_yn "" N; then echo Removing any existing git in $directory/.git rm -rf $directory/.git echo Removed any existing git - + echo "Uninstalling parsedatetime, reinstalling correct version" + pip uninstall -y parsedatetime && pip install -I parsedatetime===2.5 # TODO: delete this after openaps 0.2.2 release echo Checking openaps 0.2.2 installation with --nogit support if ! openaps --version 2>&1 | egrep "0.[2-9].[2-9]"; then