From c31ce0216de72de57782e3591247168c3ed8ca74 Mon Sep 17 00:00:00 2001 From: DeathByDenim Date: Fri, 18 Mar 2022 21:08:18 -0400 Subject: [PATCH] Another Python library that OpenSpades depends on became incompatible --- scripts/deploy_openspades.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/deploy_openspades.sh b/scripts/deploy_openspades.sh index b4ce591..33f16c6 100755 --- a/scripts/deploy_openspades.sh +++ b/scripts/deploy_openspades.sh @@ -21,7 +21,8 @@ fi virtualenv -p python3 /opt/openspades/env source /opt/openspades/env/bin/activate pip install -U piqueserver -pip install "twisted<21.0.0" # Twisted 22 removed getPage that piqueserver depends on for 1.0.0 +pip install "twisted<21.0.0" # Twisted 22 removed getPage that piqueserver 1.0.0 depends on +pip install "MarkupSafe==2.0.1" # MarkupSafe removed soft_unicode that piqueserver 1.0.0 depends on sudo -u ${systemuser} /opt/openspades/env/bin/piqueserver --copy-config sudo -u ${systemuser} sed -i ${systemuserhome}/.config/piqueserver/config.toml -e s/"piqueserver instance"/"onFOSS"/ -e s/"#admin = \[\"adminpass1\", \"adminpass2\"\]"/"admin = \[\"${systempassword}\"\]"/ deactivate