Skip to content

Commit

Permalink
docs: poetry publish 3 (#28280)
Browse files Browse the repository at this point in the history
  • Loading branch information
efriis authored Nov 22, 2024
1 parent 29f8a79 commit 65deedd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/docs/contributing/how_to/integrations/package.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,13 @@ Note: Replace `<latest_version>` with the latest version of `langchain-tests` be
poetry add --group test pytest pytest-socket langchain-tests==<latest_version>
```

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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"```bash\n",
"poetry add langchain-core\n",
"poetry add --group test pytest pytest-socket langchain-tests==<latest_version>\n",
"poetry install --with test\n",
"```\n",
" </TabItem>\n",
" <TabItem value=\"pip\" label=\"Pip\">\n",
Expand Down

0 comments on commit 65deedd

Please sign in to comment.