From b8e6fecf1339840b98b613947cbf1d9a6a690712 Mon Sep 17 00:00:00 2001 From: Juhyung Park Date: Wed, 3 Jul 2024 15:58:02 +0900 Subject: [PATCH] Remove Python 3.12 patch Upstream now supports it. Signed-off-by: Juhyung Park --- install.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/install.sh b/install.sh index 01aa932..8606e31 100755 --- a/install.sh +++ b/install.sh @@ -79,12 +79,6 @@ python3 -m venv $APP/machine-learning/venv . $APP/machine-learning/venv/bin/activate pip3 install poetry cd machine-learning - if python -c 'import sys; exit(0) if sys.version_info.major == 3 and sys.version_info.minor > 11 else exit(1)'; then - echo "Python > 3.11 detected, forcing poetry update" - # Allow Python 3.12 (e.g., Ubuntu 24.04) - sed -i -e 's/<3.12/<4/g' pyproject.toml - poetry update - fi poetry install --no-root --with dev --with cpu cd .. )