2013/2/11 Lars Buitinck <[email protected]>: > 2013/2/10 Olivier Grisel <[email protected]>: >> I see that setup.py still does 2to3 translation in the build folder in >> that branch. Have you tried to get rid of it? > > I didn't even try running it under Py3 yet. The problem is that > mock_urllib2 is replaced by something called UrlopenMock (for obvious > reasons), and I didn't see how to adapt the test fixture to use that.
Alright. FYI, I tried to remove the lib2to3 in setup.py and the build is fine under python 3. There are still many test errors (many izip and xrange that should be dealt with from sklearn.externals.six.moves import zip / range). But I am also having a hard time compiling a version of scipy that builds against a matching version of numpy under python 3 for some reason. I did not have that problem last time I tried so I might have an issue with my python 3 install... -- Olivier http://twitter.com/ogrisel - http://github.com/ogrisel ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
