File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 9797 TEMPORAL_TEST_PROTO3 : 1
9898 run : |
9999 uv add --python 3.9 "protobuf<4"
100- uv sync --all-extras
100+ uv sync --all-extras --python 3.9
101101 poe build-develop
102102 poe gen-protos
103103 poe format
Original file line number Diff line number Diff line change @@ -1544,7 +1544,7 @@ poe test -s --log-cli-level=DEBUG -k test_sync_activity_thread_cancel_caught
15441544#### Proto Generation and Testing
15451545
15461546To allow for backwards compatibility, protobuf code is generated on the 3.x series of the protobuf library. To generate
1547- protobuf code, you must be on Python <= 3.10, and then run ` uv add "protobuf<4" ` + ` uv sync --all-extras ` . Then the
1547+ protobuf code, run ` uv add "protobuf<4" --python 3.10 ` + ` uv sync --all-extras --python 3.10 ` . Then the
15481548protobuf files can be generated via ` poe gen-protos ` . Tests can be run for protobuf version 3 by setting the
15491549` TEMPORAL_TEST_PROTO3 ` env var to ` 1 ` prior to running tests.
15501550
You can’t perform that action at this time.
0 commit comments