-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
don't set check_pickle on new joblib on python2.7 #12645
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
don't set check_pickle on new joblib on python2.7 #12645
Conversation
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.
LGTM, merging.
delayed_query = delayed(_tree_query_parallel_helper, | ||
check_pickle=False) | ||
check_pickle=check_pickle) |
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.
I am not sure why we have a different behavior with python2.7
here.
Shouldn't is be only dependent on the version of joblib
?
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.
You introduced this in #12172 because in 2.7 balltree is not picklable (according to your issue description)
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.
I did not realize I was to blame for this. Yes indeed it is needed.
Sorry for the noise.
Fixes #12643.
too late/cold here for a non-regression test, also not sure if we test that combination anywhere.