Skip to content

DOC: ignore Panel deprecation warnings during doc build #19663

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

Conversation

jorisvandenbossche
Copy link
Member

The doc build log is currently full of Panel deprecation warnings. To avoid having to put :okwarning: on all code-blocks that use Panel, I put a general filterwarnings for this warning in the conf.py file which hopefully works (alternative would be to put this inside the .rst file itself at the top in a suppressed ipython code block)

@jorisvandenbossche jorisvandenbossche added this to the 0.23.0 milestone Feb 12, 2018
@codecov
Copy link

codecov bot commented Feb 12, 2018

Codecov Report

Merging #19663 into master will decrease coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #19663      +/-   ##
==========================================
- Coverage   91.58%   91.58%   -0.01%     
==========================================
  Files         150      150              
  Lines       48806    48864      +58     
==========================================
+ Hits        44701    44750      +49     
- Misses       4105     4114       +9
Flag Coverage Δ
#multiple 89.95% <ø> (-0.01%) ⬇️
#single 41.75% <ø> (+0.02%) ⬆️
Impacted Files Coverage Δ
pandas/io/s3.py 72.72% <0%> (-13.64%) ⬇️
pandas/io/packers.py 87.31% <0%> (-1.34%) ⬇️
pandas/core/arrays/base.py 60% <0%> (-0.61%) ⬇️
pandas/io/json/json.py 92.23% <0%> (-0.37%) ⬇️
pandas/io/common.py 68.77% <0%> (-0.3%) ⬇️
pandas/io/parquet.py 71.79% <0%> (-0.28%) ⬇️
pandas/io/parsers.py 95.32% <0%> (-0.25%) ⬇️
pandas/core/series.py 94.56% <0%> (-0.05%) ⬇️
pandas/core/frame.py 97.16% <0%> (-0.02%) ⬇️
pandas/core/indexes/multi.py 95.06% <0%> (-0.01%) ⬇️
... and 10 more

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 569bc7a...8fd34e8. Read the comment docs.

@TomAugspurger
Copy link
Contributor

Seems to have not gotten all of them: https://travis-ci.org/pandas-dev/pandas/jobs/340640054#L2633

@jorisvandenbossche
Copy link
Member Author

Or rather, none of them ... :(
(I have to admit, I only tested the filterwarnings in an interactive session, not in combination with ipython directive)

@jorisvandenbossche
Copy link
Member Author

New commits seems to work (and is simpler)

@jorisvandenbossche jorisvandenbossche merged commit 07137a5 into pandas-dev:master Feb 13, 2018
@jorisvandenbossche jorisvandenbossche deleted the doc-filter-panel-warnings branch February 13, 2018 19:01
harisbal pushed a commit to harisbal/pandas that referenced this pull request Feb 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants