-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-46715][INFRA] Pin sphinxcontrib-*
#44727
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
[SPARK-46715][INFRA] Pin sphinxcontrib-*
#44727
Conversation
|
Mind creating a JIRA ticket @zhengruifeng? |
sure, it's still under test, maybe we need to pin more deps. |
sphinxcontrib-applehelp==1.0.4sphinxcontrib-*
sphinxcontrib-*sphinxcontrib-*
|
How about upgrade sphinx to 5.0.0 directly? I am conducting tests, and it seems ok: https://github.com/LuciferYang/spark/actions/runs/7523170642/job/20476201559 |
I remember @itholic had compared multiple versions of sphinx, and chose 4.5.0. |
OK, let's continue using 4.5.0 for now |
|
FYI, 4.2.0 is chosen in #44012 (comment) and then 4.5.0 for performance in 5eec99d let's stick to 4.x before more investigation on the built docs with higher versions. |
|
thanks all merged to master to restore CI |
|
The proximate reason for this failure is that we install spark/.github/workflows/build_and_test.yml Line 705 in 9f061b0
Note that this is separate from the constraint that A longer term solution would be to compile all of our requirements per Python version and install them in one go. That's the only way pip is going to have the information it needs to prevent this kind of problem from occurring. |
|
@zhengruifeng, seems this issue is till in branch-3.5, is it possible to back-port to branch 3.5? |
|
@wbo4958 It seems the The reason I think is then latest As to 3.5, I am not sure, since it uses |
|
Thx for your fix. |
### What changes were proposed in this pull request? backport #44727 to branch-3.5 ### Why are the changes needed? to restore doc build ### 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 Closes #44744 from zhengruifeng/infra_pin_shinxcontrib. Authored-by: Ruifeng Zheng <[email protected]> Signed-off-by: Ruifeng Zheng <[email protected]>
### What changes were proposed in this pull request? 1, Combine pip installations for lint and doc together 2, pip list before run tests ### Why are the changes needed? 1, to avoid potential conflicts, for example: existing `sphinx==4.5.0` requires `docutils<0.18,>=0.14`, while unpinned `sphinx` requires `docutils<0.21,>=0.18.1`. If we install them with different commands, upgrade of `sphinx` might be broken. 2, to make it easier to debug, for example: #44727 (comment) `sphinxcontrib-*` were installed twice with different versions, which is confusing. ### Does this PR introduce _any_ user-facing change? no, infra-only ### How was this patch tested? ci ### Was this patch authored or co-authored using generative AI tooling? no Closes #44754 from zhengruifeng/infra_combine_pip_installation. Authored-by: Ruifeng Zheng <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>


What changes were proposed in this pull request?
Pin
sphinxcontrib-applehelp==1.0.4sphinxcontrib-devhelp==1.0.2sphinxcontrib-htmlhelp==2.0.1sphinxcontrib-qthelp==1.0.3sphinxcontrib-serializinghtml==1.1.5previously,
Install Python linter dependenciesinstallsphinxcontrib-applehelp-1.0.7, and thenInstall dependencies for documentation generationreinstall it withsphinxcontrib-applehelp-1.0.4;now,
Install Python linter dependenciesinstallsphinxcontrib-applehelp-1.0.8, andInstall dependencies for documentation generationkeep 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:
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