contextual help

17 views
Skip to first unread message

kcrisman

unread,
Jun 14, 2021, 4:37:10 PM6/14/21
to sage-cell
When doing e.g. ZZ? in Sage cell, I now get the following warning:

/home/sc_serv/sage/local/lib/python3.9/site-packages/sphinx/jinja2glue.py:106: DeprecationWarning: 'contextfunction' is renamed to 'pass_context', the old name will be removed in Jinja 3.1. def warning(context: Dict, message: str, *args: Any, **kwargs: Any) -> str:


Is this new?  Just an FYI.

Andrey Novoseltsev

unread,
Jun 14, 2021, 4:49:15 PM6/14/21
to sage-cell
This is interesting, but  contextfunction does not show up in SageMathCell repository, so presumably it is not our problem. As it is in sphinx, perhaps we need to upgrade it at some point and the message will go away?

kcrisman

unread,
Jun 14, 2021, 4:51:16 PM6/14/21
to sage-cell
I guess it's in Jinja.  Just something to be aware of.  Anyway, I just realized that this did NOT work for a long time (that is, contextual help like foo?) so thank you for having that work again!

Andrey Novoseltsev

unread,
Jun 14, 2021, 4:53:39 PM6/14/21
to sage-cell
Thank you, although I can't take any credit for that - I have not touched context code for quite some time ;-)
Reply all
Reply to author
Forward
0 new messages