Description
At the moment, doing pip install matplotlib
will fail on Travis for two reasons:
-
If
python-dateutil
is not available, aPermission Denied
error will be raised when Matplotlib tries to install it:https://api.travis-ci.org/jobs/5006942/log.txt?deansi=true
This can be 'fixed' by pre-installing python-dateutil (and I think the same would happen for pytz, so I pre-emptively installed it too). So maybe this isn't really a bug, just a limitation of installing packages from another package.
-
The use of
multiprocessing
for running 2to3 will also raise aPermission Denied
, though I'm not too sure why:https://api.travis-ci.org/jobs/5006942/log.txt?deansi=true
However, fixing the setup.py file so that 2to3 is just run sequentially without resorting to
multiprocessing
and then serving the patched file to Travis seems to do the trick.
So maybe Travis has some limitations on the number of processes that can be run?
Either way, it seems to me it might be good to make matplotlib Travis-proof and if the multiprocessing doesn't work for 2to3, maybe it should resort to running them sequentially?