[pymvpa] PyMVPA for Python 3

Michael Hanke mih at debian.org
Wed Apr 18 11:49:33 UTC 2012


On Wed, Apr 18, 2012 at 01:22:54PM +0200, Tiziano Zito wrote:
> dear PyVMPA devs,
> as I accumulated a bit of experience in migrating projects from py2 to py3, 
> I thought I could try to help doing this migration for PyMVPA too. 
> I know it may seem premature, but now that numpy and (hopefully)
> scipy and matplotlib will be available for py3 on at least on the
> next releases of debian and ubuntu, I think there is some hope for
> py3 in science. 

Awesome! Thanks a lot.

> I am branching from master on github as of now (f0d900f1a1c715379dd716e3d4c87876b321ba9e).
> I have two problems running the unittests. I am assuming that the
> proper way of running the tests is simply running 'nosetests' in the
> git checkout.

Take a look at the Makefile targets. For a start I'd say you should run:

MVPA_TESTS_QUICK=yes MVPA_TESTS_LOWMEM=yes make unittest-nonlabile

That will run a good chunk of the in a reasonable amount of time.

> - I got three failures and one error: are they expected? is this a
>   problem with my installation?

Some look weired, but better run again with the above command. We have
some tests that arn't supposed to be 100% deterministic. The above
command will exclude those.

> - how can I disable the matplotlib windows that pop up shortly
>   during testing? as there is still no python3-matplotlib I would
>   need to disable it for the moment

If you use the above that won't be an issue.

Let us know if that helps for a start.

Thanks again!


Michael Hanke

More information about the Pkg-ExpPsy-PyMVPA mailing list