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

Fix warnings in Pandas extra #2038

Merged
merged 1 commit into from Jul 7, 2019
Merged

Conversation

Zac-HD
Copy link
Member

@Zac-HD Zac-HD commented Jul 7, 2019

The collections module will remove the top-level aliases for the classes that now belong in collections.abc.

We have a redirect in compat.py, and this PR simply uses it from our Pandas extra.

I also investigated enabling -Werror for the Pandas extra, but was quickly foiled by the volume of warnings about Numpy/Pandas/Cython versions and deprecation pathways etc. It's certainly possible to make this work, but not across every version of Pandas we test against!

@Zac-HD Zac-HD added the legibility make errors helpful and Hypothesis grokable label Jul 7, 2019
@Zac-HD Zac-HD merged commit 7a23890 into HypothesisWorks:master Jul 7, 2019
@Zac-HD Zac-HD deleted the abc-warning branch July 7, 2019 20:04
@Zac-HD
Copy link
Member Author

Zac-HD commented Jul 7, 2019

🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
legibility make errors helpful and Hypothesis grokable
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants