Are you sure jupyterlab was not installed with an earlier version of Sage? Because I think we fixed this in https://trac.sagemath.org/ticket/33607, which was merged in 9.6.beta6.
Try if re-installing jinja2 and markupsafe using "sage -f ...." fixes the problem On Thursday, April 7, 2022 at 4:55:56 AM UTC-7 Sébastien Labbé wrote: > or possibly the solution is to upgrade to a more recent jinja2 which would > use markupsafe according to its version 2.1.1? > > $ cat build/pkgs/jinja2/install-requires.txt > jinja2 >=2.11.2 > $ cat build/pkgs/jinja2/dependencies > $(PYTHON) markupsafe docutils | $(PYTHON_TOOLCHAIN) > > > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/9172f821-2485-44f6-ad83-c0bec136a7edn%40googlegroups.com.