_isnotebook() does not recognise JupyterLite
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
- #167 de @petercorke — cerrado sin fusionar
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- Medio día
- Aptitud para principiantes
- 45/100
Línea de trabajo
Start with _isnotebook() in base/imageio.py and the Camera image-plane reuse branch that depends on it. Check what get_ipython().__class__.__name__ returns inside a JupyterLite (Pyodide) session, then add that detection alongside the existing Colab and ZMQ checks. Done when the JupyterLite session takes the notebook branch. Confirm first whether the linked PR #167 (closed, unmerged) already covers this.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Likely smell. Worth checking out.
base/imageio.py _isnotebook() only matches a shell class named Shell (Colab) or ZMQInteractiveShell. It has no JupyterLite check; RTB added sys.platform == "emscripten". If the Pyodide shell has another name, Camera takes the desktop branch of its image-plane reuse in the browser. I have not checked what get_ipython().__class__.__name__ is in the MVTB Lite site.
RTB, MVTB and bdsim each have their own copy of this check. rai-opensource/spatialmath-python#271 adds environment() and isnotebook() to spatialmath.base, covering terminal, IPython, Jupyter, Colab and JupyterLite. Once it is released, this could use it.
- Lenguaje dominante
- Python
- Estrellas
- 225
- Forks
- 35
- Merge medio
- 1 d 12 h
- PR fusionados (30 d)
- 33
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 1/5 Menos de una hora Aptitud para principiantes 88/100
petercorke/machinevision-toolbox-python#168 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 76/100
petercorke/machinevision-toolbox-python#160 ·
Los mantenedores suelen responder en 1 día
-
tech-debt
Dificultad 4/5 3-5 días Aptitud para principiantes 39/100
petercorke/machinevision-toolbox-python#159 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 42/100
petercorke/machinevision-toolbox-python#157 ·
Los mantenedores suelen responder en 1 día
-
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
Todos los issues de petercorke/machinevision-toolbox-python
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
aws/sagemaker-python-sdk#6554 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
huggingface/diffusers#15170 ·
Los mantenedores suelen responder en 1 día
-
[BUG] LLM conflict check ignores MNEMOSYNE_LLM_MAX_TOKENS, so reasoning models return empty repliesAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
mnemosyne-oss/mnemosyne#1325 ·
Los mantenedores suelen responder en 1 día
-
enhancement meshtastic-2.8
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
pskillen/meshflow-api#459 ·