File tree 3 files changed +4
-6
lines changed 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 83
83
TEMPORAL_TEST_PROTO3 : 1
84
84
run : |
85
85
poetry add --python 3.9 "protobuf<4"
86
+ poetry install --no-root --all-extras
86
87
poe gen-protos
87
88
poe format
88
89
[[ -z $(git status --porcelain temporalio) ]] || (git diff temporalio; echo "Protos changed"; exit 1)
Original file line number Diff line number Diff line change @@ -1512,9 +1512,9 @@ poe test -s --log-cli-level=DEBUG -k test_sync_activity_thread_cancel_caught
1512
1512
#### Proto Generation and Testing
1513
1513
1514
1514
To allow for backwards compatibility, protobuf code is generated on the 3.x series of the protobuf library. To generate
1515
- protobuf code, you must be on Python <= 3.10, and then run ` poetry add "protobuf<4" ` . Then the protobuf files can be
1516
- generated via ` poe gen-protos ` . Tests can be run for protobuf version 3 by setting the ` TEMPORAL_TEST_PROTO3 ` env var
1517
- to ` 1 ` prior to running tests.
1515
+ protobuf code, you must be on Python <= 3.10, and then run ` poetry add "protobuf<4" ` +
1516
+ ` poetry install --no-root --all-extras ` . Then the protobuf files can be generated via ` poe gen-protos ` . Tests can be run
1517
+ for protobuf version 3 by setting the ` TEMPORAL_TEST_PROTO3 ` env var to ` 1 ` prior to running tests.
1518
1518
1519
1519
Do not commit ` poetry.lock ` or ` pyproject.toml ` changes. To go back from this downgrade, restore both of those files
1520
1520
and run ` poetry install --no-root --all-extras ` . Make sure you ` poe format ` the results.
Original file line number Diff line number Diff line change @@ -131,9 +131,6 @@ before-all = "curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain stab
131
131
before-build = " pip install protoc-wheel-0"
132
132
environment = { PATH = " $PATH:$HOME/.cargo/bin" , CARGO_NET_GIT_FETCH_WITH_CLI = " true" }
133
133
134
- [tool .cibuildwheel .macos ]
135
- environment = { MACOSX_DEPLOYMENT_TARGET = " 10.12" }
136
-
137
134
[tool .mypy ]
138
135
ignore_missing_imports = true
139
136
exclude = [
You can’t perform that action at this time.
0 commit comments