Skip to content

MAINT: Refactor more compat checks into compat init #311

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 1 commit into from
May 8, 2017
Merged

MAINT: Refactor more compat checks into compat init #311

merged 1 commit into from
May 8, 2017

Conversation

gfyoung
Copy link
Contributor

@gfyoung gfyoung commented May 8, 2017

Title is self-explanatory.

xref #309.

PANDAS_0160 = (PANDAS_VERSION >= LooseVersion('0.16.0'))

if PANDAS_0190:
from pandas.api.types import is_number
Copy link
Contributor

Choose a reason for hiding this comment

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

this should be >= 0.19.0

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You do see how PANDAS_0190 is defined?

@jreback
Copy link
Contributor

jreback commented May 8, 2017

minor change ping when ready

@gfyoung
Copy link
Contributor Author

gfyoung commented May 8, 2017

minor change ping when ready

I already addressed in the diff (see how I defined PANDAS_0190). Should be ready to go as is.

@jreback
Copy link
Contributor

jreback commented May 8, 2017

ahh i c
ok then

@jreback jreback merged commit 246f507 into pydata:master May 8, 2017
@jreback
Copy link
Contributor

jreback commented May 8, 2017

thanks!

ideally can get the tests working (or maybe xfail the ones that are not)

@gfyoung
Copy link
Contributor Author

gfyoung commented May 8, 2017

I think #303 is intending to do that, but I'm not sure whether or not progress will be made yet to actually fix the tests themselves. :/

@gfyoung gfyoung deleted the datareader-compat-expand branch May 8, 2017 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants