chore: update protobuf (#1868)

* update protobuf

* fix: mypy

* chore: ver

---------

Co-authored-by: mrkaye97 <mrkaye97@gmail.com>
This commit is contained in:
Gabe Ruttner
2025-06-17 08:33:35 -07:00
committed by GitHub
parent ab9c1a0ba1
commit bd40740420
4 changed files with 1121 additions and 1178 deletions

View File

@@ -5,6 +5,12 @@ All notable changes to Hatchet's Python SDK will be documented in this changelog
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.12.2] - 2025-06-17
### Changed
- Fixes a security vulnerability by bumping the `protobuf` library
## [1.12.1] - 2025-06-13
### Added

View File

@@ -122,7 +122,7 @@ class Task(Generic[TWorkflowInput, R]):
else:
fn = cast(Callable[[TWorkflowInput, Context], R], self.fn)
if is_sync_fn(fn):
return fn(workflow_input, cast(Context, ctx))
return fn(workflow_input, ctx)
raise TypeError(f"{self.name} is not a sync function. Use `acall` instead.")

2287
sdks/python/poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
[tool.poetry]
name = "hatchet-sdk"
version = "1.12.1"
version = "1.12.2"
description = ""
authors = ["Alexander Belanger <alexander@hatchet.run>"]
readme = "README.md"
@@ -17,7 +17,7 @@ grpcio-tools = [
{ version = ">=1.64.1, !=1.68.*", markers = "python_version < '3.13'" },
{ version = ">=1.69.0", markers = "python_version >= '3.13'" },
]
protobuf = "^5.29.1"
protobuf = "^5.29.5"
pydantic = "^2.6.3"
python-dateutil = "^2.9.0.post0"
urllib3 = ">=1.26.20"