You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scikit_learn seems to be shipping a joblib distribution, which causes the usual overhead and confusion associated with bundling. Gentoo - for instance - has been editing the sources of scikit_learn to remove all imports of scikit_learn's joblib and instead import the system joblib for a long time now, and the software runs and passes tests successfully.
If scikits_learn may need a specific joblib version at some point, that can be more appropriately handled by restricting the dependency via a minimum or maximum version.
As part of brainhack2017 in Zurich I would be happy to help by either (in my order of preference):
removing the shipped joblib and its associated code entirely,
preferentially importing the system joblib, and adding except statements that default to the bundled joblib import,
preferentially importing the bundled joblib, and adding an except statement defaulting to the system joblib. This latter suggestion simply makes it easier to maintain unbundled distributions of scikit_learn - by only having to not install sklearn/externals/joblib.
Could you please let me know what contribution addressing this issue would be best received?
Activity
GaelVaroquaux commentedon Mar 2, 2017
TheChymera commentedon Mar 2, 2017
What advantage does bundling it provide? For the aforementioned reasons it has a number of drawbacks.
jnothman commentedon Mar 3, 2017
rth commentedon Jun 20, 2019
Fixed since v0.21.0.