@ -7,7 +7,7 @@ set -eux
case $(lsb_release -is) in
Debian)
case $(lsb_release -rs) in
11)
11|12)
apt-get install -y python3-pip libyaml-dev python3-dev </dev/null
;;
*)
@ -30,4 +30,5 @@ case $(lsb_release -is) in
esac
pip install shyaml --upgrade
pip install shyaml --upgrade ||
pip install shyaml --upgrade --break-system-packages
@ -30,7 +30,8 @@ mkdir -p /opt/apps
if [ "$(python -c 'import setuptools' 2>&1 | tail -n 1)" == "ImportError: No module named setuptools" ]; then
pip install setuptools
fi
pip install sact.epoch
pip install sact.epoch ||
pip install sact.epoch --break-system-packages
if [ "$(python -c 'import sact.epoch' 2>&1 | tail -n 1)" == "ImportError: No module named interface" ]; then
echo "Error: conflicting installation of zope.interface detected. Trying workaround."
(