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

Pin minimum version of furo to 2024.8.6 #64

Merged
merged 1 commit into from
Sep 3, 2024
Merged

Pin minimum version of furo to 2024.8.6 #64

merged 1 commit into from
Sep 3, 2024

Conversation

weiji14
Copy link
Member

@weiji14 weiji14 commented Sep 3, 2024

Try to fix incompatibility with sphinx=8.0 causing AttributeError: _CascadingStyleSheet is immutable with old versions of furo.

Full traceback error from Readthedocs:

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/cupy-xarray/conda/63/lib/python3.10/site-packages/sphinx/events.py", line 100, in emit
    results.append(listener.handler(self.app, *args))
  File "/home/docs/checkouts/readthedocs.org/user_builds/cupy-xarray/conda/63/lib/python3.10/site-packages/furo/__init__.py", line 158, in _html_page_context
    _add_asset_hashes(
  File "/home/docs/checkouts/readthedocs.org/user_builds/cupy-xarray/conda/63/lib/python3.10/site-packages/furo/__init__.py", line 138, in _add_asset_hashes
    static[index].filename = _asset_hash(asset)  # type: ignore
  File "/home/docs/checkouts/readthedocs.org/user_builds/cupy-xarray/conda/63/lib/python3.10/site-packages/sphinx/builders/html/_assets.py", line 54, in __setattr__
    raise AttributeError(msg)
AttributeError: _CascadingStyleSheet is immutable

References:

Try to fix incompatibility with sphinx=8.0 causing `AttributeError: _CascadingStyleSheet is immutable` with old versions of furo.
@weiji14 weiji14 self-assigned this Sep 3, 2024
@weiji14 weiji14 marked this pull request as ready for review September 3, 2024 23:10
@weiji14 weiji14 merged commit 79e025d into main Sep 3, 2024
4 checks passed
@weiji14 weiji14 deleted the furo_2024.8.6 branch September 3, 2024 23:10
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.

1 participant