Repository navigation
Commit 139704f
authored
fix: Allow dill 0.4 so UDF serialization works on Python 3.14 (#6858)
* fix: Allow dill 0.4 so UDF serialization works on Python 3.14
dill~=0.3.0 keeps Python 3.14 users on dill 0.3.9, which does not
support 3.14's changes to pickle. Serializing a UDF with
dill.dumps(udf, recurse=True), as Transformation.to_proto() and
StreamFeatureView.to_proto() do, fails with "TypeError:
_Pickler._batch_setitems() missing 1 required positional argument:
'obj'" whenever the UDF refers to a module-level global such as pd, so
on-demand feature views cannot be applied on 3.14.
dill added Python 3.14 support in 0.4.0 and made it formal in 0.4.1.
Allow it. The lock files still resolve dill 0.3.9 for 3.10-3.12, and
pixi.lock only records the new requirement (from `pixi lock`).
Signed-off-by: Yihang Chen <[email protected]>
* chore: Regenerate Python requirement locks for dill 0.4
Signed-off-by: Yihang Chen <[email protected]>
---------
Signed-off-by: Yihang Chen <[email protected]>1 parent aade694 commit 139704f
17 files changed
Lines changed: 31613 additions & 26735 deletions
File tree
- sdk/python/requirements
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
0 commit comments