Skip to content

Commit d374667

Browse files
committed
fix: relax dataclasses-json upper bound from <0.5.12 to <0.6.0
The <0.5.12 cap was added when 0.5.12 dropped the marshmallow-enum transitive dependency. Since flytekit now declares marshmallow-enum as a direct dependency, 0.5.12–0.5.14 are safe. The <0.6.0 cap remains because 0.6.0 removes marshmallow-enum support entirely in favor of native Enum, which breaks type_engine.py. Ref: flyteorg/flyte#3873 Signed-off-by: Hongxin Liang <honnix@users.noreply.github.com>
1 parent d69b3fb commit d374667

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dependencies = [
1717
"click>=6.6",
1818
"cloudpickle>=2.0.0",
1919
"croniter>=0.3.20",
20-
"dataclasses-json>=0.5.2,<0.5.12", # TODO: remove upper-bound after fixing change in contract
20+
"dataclasses-json>=0.5.2,<0.6.0", # 0.6.0 drops marshmallow-enum for native Enum, breaking type_engine.py
2121
"diskcache>=5.2.1",
2222
"docker>=4.0.0",
2323
"docstring-parser>=0.9.0",

uv.lock

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

0 commit comments

Comments
 (0)