-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-33983][PYTHON] Update cloudpickle to v1.6.0 #31007
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
Conversation
|
|
||
| # Declaring a function inside another one using the "def ..." | ||
| # syntax generates a constant code object corresponding to the one | ||
| # syntax generates a constant code object corresonding to the one |
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.
typo?
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.
Its a copy from cloudpickle. I think I would just keep it as is.
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.
cloudpipe/cloudpickle#406. Let's fix it back when we upgrade next time.
|
|
||
| # Track the provenance of reconstructed dynamic classes to make it possible to | ||
| # reconstruct instances from the matching singleton class definition when | ||
| # recontruct instances from the matching singleton class definition when |
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.
typo?
MaxGekk
left a comment
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.
Could you re-check all changes in comments.
dongjoon-hyun
left a comment
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.
+1, LGTM. I also agree with @HyukjinKwon . We had better fix the upstream and keep our fork as a plain copy.
Historically, 13fd272 fixed the typos here. I'm okay to lose the typo corrections.
Thank you, @HyukjinKwon and @MaxGekk . Merged to master for Apache Spark 3.2.0.
|
Thanks @MaxGekk and @dongjoon-hyun ! |
What changes were proposed in this pull request?
This PR proposes to upgrade cloudpickle from 1.5.0 to 1.6.0.
It virtually contains one fix:
cloudpipe/cloudpickle@4510be8
From a cursory look, this isn't a regression, and not even properly supported in Python:
So it seems fine not to backport.
Why are the changes needed?
To leverage bug fixes from the cloudpickle upstream.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Jenkins build and GitHub actions build will test it out.