Skip to content

Commit 2ce6d9f

Browse files
authored
Update Rust dependencies (#281)
1 parent 7a2d703 commit 2ce6d9f

File tree

6 files changed

+40
-26
lines changed

6 files changed

+40
-26
lines changed

poetry.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ pydoctor = { git = "https://github.com/cretz/pydoctor.git", branch = "overloads"
5757
pytest = "^7.1.2"
5858
pytest-asyncio = "^0.18.3"
5959
pytest-timeout = "^2.1.0"
60-
setuptools = "^65.0.0"
61-
setuptools-rust = "^1.3.0"
60+
setuptools = ">=65.0.0"
61+
setuptools-rust = ">=1.3.0"
6262
toml = "^0.10.2"
6363
twine = "^4.0.1"
6464

temporalio/bridge/Cargo.lock

Lines changed: 22 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

temporalio/bridge/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ once_cell = "1.16.0"
1313
parking_lot = "0.12"
1414
prost = "0.11"
1515
prost-types = "0.11"
16-
pyo3 = { version = "0.16", features = ["extension-module", "abi3-py37"] }
17-
pyo3-asyncio = { version = "0.16", features = ["tokio-runtime"] }
16+
pyo3 = { version = "0.18", features = ["extension-module", "abi3-py37"] }
17+
pyo3-asyncio = { version = "0.18", features = ["tokio-runtime"] }
1818
temporal-client = { version = "0.1.0", path = "./sdk-core/client" }
1919
temporal-sdk-core = { version = "0.1.0", path = "./sdk-core/core" }
2020
temporal-sdk-core-api = { version = "0.1.0", path = "./sdk-core/core-api" }

temporalio/worker/workflow_sandbox/_restrictions.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,10 @@ def with_child_unrestricted(self, *child_path: str) -> SandboxMatcher:
345345
"google.protobuf",
346346
"temporalio.api",
347347
"temporalio.bridge.proto",
348+
# Must pass through the entire bridge in even the most minimum causes
349+
# because PyO3 does not allow re-init since 0.17. See
350+
# https://github.com/PyO3/pyo3/pull/2523.
351+
"temporalio.bridge.temporal_sdk_bridge",
348352
}
349353

350354
SandboxRestrictions.passthrough_modules_with_temporal = SandboxRestrictions.passthrough_modules_minimum | {

tests/worker/test_activity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ async def wait_cancel() -> str:
250250
wait_cancel,
251251
cancel_after_ms=100,
252252
wait_for_cancellation=True,
253-
heartbeat_timeout_ms=1000,
253+
heartbeat_timeout_ms=2000,
254254
)
255255
assert result.result == "Got cancelled error, cancelled? True"
256256

0 commit comments

Comments
 (0)