Notebook tooling: clear_outputs.py stops at the first dirty cell, wasm_check does not test the built wheel
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Anfängerfreundlichkeit
- 42/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- Python
- Sterne
- 224
- Forks
- 31
- Ø Merge
- 1 T. 22 Std.
- Gemergte PRs (30 T.)
- 29
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus petercorke/machinevision-toolbox-python
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 76/100
petercorke/machinevision-toolbox-python#160 ·
Maintainer antworten meist innerhalb von 1 Tag
-
tech-debt
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 39/100
petercorke/machinevision-toolbox-python#159 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Image.draw_* fail on images from Image.Read: pixel data is not C-contiguous (cv2 line/circle/putText layout error)Evtl. vergeben @petercorke hat das heute übernommen. Offenbug
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 35/100
petercorke/machinevision-toolbox-python#158 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
petercorke/machinevision-toolbox-python#152 ·
Maintainer antworten meist innerhalb von 1 Tag
-
ROSBag: RealSense bags have a 4-byte depth-units trailer that is guessed, not parsedEvtl. vergeben @theluckystrike hat das vor 4 Tagen übernommen. Offenbug help wanted
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
petercorke/machinevision-toolbox-python#151 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in petercorke/machinevision-toolbox-python
Ähnliche Issues
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
ansys/pyansys-common-mcp#213 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
freedomofpress/dangerzone#1594 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
priority:P1 status:in-review type:bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
randomparity/kdive#3317 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:ci
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 90/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
mesonbuild/meson#16281 ·
Maintainer antworten meist innerhalb von 1 Tag