From 8b9dc5e6d32c12e14ce059bafb2da91037dbb3ed Mon Sep 17 00:00:00 2001 From: Erick Friis Date: Tue, 28 Nov 2023 14:38:11 -0800 Subject: [PATCH] langchain[patch]: contributing test guide update (#13993) --- .github/CONTRIBUTING.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 132deb5a1..ade134fe6 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -214,6 +214,10 @@ ignore-words-list = 'momento,collison,ned,foor,reworkd,parth,whats,aapply,mysogy Langchain relies heavily on optional dependencies to keep the Langchain package lightweight. +You only need to add a new dependency if a **unit test** relies on the package. +If your package is only required for **integration tests**, then you can skip these +steps and leave all pyproject.toml and poetry.lock files alone. + If you're adding a new dependency to Langchain, assume that it will be an optional dependency, and that most users won't have it installed.