Upgrade latex2mathml from 3.78.1 to 3.81.1
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 25/100
Direzione di ricerca
Start with contentcuration/contentcuration/tests/utils/test_markdown.py and the three assertions for \cdot, \times, and \div; the issue says they still expect <mi> while latex2mathml 3.81.1 emits <mo>. Check the dependency pins in requirements.in and requirements.txt, then run the Markdown tests and the full pytest suite. Done means the dependency is pinned at 3.81.1, those assertions expect <mo>, and the suite passes.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
Overview
Dependabot PR #6434 bumped latex2mathml from 3.78.1 to 3.81.1, and "Python unit tests" failed on it. latex2mathml 3.79.0 (roniemartinez/latex2mathml#545) added \ast, \cdot, \div and \times to its operator list, so these now render as <mo> rather than <mi>. Three assertions in test_markdown.py still expect the old <mi> output.
Complexity: Low
Target branch: unstable
Context
convertis called only in_convert, whose output feeds the QTI MathML models at publish.- Expectations that hardcode
<mi>for an operator:test_markdown.py#L23:<mi>·</mi>for\cdottest_markdown.py#L97:<mi>×</mi>for\timestest_markdown.py#L232:<mi>÷</mi>for\div
- 3.80.0 and 3.81.0 also changed output:
\hatis now a stretchy accent,\hrefrenders asmrow, and macros and numberedalignare supported. No current test exercises these. - No other package has to move with this one.
The Change
- One PR should land the bump along with test expectations that match the 3.81.1 output.
Acceptance Criteria
-
latex2mathml==3.81.1is pinned inrequirements.inandrequirements.txt. -
$$x\cdot y$$,$$c \times d$$and$$a\div b$$convert to MathML with the operator in<mo>, andtest_markdown.pyasserts this. - The full
pytestsuite passes on 3.81.1, including the QTI MathML and exercise-creation tests.
AI usage
Claude Code drafted this issue from its review of #6434. It found the cause in latex2mathml's commits between 3.78.1 and 3.81.1 and in Studio's test expectations.
Filed from #6434's review.
- Lingua principale
- JavaScript
- Stelle
- 214
- Fork
- 327
- Merge medio
- 17h 5m
- PR unite (30g)
- 25
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di learningequality/studio
-
Community library status changes don't update `date_updated`Forse già presa @ArpitaSamanta10 l’ha presa 14 giorni fa. Apertacommunity-contribution-in-progress DEV: backend good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
learningequality/studio#6414 · 8 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Activation key can activate a different account whose email differs only in caseForse già presa @Madhu-priya123 l’ha presa 5 giorni fa. ApertaDEV: backend
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
learningequality/studio#6410 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
DEV: backend
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
learningequality/studio#6409 ·
I maintainer di solito rispondono entro 1 giorno
-
DEV: backend
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
learningequality/studio#6407 ·
I maintainer di solito rispondono entro 1 giorno
-
Stripe webhook accepts events when no webhook secret is configuredForse già presa @adibmbrk l’ha presa 14 giorni fa. Apertacommunity-contribution-in-progress DEV: backend good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
learningequality/studio#6404 · 3 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di learningequality/studio
Issue simili
-
[bug] 提瓦特记事本原石检测框宽度较窄Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
babalae/bettergi-scripts-list#3905 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] "Configure Colota" opens Colota with "Invalid configuration: No configuration data in URL"Aperta
Difficoltà 1/5 1-3 ore Idoneità per principianti 87/100
dedicatedcode/reitti#1445 ·
I maintainer di solito rispondono entro 1 giorno
-
New tool: Uncle DeskForse già presa @github-actions l’ha presa oggi. Apertasubmission triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
kausalflow/tools#384 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
-
Fuzz: css syntax bug foundApertaarea: css
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno