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

BUG In Travis, restrict pandas version downloaded #249

Merged

Conversation

stephen-hoover
Copy link

@stephen-hoover stephen-hoover commented Apr 16, 2018

Pandas dropped Python 3.4 support with v0.21, and our Python 3.4 tests have recently begun failing when they attempt to install the newest version. Our Travis tests were installing all of the optional packages in a separate line; move those to the dev-requirements file so that we can control which version is installed where. See also pandas-dev/pandas#20697 .

Pandas dropped Python 3.4 support with v0.21, and our Python 3.4 tests have recently begun failing when they attempt to install the newest version. Our Travis tests were installing all of the optional packages in a separate line; move those to their own requirements file so that we can control which version is intalled where. See also pandas-dev/pandas#20697 .
pandas<0.21; python_version == '3.4'
pandas<=0.23; python_version == '2.7'
scikit-learn
scipy
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not add these to dev-requirements.txt?

Copy link
Contributor

@keithing keithing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching this. My only question is whether we want a separate full-testing-requirements.txt file.

@keithing keithing assigned stephen-hoover and unassigned keithing Apr 17, 2018
@stephen-hoover
Copy link
Author

The separate file did seem strange, but I couldn't remember why we didn't put those extra requirements in dev-requirements to begin with. I moved them.

Copy link
Contributor

@keithing keithing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🐼

@stephen-hoover stephen-hoover merged commit 1218839 into civisanalytics:master Apr 17, 2018
@stephen-hoover stephen-hoover deleted the fix-travis-dependencies branch April 17, 2018 21:23
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.

2 participants