Skip to content

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

Merged
merged 1 commit into from
Nov 22, 2018

Conversation

amueller
Copy link
Member

Fixes #12643.

too late/cold here for a non-regression test, also not sure if we test that combination anywhere.

Copy link
Member

@ogrisel ogrisel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, merging.

@ogrisel ogrisel merged commit 8307b52 into scikit-learn:master Nov 22, 2018
delayed_query = delayed(_tree_query_parallel_helper,
check_pickle=False)
check_pickle=check_pickle)
Copy link
Contributor

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?

Copy link
Member Author

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)

Copy link
Contributor

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.

amueller added a commit to amueller/scikit-learn that referenced this pull request Dec 14, 2018
amueller added a commit to amueller/scikit-learn that referenced this pull request Dec 17, 2018
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
koenvandevelde pushed a commit to koenvandevelde/scikit-learn that referenced this pull request Jul 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants