infra[patch]: Use langchain core in-tree as a dev dependency (#13957)

Using the published version means master is broken for contributors
whenever we make changes in one lib that depend on the other.
This commit is contained in:
Nuno Campos
2023-11-28 17:23:43 +00:00
committed by GitHub
parent 2703a1b061
commit e0bcc98436
9 changed files with 41 additions and 138 deletions

View File

@@ -7,10 +7,6 @@ on:
required: true
type: string
description: "From which folder this pipeline executes"
langchain-core-location:
required: false
type: string
description: "Relative path to the langchain core library folder"
env:
POETRY_VERSION: "1.6.1"
@@ -44,14 +40,6 @@ jobs:
shell: bash
run: poetry install --with=test_integration
- name: Install langchain core editable
working-directory: ${{ inputs.working-directory }}
if: ${{ inputs.langchain-core-location }}
env:
LANGCHAIN_CORE_LOCATION: ${{ inputs.langchain-core-location }}
run: |
poetry run pip install -e "$LANGCHAIN_CORE_LOCATION"
- name: Check integration tests compile
shell: bash
run: poetry run pytest -m compile tests/integration_tests