ci: Stop using uv to catch dependency timeouts in nightly workflow (#5654)

fix: stop using uv to catch dependency timeouts
This commit is contained in:
Gabriel Luiz Freitas Almeida 2025-01-13 19:30:35 -03:00 committed by GitHub
commit 02c76a9db5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -102,8 +102,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/
uv pip install src/backend/base/dist/*.whl
uv run python -m langflow run --host 127.0.0.1 --port 7860 --backend-only &
python -m pip install src/backend/base/dist/*.whl
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)