From dcf9a8f3930a7354cbca0fcb4ac36e77f20f04f2 Mon Sep 17 00:00:00 2001 From: Donkie Date: Mon, 6 Nov 2023 22:09:26 +0100 Subject: [PATCH] Force PDM to use venv as backend in the install script --- scripts/install_debian.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/install_debian.sh b/scripts/install_debian.sh index 441ac50..0263be3 100755 --- a/scripts/install_debian.sh +++ b/scripts/install_debian.sh @@ -115,6 +115,9 @@ fi # Install PDM dependencies echo -e "${GREEN}Installing Spoolman backend and its dependencies using PDM...${NC}" + +# Force PDM to use venv. The default is virtualenv which has had some compatibility issues +pdm config venv.backend venv || exit 1 pdm sync --prod --no-editable || exit 1 # Get version number from pyproject.toml