Skip to content

MAINT Remove imports from sklearn.utils._joblib #13676

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 4 commits into from
Jun 18, 2019

Conversation

rth
Copy link
Member

@rth rth commented Apr 19, 2019

Follow up on #13531 removing imports from sklearn.utils._joblib in favor of using joblib directly.

TODO:

  • check if sklearn.utils._joblib can be removed altogether (can be done in a subsequent PR)
  • deprecated all remaining joblib aliases in sklearn.utils (can be done in another PR)

@rth rth changed the title WIP Remove sklearn.utils._joblib MAINT Remove imports from sklearn.utils._joblib Jun 13, 2019
@rth
Copy link
Member Author

rth commented Jun 14, 2019

This can be reviewed. The codecov patch failure is probably not relevant.

Copy link
Member

@glemaitre glemaitre left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@adrinjalali adrinjalali left a comment

Choose a reason for hiding this comment

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

But we should make sure that we have an old joblib in the CI if we're going to support them (the codecov complains about those lines not being tested).

@adrinjalali adrinjalali merged commit 1015caf into scikit-learn:master Jun 18, 2019
@rth rth deleted the rm-joblib-alias branch June 18, 2019 14:46
koenvandevelde pushed a commit to koenvandevelde/scikit-learn that referenced this pull request Jul 12, 2019
* Remove sklearn.utils._joblib imports

* Lint

* More fixes
MariaEriksson added a commit to MariaEriksson/scona that referenced this pull request Dec 14, 2020
An earlier scikit-learn version was specified to take into account the fact that sklearn.utils._joblib has been removed from more recent versions.

https://stackoverflow.com/questions/54965751/modulenotfounderror-no-module-named-sklearn-utils-joblib
scikit-learn/scikit-learn#13676
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.

3 participants