sorry for coming late to the party. yes -- I have not "externalized" anything (liblinear/libsvm) besides joblib. The branch which tracks main releases of scikit-learn is https://github.com/yarikoptic/scikit-learn/tree/releases and from it https://github.com/yarikoptic/scikit-learn/tree/dfsg provides the one with joblib removed. Then debian branch stays on top of dfsg providing debian/ packaging directory.
For joblib -- you might like to adopt the patch I apply to use external joblib library: https://github.com/yarikoptic/scikit-learn/blob/debian/debian/patches/deb_use_system_joblib reasons were stated already why liblinear/libsvm were not externalized... libsvm was at some point https://github.com/yarikoptic/scikit-learn/blob/debian/debian/patches/deb_use_system_libraries but no longer for those reasons + that I am building sklearn across all compatible Debian (and Ubuntu) releases: http://neuro.debian.net/pkgs/python-sklearn.html moreover with recent changes I am rebuilding bundled Cython generated files if system provided cython is new enough: https://github.com/yarikoptic/scikit-learn/blob/debian/debian/rules#L14 done this way (without removing shipped cythonized files) once again to ease building on older debian/ubuntu releases using provided pre-cythonized files. testing: from the above rules you can see my excercising unittests at package build time -- if possible I would advise to do the same for RH package do not remember what hardware architectures RH/fedora support, but might be of use: I have deployed unittesting of sklearn on sparc I have available: http://nipy.bic.berkeley.edu/waterfall?category=sklearn hope this all would be of some help. Cheers, On Thu, 22 Aug 2013, Olivier Grisel wrote: > 2013/8/22 Vlad Niculae <zephy...@gmail.com>: > > Like Olivier said, libsvm and liblinear are heavily patched and scikit-learn > > wouldn't work with the upstream versions. > > If bundling them is unacceptable, I guess maybe packaging our forks > > individually as libsvm-sklearn or something similar would be a solution, but > > I think it would be confusing. Also I am completely unaware of the > > constraints and of what Yaroslav is doing for Debian; by looking at his > > branch it looks like the libs are there. > The joblib package is externalized. The patched c++ libraries libsvm > and liblinear stay bundled in the debian package. > Fedora / RH should probably follow the same approach. Make sure that > the joblib version match though. -- Yaroslav O. Halchenko, Ph.D. http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org Senior Research Associate, Psychological and Brain Sciences Dept. Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755 Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419 WWW: http://www.linkedin.com/in/yarik ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Scikit-learn-general mailing list Scikit-learn-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/scikit-learn-general