Download raw body.
devel/ipython - missing RDEP
On 2024/04/18 21:27, Bjorn Ketelaars wrote:
> jupyter-notebook fails to run notebooks with the following error:
>
..
> File "/usr/local/lib/python3.10/site-packages/IPython/core/guarded_eval.py", line 35, in <module>
> from typing_extensions import Self, LiteralString
> ModuleNotFoundError: No module named 'typing_extensions'
>
> I believe this is caused by a missing RDEP in devel/ipython, which
> recently received an update. With the diff below jupyer-notebook is
> happy again.
right, typing_extensions is needed until python 3.12.
OK.
>
>
> diff --git Makefile Makefile
> index 18f85e7a7f5..432c6ddaa5a 100644
> --- Makefile
> +++ Makefile
> @@ -1,6 +1,7 @@
> COMMENT = enhanced interactive Python shell
>
> MODPY_EGG_VERSION = 8.23.0
> +REVISION = 0
> DISTNAME = ipython-${MODPY_EGG_VERSION}
> PKGNAME = ipython${MODPY_MAJOR_VERSION}-${MODPY_EGG_VERSION}
>
> @@ -32,6 +33,7 @@ RUN_DEPENDS = databases/py-pickleshare${MODPY_FLAVOR} \
> devel/py-prompt_toolkit${MODPY_FLAVOR}>=3.0.41v1,<3.1.0v1 \
> devel/py-stack_data${MODPY_FLAVOR} \
> devel/py-traitlets${MODPY_FLAVOR}>=5.13.0 \
> + devel/py-typing-extensions${MODPY_FLAVOR} \
> graphics/py-matplotlib-inline${MODPY_FLAVOR} \
> textproc/py-pygments${MODPY_FLAVOR}>=2.4.0
>
>
devel/ipython - missing RDEP