From 65deeddd5dfec5d51f33ebc961f09c2e47a8f064 Mon Sep 17 00:00:00 2001 From: Erick Friis Date: Thu, 21 Nov 2024 21:14:28 -0800 Subject: [PATCH] docs: poetry publish 3 (#28280) --- docs/docs/contributing/how_to/integrations/package.mdx | 7 +++++++ .../contributing/how_to/integrations/standard_tests.ipynb | 1 + 2 files changed, 8 insertions(+) diff --git a/docs/docs/contributing/how_to/integrations/package.mdx b/docs/docs/contributing/how_to/integrations/package.mdx index 99bc217c20ad4..0480ffbd54739 100644 --- a/docs/docs/contributing/how_to/integrations/package.mdx +++ b/docs/docs/contributing/how_to/integrations/package.mdx @@ -55,6 +55,13 @@ Note: Replace `` with the latest version of `langchain-tests` be poetry add --group test pytest pytest-socket langchain-tests== ``` +And finally, have poetry set up a virtual environment with your dependencies, as well +as your integration package: + +```bash +poetry install --with test +``` + You're now ready to start writing your integration package! ## Writing your integration diff --git a/docs/docs/contributing/how_to/integrations/standard_tests.ipynb b/docs/docs/contributing/how_to/integrations/standard_tests.ipynb index 8c1361eb3492e..3f4410516a2b4 100644 --- a/docs/docs/contributing/how_to/integrations/standard_tests.ipynb +++ b/docs/docs/contributing/how_to/integrations/standard_tests.ipynb @@ -38,6 +38,7 @@ "```bash\n", "poetry add langchain-core\n", "poetry add --group test pytest pytest-socket langchain-tests==\n", + "poetry install --with test\n", "```\n", " \n", " \n",