Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

CI: Test building docs in parallel on Cirrus CI#28244

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed

Conversation

scottshambaugh
Copy link
Contributor

@scottshambaughscottshambaugh commentedMay 17, 2024
edited
Loading

PR summary

Just experimenting for now, curious if this speeds things up

For comparison,this docs build took 20m 11s as a baseline on a single core.
image

PR checklist

@scottshambaugh
Copy link
ContributorAuthor

scottshambaugh commentedMay 17, 2024
edited
Loading

With 2 cores the time to build the docs dropped to 18m 9s.

image

The errors that caused this failure are:

WARNING: the pydata_sphinx_theme extension is not safe for parallel writingWARNING: doing serial write

This is the relevant issue:pydata/pydata-sphinx-theme#1643. Some users there reported no problems with setting theparallel_write_unsafe flag toFalse. Will try that next.

@scottshambaugh
Copy link
ContributorAuthor

Ok digging into it more, looks like this was talked about in#27658

The parallel unsafe flag was added inpydata/pydata-sphinx-theme#1642, where this was the behavior:

marks the theme as unsafe for parallel_write. This is based on extensive testing of the SciPy docs build, where the API pages were reliably getting the wrong left sidebar TOC when built in parallel, and getting the correct sidebar TOC when built with a single job. After marking the theme as parallel-write-unsafe, the SciPy docs now end up with the correct sidebar on all pages even when building in parallel (i.e. when pages are read in parallel but written serially)

Worth another look when that all gets fixed but closing for now.

@QuLogicQuLogic mentioned this pull requestJul 26, 2024
1 task
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@scottshambaugh

[8]ページ先頭

©2009-2025 Movatter.jp