mirror of
https://github.com/iio612/immich-native.git
synced 2026-04-17 20:01:06 +00:00
Add a patch to allow running on Python 3.12
Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
This commit is contained in:
@@ -77,7 +77,11 @@ python3 -m venv $APP/machine-learning/venv
|
||||
. $APP/machine-learning/venv/bin/activate
|
||||
pip3 install poetry
|
||||
cd machine-learning
|
||||
# pip install poetry
|
||||
if false; then # Set this to true to force 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 ..
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user