From 8863a3a1df3ac0db18d8f16261bfe838149fd284 Mon Sep 17 00:00:00 2001 From: "Krishnakumar R (KK)" <65895020+kk-src@users.noreply.github.com> Date: Thu, 20 Mar 2025 09:45:59 -0700 Subject: [PATCH] docs(contrib): replace poetry shell with env activate for 2.0 (#2381) --- CONTRIBUTING.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c7b7d3a5..3ea08c3c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -28,7 +28,7 @@ First, install Poetry using [the official instructions here](https://python-poet Once Poetry is installed, navigate to the letta directory and install the Letta project with Poetry: ```shell cd letta -poetry shell +eval $(poetry env activate) poetry install --all-extras ``` #### Setup PostgreSQL environment (optional) @@ -60,8 +60,8 @@ alembic upgrade head Now when you want to use `letta`, make sure you first activate the `poetry` environment using poetry shell: ```shell -$ poetry shell -(pyletta-py3.12) $ letta run +$ eval $(poetry env activate) +(letta-py3.12) $ letta run ``` Alternatively, you can use `poetry run` (which will activate the `poetry` environment for the `letta run` command only):