Skip to content

Jinja2 3.0.0 compatibility: cannot import name 'evalcontextfilter' #7

@ygversil

Description

@ygversil

The plugin is not be compatible with Jinja2 3+. When this Jinja2 version is used, trying to install or activate the plugin within QGIS will raise the following error: cannot import name 'evalcontextfilter' from 'jinja2'.

It seems to be documented: https://jinja.palletsprojects.com/en/3.0.x/api/#jinja2.pass_eval_context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions