Skip to content

[MRG] Enable california_housing pandas test in cron job #16547

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 18 commits into from
Mar 4, 2020

Conversation

VarIr
Copy link
Contributor

@VarIr VarIr commented Feb 25, 2020

Reference Issues/PRs

See also #16348

What does this implement/fix? Explain your changes.

In #16348 tests for network datasets were enabled in the Travis Cron job.
This PR enables an additional test on california_housing, which requires
pandas not to be installed. This is achieved by introducing a mock fixture
that hides available pandas.

Any other comments?

@VarIr
Copy link
Contributor Author

VarIr commented Mar 2, 2020

@thomasjpfan I've created a new PR for mocking pandas as discussed here

@jnothman
Copy link
Member

jnothman commented Mar 2, 2020

Still WIP? A bit convoluted, but in the absence of another solution, lgtm

@VarIr VarIr changed the title [WIP] Enable california_housing pandas test in cron job [MRG] Enable california_housing pandas test in cron job Mar 3, 2020
@VarIr
Copy link
Contributor Author

VarIr commented Mar 3, 2020

True - the only other solution I can see is setting up another environment that downloads the datasets, but w/o pandas. Seems excessive to me.

Copy link
Member

@rth rth left a comment

Choose a reason for hiding this comment

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

Thanks @VarIr !

@rth rth merged commit c3969f4 into scikit-learn:master Mar 4, 2020
@VarIr VarIr deleted the pandas branch March 5, 2020 07:46
@rth
Copy link
Member

rth commented Mar 5, 2020

Sorry something seems to be wrong with commit attribution #16640 (comment)

@VarIr
Copy link
Contributor Author

VarIr commented Mar 5, 2020

On one of my machines I use a user.email that I just recently added to my gh profile, which could confuse gh. May or may not be related..

ashutosh1919 pushed a commit to ashutosh1919/scikit-learn that referenced this pull request Mar 13, 2020
gio8tisu pushed a commit to gio8tisu/scikit-learn that referenced this pull request May 15, 2020
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.

4 participants