Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Notebook tooling: clear_outputs.py stops at the first dirty cell, wasm_check does not test the built wheel

Abierto
#157 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
42/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
jupyter, python, wasm
Área
testing, tooling

Línea de trabajo

Start with docs/notebooks/clear_outputs.py and its process_notebook function, then inspect docs/lite/wasm_check/check_pyodide_install.mjs alongside _mvtb_nb_bootstrap.py. Check that every dirty cell is cleared and that the wheel is written where the bootstrap searches; the issue says both fixes are already present in the RTB copy, so use its notebook hygiene PR as a reference. Done when both tools operate on all dirty cells and the wheel built for the check.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Likely smells in the notebook tooling, found while copying it to RTB. Worth checking out and fixing.

  1. docs/notebooks/clear_outputs.py, process_notebook: changed = any(clear_cell(cell) for cell in nb.get("cells", [])) is a generator, and any() stops at the first cell that returns True. Only the first dirty cell of each notebook is cleared, so a second run clears the next one, and so on. Use a list: any([clear_cell(c) for c in cells]).

  2. docs/lite/wasm_check/check_pyodide_install.mjs writes the wheel to /<wheel> in Pyodide's filesystem, but _mvtb_nb_bootstrap.py looks for it with Path("/pypi").glob(...). It finds nothing, so it falls back to installing machinevision-toolbox-python from PyPI and the check tests the last release, not the wheel just built. Also write the wheel to /pypi/<wheel> (FS.mkdirTree("/pypi")).

Both are fixed in the RTB copy, see the notebook hygiene PR in robotics-toolbox-python.

Lenguaje dominante
Python
Estrellas
224
Forks
31
Merge medio
1 d 20 h
PR fusionados (30 d)
28

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de petercorke/machinevision-toolbox-python

Todos los issues de petercorke/machinevision-toolbox-python

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.