ci: use uv for base install workflow (#7266)

use uv for base install workflow
This commit is contained in:
Jordan Frazier 2025-03-25 08:40:05 -07:00 committed by GitHub
commit 9bb2878760
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -105,8 +105,8 @@ jobs:
# TODO: Unsure why the whl is not built in src/backend/base/dist
mkdir src/backend/base/dist
mv dist/*.whl src/backend/base/dist/
python -m pip install src/backend/base/dist/*.whl
python -m langflow run --host 127.0.0.1 --port 7860 --backend-only &
uv pip install src/backend/base/dist/*.whl
uv run python -m langflow run --host 127.0.0.1 --port 7860 --backend-only &
SERVER_PID=$!
# Wait for the server to start
timeout 120 bash -c 'until curl -f http://127.0.0.1:7860/api/v1/auto_login; do sleep 2; done' || (echo "Server did not start in time" && kill $SERVER_PID && exit 1)