@@ -1406,10 +1406,10 @@ git clone --recursive https://github.com/temporalio/sdk-python.git
14061406cd sdk-python
14071407```
14081408
1409- Install the dependencies ( ` --no-install-project ` because we will build it in the next step) :
1409+ Install the dependencies:
14101410
14111411``` bash
1412- uv sync --no-install-project -- all-extras
1412+ uv sync --all-extras
14131413```
14141414
14151415#### Build
@@ -1420,7 +1420,7 @@ Now perform the release build:
14201420 environment] ( #local-sdk-development-environment ) for the quicker approach to local development).
14211421
14221422``` bash
1423- poetry build
1423+ uv build # TODO: is this identical to maturin build?
14241424```
14251425
14261426The compiled wheel doesn't have the exact right tags yet for use, so run this script to fix it:
@@ -1493,7 +1493,7 @@ installing dependencies:
14931493``` bash
14941494git clone --recursive https://github.com/temporalio/sdk-python.git
14951495cd sdk-python
1496- uv sync --no-install-project -- all-extras
1496+ uv sync --all-extras
14971497```
14981498
14991499Now compile the Rust extension in develop mode which is quicker than release mode:
@@ -1526,12 +1526,12 @@ poe test -s --log-cli-level=DEBUG -k test_sync_activity_thread_cancel_caught
15261526#### Proto Generation and Testing
15271527
15281528To allow for backwards compatibility, protobuf code is generated on the 3.x series of the protobuf library. To generate
1529- protobuf code, you must be on Python <= 3.10, and then run ` uv add "protobuf<4" ` +
1530- ` uv sync --no-install-project --all-extras ` . Then the protobuf files can be generated via ` poe gen-protos ` . Tests can be run
1531- for protobuf version 3 by setting the ` TEMPORAL_TEST_PROTO3 ` env var to ` 1 ` prior to running tests.
1529+ protobuf code, you must be on Python <= 3.10, and then run ` uv add "protobuf<4" ` + ` uv sync --all-extras ` . Then the
1530+ protobuf files can be generated via ` poe gen-protos ` . Tests can be run for protobuf version 3 by setting the
1531+ ` TEMPORAL_TEST_PROTO3 ` env var to ` 1 ` prior to running tests.
15321532
1533- Do not commit ` uv.lock ` or ` pyproject.toml ` changes. To go back from this downgrade, restore both of those files
1534- and run ` uv sync --no-install-project --all-extras ` . Make sure you ` poe format ` the results.
1533+ Do not commit ` uv.lock ` or ` pyproject.toml ` changes. To go back from this downgrade, restore both of those files and run
1534+ ` uv sync --all-extras ` . Make sure you ` poe format ` the results.
15351535
15361536For a less system-intrusive approach, you can:
15371537``` shell
0 commit comments