Pandas version checks
-
[X] I have checked that this issue has not already been reported.
-
[X] I have confirmed this bug exists on the latest version of pandas.
-
[X] I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
python make.py html
Issue Description
While trying to build documentation for pandas-dev, the build fails with Sphinx parallel build error
Expected Behavior
The build should be successful and the docs should be built in local
Installed Versions
Comment From: vamsi-verma-s
@Swati-Sneha - Pls try deleting build
directory and build again.
Comment From: Swati-Sneha
@vamsi-verma-s I have done that already.
I also asked this in the slack channel, seems I am not the only one facing it.
Comment From: rhshadrach
I can build the docs locally and the CI has been successful. But neither of these are on arm64.
The line count is off because there are some lines injected into the rst files in order to do e.g. import pandas as pd
. My guess is the issue is from this code block:
https://github.com/pandas-dev/pandas/blob/68d9dcab5b543adb3bfe5b83563c61a9b8afae77/doc/source/whatsnew/v1.5.0.rst?plain=1#L39-L52
What happens when you run that?
Comment From: Swati-Sneha
What do you mean @rhshadrach ? When I run what? The command: python make.py html
or are you refering to something else?
Comment From: rhshadrach
The code in the code-block in my comment.
Comment From: Swati-Sneha
This is what I get when I run it from my terminal, seems okay to me.
Comment From: rhshadrach
Can you try python make.py html --num-jobs=1
. Hopefully that should give you a stack trace.
Comment From: loicdiridollou
FYI I was bumping into the same issue (on Mac arm m1). The parallel build bumps on different point, always in the whatsnew files but since it is parallel it is not always the same one. However running in linear as recommended by @rhshadrach enables the process to complete without issues.
Comment From: mroeschke
Closing as isn't not exactly clear what the documentation issue was