Skip to content

Python 3.5, reconfigure Travis #90

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

Merged
merged 3 commits into from
Oct 27, 2015
Merged

Conversation

wholmgren
Copy link
Member

This PR primarily does two things:

  • Allows pvlib to be installed on Python 3.5
  • Reconfigures the TravisCI set up to work around Continuum's crappy scipy/linux/python3 package.

I originally thought that there was an issue with scipy/linux/python3, but it turns out that it's actually a problem with the version of gcc that Continuum uses to build scipy. For more, see ContinuumIO/anaconda-issues#425. The Readme text has been updated accordingly.

The Travis build matrix was getting to be too big and take too long, so this PR only tests the minimum pandas/numpy version on Python 2.7, and the latest versions for Python 2.7, 3.4, and 3.5. I think it is reasonable to say that pvlib is supported on the intermediate versions (Python 3.3, pandas 0.14-0.16) even if we're not explicitly testing for it.

One thing that I'm no longer testing is the numba accelerated SPA code on Python 3. It is still tested on Python 2.7. I'll change it once Continuum gets their SciPy packages fixed. I've already spent way too much time on this PR to hack this together too.

@bmu @Calama-Consulting I will merge this in ~24 hours if nobody objects. I think it's also worth the effort to make a minor release later this week.

Closes #87.

move 3.5 install line in travis build for pure install

reconfigure travis setup to use pip for some things

make pandas versions explicit in req files

add numba to non min builds

remove numba from 3.5 since it is not yet supported

move scipy to setup.py. remove from conda ymls

switch from setup.py to pip install .

add path echo

add ls lib

add atlas

try installing scipy using apt

move np/pd earlier in build

remove scipy as dependency. add scipy testing to travis script. remove cruft.

simplify pip scipy install command

remove numba from py34. update readme
@wholmgren
Copy link
Member Author

I going ahead with this but will revert or fix if there are any future objections.

wholmgren added a commit that referenced this pull request Oct 27, 2015
Python 3.5, reconfigure Travis
@wholmgren wholmgren merged commit 9b2b368 into pvlib:master Oct 27, 2015
@wholmgren wholmgren deleted the python35 branch October 28, 2015 16:04
@wholmgren wholmgren added this to the 0.2.2 milestone Mar 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

test against python 3.5, pandas 0.17
1 participant