Skip to content
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

MAINT: Reenable parallel write safety #1859

Merged
merged 1 commit into from
Jun 4, 2024
Merged

Conversation

larsoner
Copy link
Contributor

@larsoner larsoner commented Jun 4, 2024

See scipy/scipy#20897. TL;DR is that the problem was always with reading in parallel, not writing. And the bug is really in Sphinx.

It would be good to detect and clean this up in PST somehow perhaps as well -- maybe with a warning if a top-level / root page ever shows up as a child? This might only be an issue when building in parallel, still not totally clear to me why things were okay in the serial case.

I think any additional changes could be made in a follow-up PR probably.

closes #1643

@larsoner larsoner changed the title MAINT: Reenable write safety MAINT: Reenable parallel write safety Jun 4, 2024
@drammock drammock merged commit dc185f0 into pydata:main Jun 4, 2024
29 checks passed
@larsoner larsoner deleted the write-safe branch June 4, 2024 19:14
@h-vetinari
Copy link

And the bug is really in Sphinx.

Is there a reference for this somewhere? It triggered under pretty innocent-looking circumstances, so it'd be a pity IMO to have no mechanism in place to diagnose, or at least a sphinx issue to refer to.

@larsoner
Copy link
Contributor Author

larsoner commented Jun 4, 2024

Yep, just took me a while to write up!

sphinx-doc/sphinx#12409

@h-vetinari
Copy link

Thanks for digging into this issue across scipy/PST/sphinx! 🙏

@drammock drammock mentioned this pull request Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Figure out why pydata-sphinx-theme is parallel-write-unsafe, and fix it
3 participants