-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
jinja2 3.1.0 breaks mkdocs #1631
Comments
That was previously deprecated, then removed, called out both times in the changelog. Use a tool like pip-tools to pin your dependencies and control when you get updates. Mkdocs can run their tests with deprecation warnings treated as errors so that they get notified of these types of changes early. |
ok, thanks! |
rgacogne
added a commit
to rgacogne/pdns
that referenced
this issue
Mar 25, 2022
Jinja2 3.1.0 removed deprecated code that is still used by sphinx 1.8.x, and it looks like our custom sphinx extensions are not working with more recent versions of sphinx.. See: - pallets/jinja#1631 - readthedocs/readthedocs.org#9037 and - PowerDNS#7712 The exact error is: ``` Extension error: Could not import extension sphinx.builders.latex (exception: cannot import name 'contextfunction' from 'jinja2' (/dnsdist/pdns/dnsdistdist/.venv/lib/python3.7/site-packages/jinja2/__init__.py)) ```
7 tasks
Habbie
pushed a commit
to Habbie/pdns
that referenced
this issue
Mar 25, 2022
Jinja2 3.1.0 removed deprecated code that is still used by sphinx 1.8.x, and it looks like our custom sphinx extensions are not working with more recent versions of sphinx.. See: - pallets/jinja#1631 - readthedocs/readthedocs.org#9037 and - PowerDNS#7712 The exact error is: ``` Extension error: Could not import extension sphinx.builders.latex (exception: cannot import name 'contextfunction' from 'jinja2' (/dnsdist/pdns/dnsdistdist/.venv/lib/python3.7/site-packages/jinja2/__init__.py)) ``` (cherry picked from commit 92ad297)
8 tasks
Habbie
pushed a commit
to Habbie/pdns
that referenced
this issue
Mar 25, 2022
Jinja2 3.1.0 removed deprecated code that is still used by sphinx 1.8.x, and it looks like our custom sphinx extensions are not working with more recent versions of sphinx.. See: - pallets/jinja#1631 - readthedocs/readthedocs.org#9037 and - PowerDNS#7712 The exact error is: ``` Extension error: Could not import extension sphinx.builders.latex (exception: cannot import name 'contextfunction' from 'jinja2' (/dnsdist/pdns/dnsdistdist/.venv/lib/python3.7/site-packages/jinja2/__init__.py)) ``` (cherry picked from commit 92ad297)
8 tasks
Habbie
pushed a commit
to Habbie/pdns
that referenced
this issue
Mar 25, 2022
Jinja2 3.1.0 removed deprecated code that is still used by sphinx 1.8.x, and it looks like our custom sphinx extensions are not working with more recent versions of sphinx.. See: - pallets/jinja#1631 - readthedocs/readthedocs.org#9037 and - PowerDNS#7712 The exact error is: ``` Extension error: Could not import extension sphinx.builders.latex (exception: cannot import name 'contextfunction' from 'jinja2' (/dnsdist/pdns/dnsdistdist/.venv/lib/python3.7/site-packages/jinja2/__init__.py)) ``` (cherry picked from commit 92ad297)
8 tasks
Habbie
pushed a commit
to Habbie/pdns
that referenced
this issue
Mar 25, 2022
Jinja2 3.1.0 removed deprecated code that is still used by sphinx 1.8.x, and it looks like our custom sphinx extensions are not working with more recent versions of sphinx.. See: - pallets/jinja#1631 - readthedocs/readthedocs.org#9037 and - PowerDNS#7712 The exact error is: ``` Extension error: Could not import extension sphinx.builders.latex (exception: cannot import name 'contextfunction' from 'jinja2' (/dnsdist/pdns/dnsdistdist/.venv/lib/python3.7/site-packages/jinja2/__init__.py)) ``` (cherry picked from commit 92ad297)
8 tasks
Habbie
pushed a commit
to Habbie/pdns
that referenced
this issue
Mar 25, 2022
Jinja2 3.1.0 removed deprecated code that is still used by sphinx 1.8.x, and it looks like our custom sphinx extensions are not working with more recent versions of sphinx.. See: - pallets/jinja#1631 - readthedocs/readthedocs.org#9037 and - PowerDNS#7712 The exact error is: ``` Extension error: Could not import extension sphinx.builders.latex (exception: cannot import name 'contextfunction' from 'jinja2' (/dnsdist/pdns/dnsdistdist/.venv/lib/python3.7/site-packages/jinja2/__init__.py)) ``` (cherry picked from commit 92ad297)
8 tasks
Habbie
pushed a commit
to Habbie/pdns
that referenced
this issue
Mar 25, 2022
Jinja2 3.1.0 removed deprecated code that is still used by sphinx 1.8.x, and it looks like our custom sphinx extensions are not working with more recent versions of sphinx.. See: - pallets/jinja#1631 - readthedocs/readthedocs.org#9037 and - PowerDNS#7712 The exact error is: ``` Extension error: Could not import extension sphinx.builders.latex (exception: cannot import name 'contextfunction' from 'jinja2' (/dnsdist/pdns/dnsdistdist/.venv/lib/python3.7/site-packages/jinja2/__init__.py)) ``` (cherry picked from commit 92ad297)
8 tasks
vitek-rostislav
added a commit
to shopsys/shopsys
that referenced
this issue
Mar 30, 2022
vitek-rostislav
added a commit
to shopsys/shopsys
that referenced
this issue
Mar 31, 2022
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
since the jinja2 3.1.0 release mkdocs does not work any more:
However, if I install jinja2 3.0.0:
cross-reference bug in mkdocs: mkdocs/mkdocs#2799
The text was updated successfully, but these errors were encountered: