8000 Issues with installing matplotlib on Travis with Python 3 · Issue #1781 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
Issues with installing matplotlib on Travis with Python 3 #1781
Closed
@astrofrog

Description

@astrofrog

At the moment, doing pip install matplotlib will fail on Travis for two reasons:

  • If python-dateutil is not available, a Permission 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 a Permission 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0