Skip to content

Commit d3d35ab

Browse files
HyukjinKwondongjoon-hyun
authored andcommitted
[SPARK-46080][PYTHON] Upgrade Cloudpickle to 3.0.0
### What changes were proposed in this pull request? This PR proposes to upgrade Cloudpickle from 2.2.1 to 3.0.0. ### Why are the changes needed? It includes official support of Python 3.12 (cloudpipe/cloudpickle#517) ### Does this PR introduce _any_ user-facing change? It includes official support of Python 3.12 (cloudpipe/cloudpickle#517) ### How was this patch tested? Relies on cloudpickle's unittests. Existing test cases should pass too. Closes #43989 from HyukjinKwon/SPARK-46080. Authored-by: Hyukjin Kwon <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent 4be5e21 commit d3d35ab

File tree

3 files changed

+988
-1270
lines changed

3 files changed

+988
-1270
lines changed
Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
1+
from pyspark.cloudpickle import cloudpickle # noqa
12
from pyspark.cloudpickle.cloudpickle import * # noqa
2-
from pyspark.cloudpickle.cloudpickle_fast import CloudPickler, dumps, dump # noqa
33

4-
# Conform to the convention used by python serialization libraries, which
5-
# expose their Pickler subclass at top-level under the "Pickler" name.
6-
Pickler = CloudPickler
4+
__doc__ = cloudpickle.__doc__
75

8-
__version__ = '2.2.1'
6+
__version__ = "3.0.0"
7+
8+
__all__ = [ # noqa
9+
"__version__",
10+
"Pickler",
11+
"CloudPickler",
12+
"dumps",
13+
"loads",
14+
"dump",
15+
"load",
16+
"register_pickle_by_value",
17+
"unregister_pickle_by_value",
18+
]

0 commit comments

Comments
 (0)