build-lectures: no `_build/.doctrees` clear (ipywidget mimetype rendering)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- github-actions
- Área
- build-system, ci-cd
Línea de trabajo
Comienza con build-lectures/action.yml y los pasos nativos del workflow en .github/workflows/publish.yml:90-91. Reproduce las compilaciones de intro markov_chains_I e inequality mediante la secuencia pdflatex → jupyter → html sin borrar doctrees y compara la salida con el sitio nativo publicado. Se considera terminado cuando registres un resultado negativo para cerrar el issue o documentes la divergencia y actualices las rutas de migración y de action indicadas.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
v0.8.0 validation study: two native pipelines clear the Sphinx doctree cache before the final HTML build to fix ipywidget mimetype rendering — lecture-python-intro (.github/workflows/publish.yml:90), lecture-python-advanced.myst (.github/workflows/publish.yml:91). Composite build-lectures has none: nothing here touches .doctrees; its pre-build HTML steps are only Stage PDF (build-lectures/action.yml:51) and Stage notebooks (build-lectures/action.yml:70).
Intra-job trigger, not a stale cache: jb writes one shared _build/.doctrees, so HTML in a three-format job reads doctrees from the earlier pdflatex and jupyter builds; reproduces cold. That pdflatex → jupyter → html sequence is the migration target (docs/MIGRATION-GUIDE.md:313-332); single-builder consumers like lecture-dp (builder: 'html') are out of scope. Unreproduced — inferred from the native BUG: comment.
No zero-build A/B — no clear-free repo emits widget output:
-
lecture-python-advanced.myst/lectures/matsuyama.md: soleipywidgetsimport among migrated repos, cellsskip-execution(no mimetype emitted), and that repo clears. -
lecture-python-intro(also clears): executed rich output inmarkov_chains_I.md(HTML(anim.to_jshtml())) andinequality.md(plotly). -
lecture-python-programming.myst: clear-free in production, but no executed widget/animation/plotly output. -
QuantEcon/test-actions-lecture-intro: composite, no clear, no cache restore, but its canary TOC builds five rich-free lectures (geom_series,short_path,lln_clt,solow,linear_equations) underonly_build_toc_files: true, unpublished since 2026-02-10; widening cuts against_toc.yml's no-content-drift criteria — separate decision. -
Repro: build intro's
markov_chains_Iandinequalitythrough the composite pdflatex → jupyter → html with no clear; compare to the published native site. -
Matches → the clear is not load-bearing for current content; close
wontfixwith the negative result recorded. -
Diverges → add an optional
clear-doctreesinput (default off) to thebuild-lecturesHTML path, plus a MIGRATION-GUIDE note for repos coming from native pipelines. -
Lower priority: the cache stores
_buildwholesale (restore-jupyter-cache/action.yml:109), so.doctreesrides along on restore — re-check once #92 Phase 1 turns onsave-cache: 'true'.
- Lenguaje dominante
- Shell
- Estrellas
- 0
- Forks
- 1
- Merge medio
- 20 h 3 min
- PR fusionados (30 d)
- 48
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de QuantEcon/actions
-
low-priority
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
documentation
Dificultad 1/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Los mantenedores suelen responder en 1 día
-
bug infrastructure
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
Los mantenedores suelen responder en 1 día
Todos los issues de QuantEcon/actions
Issues similares
-
ci: Simplify e2e base image buildPosiblemente ocupada @nealrichardson la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
Los mantenedores suelen responder en 1 día
-
Page request: clang-replAbiertohelp wanted new command
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
tldr-pages/tldr#25111 ·
Los mantenedores suelen responder en 1 día
-
chore
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
alunduil/alunduil-chezmoi#1170 ·
Los mantenedores suelen responder en 1 día
-
package-update
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
fabriziosalmi/secure-proxy-manager#619 ·
Los mantenedores suelen responder en 1 día