refactor(cli): drop Python 3.9 (#32964)

This commit is contained in:
Mason Daugherty
2025-09-15 19:22:53 -04:00
committed by GitHub
parent 369858de19
commit 244c699551
18 changed files with 634 additions and 730 deletions

View File

@@ -38,15 +38,16 @@ _e2e_test:
mkdir .integration_test
cd .integration_test && \
python3 -m venv .venv && \
pip install --upgrade poetry && \
$(PYTHON) -m pip install --upgrade uv && \
$(PYTHON) -m pip install -e .. && \
$(PYTHON) -m langchain_cli.cli integration new --name parrot-link --name-class ParrotLink && \
$(PYTHON) -m langchain_cli.cli integration new --name parrot-link --name-class ParrotLinkB --src=integration_template/chat_models.py --dst=langchain-parrot-link/langchain_parrot_link/chat_models_b.py && \
$(PYTHON) -m langchain_cli.cli integration create-doc --name parrot-link --name-class ParrotLinkB --component-type ChatModel --destination-dir langchain-parrot-link/docs && \
cd langchain-parrot-link && \
poetry install --with lint,typing,test && \
poetry run pip install -e ../../../standard-tests && \
unset UV_FROZEN && \
unset VIRTUAL_ENV && \
uv sync && \
uv add --editable ../../../standard-tests && \
make format lint tests && \
poetry install --with test_integration && \
poetry run pip install -e ../../../core && \
uv add --editable ../../../core && \
make integration_test