diff --git a/scripts/test.sh b/scripts/test.sh index 2028db33d..bd155b043 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -178,9 +178,12 @@ all|coverage|sonarcloud) if [ "$ID" = "ubuntu" -a "$VERSION_ID" = "20.04" ]; then DEPS="$DEPS libiptc-dev" else - DEPS="$DEPS iptables-dev" + DEPS="$DEPS iptables-dev python3-setuptools" + fi + # tox has dependencies that can't be resolved on 16.04 (even with pip) + if [ "$ID" != "ubuntu" -o "$VERSION_ID" != "16.04" ]; then + PYDEPS="tox" fi - PYDEPS="tox" if test "$1" = "build-deps"; then if [ "$ID" != "ubuntu" -o "$VERSION_ID" != "16.04" ]; then build_botan