@@ -228,7 +228,7 @@ integrated rpc client that we can use to fund the `l2` node with
228228!!! tip "Tip: Use your IDEs autocompletion"
229229 If you want to use the __ autocompletion__ features of your IDE you
230230 need to select the python interpreter form the environment set by
231- poetry in ` libs/gl-testing ` . You can then import the classes from
231+ uv in ` libs/gl-testing ` . You can then import the classes from
232232 the fixtures and annotate the fixtures with its types.
233233 e.g.
234234 ``` { .python .no-copy }
@@ -661,17 +661,21 @@ the necessary dependencies for the
661661example.
662662
663663``` bash
664- poetry shell
664+ uv venv
665665```
666666
667667``` bash
668- poetry install
668+ source .venv/bin/activate
669669```
670670
671- The first command drops us into a [ ` poetry ` ] [ poetry ] -shell, the second
671+ ``` bash
672+ uv sync
673+ ```
674+
675+ The first command creates a virtual environment, the second activates it, and the third
672676installs the necessary dependencies from the ` pyproject.toml ` file.
673677
674- With the REPL setup in the docker-shell and from the poetry-shell on
678+ With the REPL setup in the docker-shell and from the virtual environment on
675679the host we can now run our test application.
676680
677681``` bash
@@ -724,6 +728,5 @@ trigger a shutdown.
724728[ gl-testing-diff ] : https://github.com/Blockstream/greenlight/tree/main/libs/gl-testing#differences-between-greenlight-and-gl-testing
725729[ stickers ] : https://store.blockstream.com/product/sticker-bundle/
726730[ repl ] : https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop
727- [ poetry ] : https://python-poetry.org
728731[ grpc ] : https://grpc.io/
729732[ protoc ] : https://grpc.io/docs/protoc-installation/
0 commit comments