From cdf3a17e55bd594341c390051dc20c5e5a74b966 Mon Sep 17 00:00:00 2001 From: Erick Friis Date: Mon, 13 Jan 2025 13:25:00 -0800 Subject: [PATCH] docs: fix httpx conflicts with overrides in docs build (#29180) --- .github/workflows/api_doc_build.yml | 2 +- docs/Makefile | 2 +- docs/vercel_overrides.txt | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 docs/vercel_overrides.txt diff --git a/.github/workflows/api_doc_build.yml b/.github/workflows/api_doc_build.yml index 28ad2d742367a..42007cb1d9a2d 100644 --- a/.github/workflows/api_doc_build.yml +++ b/.github/workflows/api_doc_build.yml @@ -72,7 +72,7 @@ jobs: - name: Install dependencies working-directory: langchain run: | - python -m uv pip install $(ls ./libs/partners | xargs -I {} echo "./libs/partners/{}") + python -m uv pip install $(ls ./libs/partners | xargs -I {} echo "./libs/partners/{}") --overrides ./docs/vercel_overrides.txt python -m uv pip install libs/core libs/langchain libs/text-splitters libs/community libs/experimental libs/standard-tests python -m uv pip install -r docs/api_reference/requirements.txt diff --git a/docs/Makefile b/docs/Makefile index 5df104397aade..43fb70bb105ed 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -27,7 +27,7 @@ install-py-deps: $(PYTHON) -m pip install -q --upgrade pip $(PYTHON) -m pip install -q --upgrade uv $(PYTHON) -m uv pip install -q --pre -r vercel_requirements.txt - $(PYTHON) -m uv pip install -q --pre $$($(PYTHON) scripts/partner_deps_list.py) + $(PYTHON) -m uv pip install -q --pre $$($(PYTHON) scripts/partner_deps_list.py) --overrides vercel_overrides.txt generate-files: mkdir -p $(INTERMEDIATE_DIR) diff --git a/docs/vercel_overrides.txt b/docs/vercel_overrides.txt new file mode 100644 index 0000000000000..79228389fce46 --- /dev/null +++ b/docs/vercel_overrides.txt @@ -0,0 +1 @@ +httpx \ No newline at end of file