Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/crate/theme/rtd/conf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
# with Crate these terms will supersede the license and you may use the
# software solely pursuant to the terms of the relevant commercial agreement.
import os
import warnings

from crate.theme import rtd as theme
from crate.theme.rtd import __version__
Expand Down Expand Up @@ -183,6 +184,14 @@
linkcheck_retries = 3
linkcheck_timeout = 15

# Suppress myst-nb deprecation warnings until fixed upstream.
# https://github.com/executablebooks/MyST-NB/issues/645
warnings.filterwarnings(
"ignore",
message=r".*myst_nb\.sphinx_\.Parser\.env.*",
category=DeprecationWarning,
)

Comment on lines +187 to +194
Copy link
Member

@amotl amotl Feb 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that is the wrong issue, and it is already closed: It reported about the sphinx.util.import_object symbol being deprecated.

May I ask you to please report your specific observation about the myst_nb.sphinx_.Parser.env symbol to the upstream project 1 and reference the new ticket here? 🙏

Footnotes

  1. Would it just be about asking for a new release, or does it need patches? 2

  2. Maybe https://github.com/executablebooks/MyST-NB/pull/706 fixed it already?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ups! Wrong copy/paste. Good catch 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a PR from Dec open that seems dormant: executablebooks/MyST-Parser#1079

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(updated with correct link directly in main)

# -- Options for MyST -------------------------------------------------
myst_heading_anchors = 3
myst_enable_extensions = [
Expand Down