Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

travis installation may timeout due to scipy #22

Closed
johnyf opened this issue Jan 3, 2016 · 2 comments
Closed

travis installation may timeout due to scipy #22

johnyf opened this issue Jan 3, 2016 · 2 comments
Assignees
Labels
enhancement A new feature, an improvement, or other addition.

Comments

@johnyf
Copy link
Member

johnyf commented Jan 3, 2016

For example, a Travis build can take 10 min.
Support for a pre-installed scipy is discussed in travis-ci #2650. This issue is a note that slow builds are normal, and a reminder to install numpy and scipy with apt and use system-wide site packages, until Travis offers a pre-installed scipy.

@johnyf johnyf added the enhancement A new feature, an improvement, or other addition. label Jan 3, 2016
@slivingston
Copy link
Member

This is relevant to a comment on tulip-control/tulip-control#131

@johnyf johnyf self-assigned this Apr 11, 2016
@johnyf
Copy link
Member Author

johnyf commented Apr 11, 2016

I tried using system site packages and installing python-scipy, in addition to python-numpy. Whereas this delivers numpy == 1.6.1 (numpy >= 1.6 required in install_requires, as of 4b3d1c3), it gets only scipy == 0.9.0 (scipy >= 0.16 required).

The scipy >= 0.16 requirement (introduced in bd1b30c) cannot be relaxed to 0.9.0 (2011), because scipy.optimize.linprog appears to have been introduced later (2013).
So, pip install scipy cannot be avoided.

I used travis_wait 30 pip install scipy (minutes) to address the timeout in 74f1a8c.

In the future, a descent solution would be to build a Linux wheel (only OS X wheels are available for scipy on PyPI), and place it somewhere convenient, so that we pip install that on Travis.

@johnyf johnyf closed this as completed Apr 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A new feature, an improvement, or other addition.
Projects
None yet
Development

No branches or pull requests

2 participants