Skip to content

Commit 87a747c

Browse files
committed
Specify python version with uv sync
1 parent 5537499 commit 87a747c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
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

README.md

+1-1
Original file line numberDiff line numberDiff 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

15461546
To 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
15481548
protobuf 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

0 commit comments

Comments
 (0)