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: only show verbose warning for new pandas versions. #158

Merged
merged 2 commits into from
Apr 6, 2018

Conversation

tswast
Copy link
Collaborator

@tswast tswast commented Apr 6, 2018

Closes #157

(Assumes pandas-dev/pandas#20564 will go in before Pandas 0.23.0 release)

/cc @craigcitro

@tswast tswast requested a review from max-sixty April 6, 2018 00:14
pandas_installed_version = pkg_resources.get_distribution(
'pandas').parsed_version
pandas_version_wo_verbosity = pkg_resources.parse_version('0.23.0')
PANDAS_HAS_DEPRECATED_VERBOSITY = (

Choose a reason for hiding this comment

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

F841 local variable 'PANDAS_HAS_DEPRECATED_VERBOSITY' is assigned to but never used

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Just amended the commit to add the global declaration.

@codecov-io
Copy link

codecov-io commented Apr 6, 2018

Codecov Report

Merging #158 into master will decrease coverage by 42.68%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master     #158       +/-   ##
===========================================
- Coverage   79.22%   36.53%   -42.69%     
===========================================
  Files          10       10               
  Lines        1545     1549        +4     
===========================================
- Hits         1224      566      -658     
- Misses        321      983      +662
Impacted Files Coverage Δ
pandas_gbq/gbq.py 32.58% <100%> (-44.29%) ⬇️
pandas_gbq/tests/test_gbq.py 28.08% <0%> (-63.21%) ⬇️
pandas_gbq/_load.py 62.5% <0%> (-32.5%) ⬇️
pandas_gbq/_query.py 84.61% <0%> (-7.7%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9ced97b...31476bb. Read the comment docs.

@tswast tswast merged commit 1fb6c00 into googleapis:master Apr 6, 2018
@max-sixty
Copy link
Contributor

@tswast great tests!

Though did you see the build now fails? Only a mock issue, not functionality

@tswast
Copy link
Collaborator Author

tswast commented Apr 6, 2018

Ah, I missed that. Weird that it's only on Py 3.5. I'll follow-up.

@tswast tswast mentioned this pull request Apr 6, 2018
@tswast
Copy link
Collaborator Author

tswast commented Apr 7, 2018

I couldn't reproduce locally. I think the root issue was a conflict between pip and conda. Fixed in #160.

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.

4 participants