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

Suppress sphinx warning about caching gallery_conf #735

Merged
merged 1 commit into from
Apr 17, 2024
Merged

Suppress sphinx warning about caching gallery_conf #735

merged 1 commit into from
Apr 17, 2024

Conversation

almarklein
Copy link
Collaborator

@almarklein almarklein commented Apr 17, 2024

The warning that causes the doc build to fail:

pickling environment... WARNING: cannot cache unpickable configuration value: 'sphinx_gallery_conf'

It is raised from Sphinx here: https://github.com/sphinx-doc/sphinx/blob/da4c6a783066f0eb711f109461275415f99e3568/sphinx/config.py#L455-L485

From what I can find, by the time the code gets here, the sphinx_gallery_conf has been populated with more fields, some of which are regexps. Maybe there are funcs too.

@Korijn Korijn merged commit f4a8a29 into main Apr 17, 2024
12 checks passed
@Korijn Korijn deleted the sphinx branch April 17, 2024 17:08
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.

None yet

2 participants