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

Ignore Sphinx warning about unpickable cache #7400

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

lagru
Copy link
Member

@lagru lagru commented Apr 18, 2024

Description

Fixes our failing Windows CI, e.g. #20240417.3 • Add out-of-tree Pyodide builds in CI for scikit-image.

Sphinx 7.3.0 introduced a new warning about not being able to pickle a config value. I think the function plotly_sg_scraper in sphinx_gallery_conf is triggering this. If I read azure-pipelines.yml correctly we are not preserving Sphinx's cache between runs anyway. So we should be fine to just ignore this warning. See also sphinx-doc/sphinx#12300.

These new config options also require Sphinx 7.3.0.

Checklist

Release note

We use changelist to compile each pull request into an item of the release notes. Please refer to the instructions and past release notes for guidance and examples.

...

[Sphinx 7.3.0][1] introduce a new warning about not being able to pickle
a config value. I think the function `plotly_sg_scraper` in
`sphinx_gallery_conf` is triggering this. If I read azure-pipelines.yml
correctly we are not preserving Sphinx's cache between runs anyway. So
we should be fine to just ignore this warning.

These new [config options][2] also require Sphinx 7.3.0.

[1]: https://www.github.com/sphinx-doc/sphinx/issues/12300
[2]: https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-show_warning_types
@lagru lagru added the 🤖 type: Infrastructure CI, packaging, tools and automation label Apr 18, 2024
@lagru lagru changed the title Ignore sphinx warning about unpickable cache Ignore Sphinx warning about unpickable cache Apr 18, 2024
@jarrodmillman jarrodmillman merged commit 3487d3a into scikit-image:main Apr 18, 2024
24 checks passed
@stefanv stefanv added this to the 0.23.2 milestone Apr 18, 2024
@lagru lagru deleted the ignore-sphinx-cache-warning branch April 18, 2024 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖 type: Infrastructure CI, packaging, tools and automation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants