zhengruifeng opened a new pull request, #44727:
URL: https://github.com/apache/spark/pull/44727
### What changes were proposed in this pull request?
Pin `sphinxcontrib-applehelp==1.0.4`
previously,
`Install Python linter dependencies` install
`sphinxcontrib-applehelp-1.0.7`, and then `Install dependencies for
documentation generation` reinstall it with `sphinxcontrib-applehelp-1.0.4`;
now,
`Install Python linter dependencies` install
`sphinxcontrib-applehelp-1.0.8`, and `Install dependencies for documentation
generation` keep this intallation:
`Requirement already satisfied: sphinxcontrib-applehelp in
/usr/local/lib/python3.9/dist-packages (from sphinx==4.5.0) (1.0.8)`
### Why are the changes needed?
doc build is failing with:
```
Sphinx version error:
The sphinxcontrib.applehelp extension used by this project needs at least
Sphinx v5.0; it therefore cannot be built with this version.
make: *** [Makefile:35: html] Error 2
------------------------------------------------
Jekyll 4.3.3 Please append `--trace` to the `build` command
for any additional information or backtrace.
------------------------------------------------
/__w/spark/spark/docs/_plugins/copy_api_dirs.rb:131:in `<top (required)>':
Python doc generation failed (RuntimeError)
from
/__w/spark/spark/docs/.local_ruby_bundle/ruby/2.7.0/gems/jekyll-4.3.3/lib/jekyll/external.rb:57:in
`require'
from
/__w/spark/spark/docs/.local_ruby_bundle/ruby/2.7.0/gems/jekyll-4.3.3/lib/jekyll/external.rb:57:in
`block in require_with_graceful_fail'
```
### Does this PR introduce _any_ user-facing change?
no
### How was this patch tested?
ci
### Was this patch authored or co-authored using generative AI tooling?
no
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]