langgraph: changes for compatibility pydantic v2 / langchain-core==0.3 (#1594)

This commit is contained in:
Vadym Barda
2024-09-05 15:26:35 -04:00
committed by GitHub
parent 7461978b8c
commit 7bf99a5d2f
18 changed files with 644 additions and 1779 deletions
+10 -2
View File
@@ -21,7 +21,11 @@ jobs:
- "3.10"
- "3.11"
- "3.12"
name: "test #${{ matrix.python-version }}"
core-version:
- ">=0.3.0.dev1,<0.4.0"
- "latest"
name: "test #${{ matrix.python-version }} (langchain-core: ${{ matrix.core-version }})"
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }} + Poetry ${{ env.POETRY_VERSION }}
@@ -35,7 +39,11 @@ jobs:
- name: Install dependencies
shell: bash
working-directory: ${{ inputs.working-directory }}
run: poetry install --with dev
run: |
poetry install --with dev
if [ "${{ matrix.core-version }}" != "latest" ]; then
poetry run pip install "langchain-core${{ matrix.core-version }}"
fi
- name: Run core tests
shell: bash