Skip to content

Revert FrozenList changes (doc build slowdown, #15559) #15566

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

Closed

Conversation

jorisvandenbossche
Copy link
Member

See #15559. This temporarily reverts #15506, to see if this fixes the doc build slowdown.

@jorisvandenbossche
Copy link
Member Author

So I am totally puzzled about why, but reverting this does fix the doc build timeout, see https://travis-ci.org/pandas-dev/pandas/builds/207655451

While we figure this out, I would like to merge this revert for now, because with current master it makes doc building really unbearable (certainly with the docathon coming up).

@jreback
Copy link
Contributor

jreback commented Mar 4, 2017

sure pls create an issue (or leave this one open and i'll take a look)

where was the doc build hanging (what part)?

@codecov-io
Copy link

Codecov Report

Merging #15566 into master will decrease coverage by -0.03%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master   #15566      +/-   ##
==========================================
- Coverage   91.07%   91.04%   -0.03%     
==========================================
  Files         136      136              
  Lines       49167    49155      -12     
==========================================
- Hits        44777    44754      -23     
- Misses       4390     4401      +11
Impacted Files Coverage Δ
pandas/core/strings.py 98.48% <ø> (ø)
pandas/core/panel.py 97.22% <100%> (ø)
pandas/core/reshape.py 99.25% <100%> (ø)
pandas/indexes/frozen.py 93.54% <100%> (+0.3%)
pandas/tools/concat.py 97.62% <100%> (ø)
pandas/io/gbq.py 25% <0%> (-58.34%)
pandas/tools/merge.py 91.78% <0%> (-0.35%)
pandas/util/testing.py 81.87% <0%> (-0.19%)
pandas/core/frame.py 97.83% <0%> (-0.1%)
pandas/indexes/base.py 96.22% <0%> (+0.05%)

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 7ae4fd1...befd858. Read the comment docs.

@jorisvandenbossche
Copy link
Member Author

jorisvandenbossche commented Mar 4, 2017

The full 'reading' part (that is AFAIK the part where the ipython code blocks are executed). I am thinking of how we can try to profile that.

@jreback jreback added the Docs label Mar 4, 2017
@jreback
Copy link
Contributor

jreback commented Mar 4, 2017

using this to debug (it prints a LOT)
-vvv is verbose, -N removes the color output, and removed the -P to try

diff --git a/doc/make.py b/doc/make.py
index 8a6d4e5..3c47409 100755
--- a/doc/make.py
+++ b/doc/make.py
@@ -197,7 +197,7 @@ def html():
                 print(e)
                 print("Failed to convert %s" % nb)
 
-    if os.system('sphinx-build -P -b html -d build/doctrees '
+    if os.system('sphinx-build -vvv -b html -d build/doctrees '
                  'source build/html'):
         raise SystemExit("Building HTML failed.")

we should prob always add -v just to have it print out files as it reads them.

still not sure why it fails

@jreback
Copy link
Contributor

jreback commented Mar 4, 2017

so going to merge this and we can figure out later.

@jreback jreback added this to the 0.20.0 milestone Mar 4, 2017
@jreback jreback closed this in d652485 Mar 4, 2017
AnkurDedania pushed a commit to AnkurDedania/pandas that referenced this pull request Mar 21, 2017
See pandas-dev#15559. This temporarily reverts pandas-dev#15506, to see if this fixes the
doc build slowdown.

Author: Joris Van den Bossche <[email protected]>

Closes pandas-dev#15566 from jorisvandenbossche/revert and squashes the following commits:

befd858 [Joris Van den Bossche] Revert "ENH: Added FrozenList difference setop"
527ded9 [Joris Van den Bossche] Revert "TST: remove deprecated usages of FrozenList.__add__ from test code"
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.

3 participants