-
Notifications
You must be signed in to change notification settings - Fork 576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DeprecationWarning: 'contextfilter' is renamed to 'pass_context' #1568
Comments
sjdemartini
added a commit
to sjdemartini/nbconvert
that referenced
this issue
Jul 16, 2021
Resolves jupyter#1568. As noted in the Jinja docs here https://jinja.palletsprojects.com/en/3.0.x/api/#jinja2.contextfilter and in the Changelog here https://jinja.palletsprojects.com/en/3.0.x/changes/#version-3-0-0, the `contextfilter` decorator has been replaced with `pass_context`, which provides the same functionality. `contextfilter` will be removed in Jinja 3.1.
This was referenced Jul 16, 2021
This should presumably have been fixed in #1624 |
thanks! |
Hi, I am still getting this warning with nbconvert. Version: 6.1.0 Is there a way to resolve? |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nbconvert/nbconvert/exporters/html.py
Line 14 in d7c286b
As discussed here: pallets/jinja#1381
contextfilter
is now deprecated.This causes the following warning to show up whenever using the exporters:
Thanks
The text was updated successfully, but these errors were encountered: