mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-26 01:49:27 +08:00
fix: strict langchain integrations dep (#3063)
* fix: strict langchain vertexai dep * fix: strict langchain vertexai dep * fix: strict langchain vertexai dep * [autofix.ci] apply automated fixes * chore: update langchain-google-genai dependency to version 1.0.8 * more locks * ci: improve test jobs titles * openai 0.1.18 * openai 0.1.17 --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
This commit is contained in:
9
.github/workflows/python_test.yml
vendored
9
.github/workflows/python_test.yml
vendored
@ -61,13 +61,16 @@ jobs:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
poetry-version: ${{ env.POETRY_VERSION }}
|
||||
cache-key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-${{ hashFiles('**/poetry.lock') }}
|
||||
- name: Install Python dependencies
|
||||
- name: Build wheel
|
||||
run: |
|
||||
poetry env use ${{ matrix.python-version }}
|
||||
poetry install
|
||||
make build main=true
|
||||
- name: Install wheel
|
||||
run: |
|
||||
python -m pip install dist/*.whl
|
||||
- name: Test CLI
|
||||
run: |
|
||||
poetry run python -m langflow run --host 127.0.0.1 --port 7860 --backend-only &
|
||||
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 5; done' || (echo "Server did not start in time" && kill $SERVER_PID && exit 1)
|
||||
|
||||
Reference in New Issue
Block a user