Notebook tooling: clear_outputs.py stops at the first dirty cell, wasm_check does not test the built wheel
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
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.
-
docs/notebooks/clear_outputs.py,process_notebook:changed = any(clear_cell(cell) for cell in nb.get("cells", []))is a generator, andany()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]). -
docs/lite/wasm_check/check_pyodide_install.mjswrites the wheel to/<wheel>in Pyodide's filesystem, but_mvtb_nb_bootstrap.pylooks for it withPath("/pypi").glob(...). It finds nothing, so it falls back to installingmachinevision-toolbox-pythonfrom 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
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una 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 petercorke/machinevision-toolbox-python
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
petercorke/machinevision-toolbox-python#152 ·
Los mantenedores suelen responder en 1 día
-
ROSBag: RealSense bags have a 4-byte depth-units trailer that is guessed, not parsedPosiblemente ocupada @theluckystrike la tomó hace 3 días. Abiertobug help wanted
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
petercorke/machinevision-toolbox-python#151 ·
Los mantenedores suelen responder en 1 día
-
Sources.py: quick wins, split into a package, and API unificationPosiblemente ocupada @zw1915 la tomó hace 3 días. Abiertohelp wanted tech-debt
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
petercorke/machinevision-toolbox-python#150 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 43/100
petercorke/machinevision-toolbox-python#148 ·
Los mantenedores suelen responder en 1 día
-
tech-debt
Dificultad 2/5 1-3 horas Aptitud para principiantes 30/100
petercorke/machinevision-toolbox-python#147 ·
Los mantenedores suelen responder en 1 día
Todos los issues de petercorke/machinevision-toolbox-python
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
-
[Device Support Request] HOBEIAN ZG-204ZL (Tuya PIR motion sensor with illuminance)Posiblemente ocupada @lenucksi la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
zigpy/zha-device-handlers#5493 ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
drevendev/BeautifulRepo#42 ·
Los mantenedores suelen responder en 1 día
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
writerslogic/holographic-memory#93 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
antoine-tena/kiln#47 ·
Los mantenedores suelen responder en 1 día