Skip to content

chore(deps): bump latex2mathml from 3.78.0 to 3.78.1#5361

Merged
nucleogenesis merged 3 commits intounstablefrom
dependabot/pip/latex2mathml-3.78.1
Mar 11, 2026
Merged

chore(deps): bump latex2mathml from 3.78.0 to 3.78.1#5361
nucleogenesis merged 3 commits intounstablefrom
dependabot/pip/latex2mathml-3.78.1

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 3, 2025

Bumps latex2mathml from 3.78.0 to 3.78.1.

Release notes

Sourced from latex2mathml's releases.

🐛 Fix block mode not using moverunder

What's Changed

Dependencies

Docs

New Contributors

Full Changelog: roniemartinez/latex2mathml@3.78.0...3.78.1

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Sep 3, 2025
@rtibbles
Copy link
Member

rtibbles commented Sep 3, 2025

There's a small bug fix here that is causing a change in output - we'd need to update what are essentially snapshot tests for the latex to mathml conversion to be able to merge this PR.

@dependabot dependabot bot force-pushed the dependabot/pip/latex2mathml-3.78.1 branch from 48b9b50 to 24de11e Compare September 18, 2025 04:35
@nucleogenesis
Copy link
Member

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/pip/latex2mathml-3.78.1 branch from 24de11e to 42a2641 Compare February 20, 2026 19:04
dependabot bot and others added 2 commits March 11, 2026 09:50
Bumps [latex2mathml](https://github.com/roniemartinez/latex2mathml) from 3.78.0 to 3.78.1.
- [Release notes](https://github.com/roniemartinez/latex2mathml/releases)
- [Commits](roniemartinez/latex2mathml@3.78.0...3.78.1)

---
updated-dependencies:
- dependency-name: latex2mathml
  dependency-version: 3.78.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…erover

latex2mathml 3.78.1 correctly produces <munderover> instead of <msubsup>
for \sum and \prod in display="block" mode. Update hardcoded expected
MathML in test assertions to match the corrected output.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@nucleogenesis nucleogenesis force-pushed the dependabot/pip/latex2mathml-3.78.1 branch from 42a2641 to 4a9a5d6 Compare March 11, 2026 17:20
Copy link
Contributor

@rtibblesbot rtibblesbot left a comment

Choose a reason for hiding this comment

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

Dependency Update Review

Package: latex2mathml 3.78.0 → 3.78.1
Semver risk: Patch
Dependency type: Production
CI status: Passing

Changelog Analysis

Sources consulted:

Single bugfix release: "Fix block mode not using munderover" (roniemartinez/latex2mathml#529). In block/display mode, summation-like operators now correctly use <munderover> (limits above/below) instead of <msubsup> (subscript/superscript). This is the correct MathML representation for display-mode limits.

Breaking changes: None.
Security fixes: None.

Compatibility Assessment

  • Output change: The MathML output for block-mode expressions with limits changes from msubsup to munderover. This is a correctness fix — munderover is the semantically correct element for display-mode limits.
  • Test updates included: Both test_exercise_creation.py and test_markdown.py have been updated to expect the new munderover output, matching the library's corrected behavior.
  • Prior context: Maintainer @rtibbles flagged the need for test updates, which have been addressed in commit 4a9a5d67c.

Recommendation

APPROVE — Patch bugfix with passing CI and correct test updates.


@rtibblesbot's comments are generated by an LLM, and should be evaluated accordingly

How was this generated?

Reviewed the pull request diff checking for:

  • Correctness: bugs, edge cases, undocumented behavior, resource leaks, hardcoded values
  • Design: unnecessary complexity, naming, readability, comment accuracy, redundant state
  • Architecture: duplicated concerns, minimal interfaces, composition over inheritance
  • Testing: behavior-based assertions, mocks only at hard boundaries, accurate coverage
  • Completeness: missing dependencies, unupdated usages, i18n, accessibility, security
  • Principles: DRY (same reason to change), SRP, Rule of Three (no premature abstraction)
  • Checked CI status and linked issue acceptance criteria
  • For UI changes: inspected screenshots for layout, visual completeness, and consistency

@nucleogenesis
Copy link
Member

I have manually regression tested that serialization of the potentially effected sum/prod. Looks like @rtibblesbot agrees with the assessment overall now that the tests are passing.

@rtibbles one thing that Claude noted when reviewing this again today was that there are possible regressions in the QTI editor - here is a gist detailing their output

Verify that latex2mathml produces the correct MathML elements:
- \sum and \prod in block mode use <munderover> (limits above/below)
- \sum in inline mode uses <msubsup> (limits beside)
- \int in block mode still uses <msubsup> (unaffected by fix)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@nucleogenesis
Copy link
Member

Alrighty - tested it out and verified the fixes by publishing and then testing QTI & Perseus questions in Kolibri and manually confirmed that the XML was appropriately updated.

I also drew up and pushed some regression tests covering the particular markdown conversion changes introduced by the update.

I can also doubly confirm the updates are good because:

Before After
image image

The updates this PR brings makes it so that the XML uses proper under/above indicators, so you can see how the limit info is shown above/beneath the Σ properly now.

Copy link
Member

@nucleogenesis nucleogenesis left a comment

Choose a reason for hiding this comment

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

See previous comments - should have put the last comment in an approving review!

@nucleogenesis nucleogenesis merged commit b57d722 into unstable Mar 11, 2026
17 checks passed
@dependabot dependabot bot deleted the dependabot/pip/latex2mathml-3.78.1 branch March 11, 2026 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants