Skip to content
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

auth-4.6.x docs: Pin jinja2 to < 3.1.0 #11461

Merged

Commits on Mar 25, 2022

  1. docs: Pin jinja2 to < 3.1.0

    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)
    rgacogne authored and Habbie committed Mar 25, 2022
    Configuration menu
    Copy the full SHA
    bbb442f View commit details
    Browse the repository at this point in the history