mirror of
https://github.com/iio612/immich-native.git
synced 2026-04-18 12:21:07 +00:00
Remove Python 3.12 patch
Upstream now supports it. Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
This commit is contained in:
@@ -79,12 +79,6 @@ python3 -m venv $APP/machine-learning/venv
|
|||||||
. $APP/machine-learning/venv/bin/activate
|
. $APP/machine-learning/venv/bin/activate
|
||||||
pip3 install poetry
|
pip3 install poetry
|
||||||
cd machine-learning
|
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
|
poetry install --no-root --with dev --with cpu
|
||||||
cd ..
|
cd ..
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user