Skip to content

Commit eb3e2e6

Browse files
committed
CONTRIBUTING: replace poetry shell
poetry v2 no longer supports `poetry shell` (without a plugin). Replace it with `eval $(poetry env activate)` which works without a plugin.
1 parent c84031b commit eb3e2e6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,10 @@ Then run the following to set up the Python environment:
151151

152152
To activate the environment, run:
153153

154-
poetry shell
154+
eval $(poetry env activate)
155155

156156
The command prompt will now start with `(.venv)` to remind you that you are
157-
working in the virtual environment. You should run `poetry shell` any time you
157+
working in the virtual environment. You should run `eval $(poetry env activate)` any time you
158158
open a new terminal window while working on `pybricks-micropython`.
159159

160160

@@ -299,7 +299,7 @@ Build and deploy firmware
299299

300300
Pick your Hub from the `bricks` sub-directory you want to compile.
301301

302-
poetry shell
302+
eval $(poetry env activate)
303303
make mpy-cross -j8
304304
make -C bricks/primehub -j8
305305

0 commit comments

Comments
 (0)