Skip to content

Fix docutils deprecation and main_menu is_active rendering#714

Merged
boxed merged 1 commit intomasterfrom
claude/wizardly-mayer
Mar 10, 2026
Merged

Fix docutils deprecation and main_menu is_active rendering#714
boxed merged 1 commit intomasterfrom
claude/wizardly-mayer

Conversation

@boxed
Copy link
Copy Markdown
Collaborator

@boxed boxed commented Mar 10, 2026

Summary

  • Replace deprecated docutils.frontend.OptionParser with get_default_settings() — fixes DeprecationWarning that was causing an INTERNALERROR in pytest
  • Override iommi_open_tag in BoundM to set the is_active CSS class before delegating to super().iommi_open_tag() — fixes missing is_active class on menu items after the Tag base class change

Test plan

  • pytest iommi/main_menu__tests.py passes (22/22)
  • Full test suite no longer hits INTERNALERROR

Replace deprecated docutils.frontend.OptionParser with
get_default_settings(). Override iommi_open_tag in BoundM to
set is_active class before delegating to Tag.iommi_open_tag().
@boxed boxed merged commit 9850383 into master Mar 10, 2026
38 checks passed
@boxed boxed deleted the claude/wizardly-mayer branch March 10, 2026 09:06
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