-
Notifications
You must be signed in to change notification settings - Fork 155
💥 Use Temporal Failures for Nexus Error Serialization #1336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,7 +9,7 @@ license = "MIT" | |
| license-files = ["LICENSE"] | ||
| keywords = ["temporal", "workflow"] | ||
| dependencies = [ | ||
| "nexus-rpc==1.3.0", | ||
| "nexus-rpc", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
This change removes the explicit Useful? React with 👍 / 👎. |
||
| "protobuf>=3.20,<7.0.0", | ||
| "python-dateutil>=2.8.2,<3 ; python_version < '3.11'", | ||
| "types-protobuf>=3.20", | ||
|
|
@@ -230,3 +230,6 @@ exclude = ["temporalio/bridge/target/**/*"] | |
| [tool.uv] | ||
| # Prevent uv commands from building the package by default | ||
| package = false | ||
|
|
||
| [tool.uv.sources] | ||
| nexus-rpc = { git = "https://github.com/nexus-rpc/sdk-python.git", branch = "amazzeo/add-failure" } | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unpinned dependency and development git source for nexus-rpc
High Severity
The
nexus-rpcdependency was changed from==1.3.0to a bare"nexus-rpc"with no version constraint, and a[tool.uv.sources]git override pointing to a feature branch (amazzeo/add-failure) was added. The git source only applies touv-based installs; pip users installing the published package would resolvenexus-rpcfrom PyPI with no version floor, potentially getting an old version that lacks the new failure serialization APIs. Every other dependency in the list has version bounds. The version constraint needs to be restored with appropriate bounds, and the[tool.uv.sources]development override needs to be removed before merge.Additional Locations (1)
pyproject.toml#L233-L235