fix: use --python flag for uv pip install

Follows profilarr-install.sh pattern: uv venv then uv pip install --python /path/to/venv/bin/python
This commit is contained in:
Michael Joshua Saul
2026-02-27 01:56:01 -07:00
parent 4abe05bbd9
commit 2cc9d252a5
2 changed files with 2 additions and 6 deletions

View File

@@ -67,9 +67,7 @@ function update_script() {
msg_info "Updating Python Dependencies"
cd /opt/plane/apps/api
export VIRTUAL_ENV=/opt/plane-venv
export PATH="/opt/plane-venv/bin:$PATH"
$STD uv pip install --upgrade -r requirements/production.txt
$STD uv pip install --python /opt/plane-venv/bin/python --upgrade -r requirements/production.txt
msg_ok "Updated Python Dependencies"
msg_info "Running Migrations"

View File

@@ -100,9 +100,7 @@ msg_ok "Built Frontend Apps"
msg_info "Setting up Python API"
setup_uv
$STD uv venv /opt/plane-venv
export VIRTUAL_ENV=/opt/plane-venv
export PATH="/opt/plane-venv/bin:$PATH"
$STD uv pip install -r /opt/plane/apps/api/requirements/production.txt
$STD uv pip install --python /opt/plane-venv/bin/python -r /opt/plane/apps/api/requirements/production.txt
msg_ok "Set up Python API"
msg_info "Configuring Plane"