fix(deps): update dependency jinja2 to v3.1.1 (#267)

This commit is contained in:
renovate[bot] 2022-03-27 13:13:34 +02:00 committed by GitHub
parent 6e91fbf598
commit a6ace7a257
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 8 deletions

View File

@ -11,7 +11,7 @@ import jinja2.exceptions
import ruamel.yaml import ruamel.yaml
from jinja2 import Environment from jinja2 import Environment
from jinja2 import FileSystemLoader from jinja2 import FileSystemLoader
from jinja2.filters import evalcontextfilter from jinja2.filters import pass_eval_context
import ansibledoctor.exception import ansibledoctor.exception
from ansibledoctor.config import SingleConfig from ansibledoctor.config import SingleConfig
@ -155,7 +155,7 @@ class Generator:
if isinstance(d, dict) else default, keys.split("."), dictionary if isinstance(d, dict) else default, keys.split("."), dictionary
) )
@evalcontextfilter @pass_eval_context
def _save_join(self, eval_ctx, value, d=u"", attribute=None): def _save_join(self, eval_ctx, value, d=u"", attribute=None):
if isinstance(value, str): if isinstance(value, str):
value = [value] value = [value]

10
poetry.lock generated
View File

@ -310,11 +310,11 @@ plugins = ["setuptools"]
[[package]] [[package]]
name = "jinja2" name = "jinja2"
version = "3.0.3" version = "3.1.1"
description = "A very fast and expressive template engine." description = "A very fast and expressive template engine."
category = "main" category = "main"
optional = false optional = false
python-versions = ">=3.6" python-versions = ">=3.7"
[package.dependencies] [package.dependencies]
MarkupSafe = ">=2.0" MarkupSafe = ">=2.0"
@ -690,7 +690,7 @@ testing = ["pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytest-
[metadata] [metadata]
lock-version = "1.1" lock-version = "1.1"
python-versions = "^3.7.0" python-versions = "^3.7.0"
content-hash = "af1f7bc24158fe3f2fc12111dc2b2c7747a9f2a6a7fdaccddc835b9e92fc7875" content-hash = "0901a0a9c6dc84a2c5996549e1109ddb83c6b49e4ec0a180f9ee97ecdad1866d"
[metadata.files] [metadata.files]
anyconfig = [ anyconfig = [
@ -829,8 +829,8 @@ isort = [
{file = "isort-5.10.1.tar.gz", hash = "sha256:e8443a5e7a020e9d7f97f1d7d9cd17c88bcb3bc7e218bf9cf5095fe550be2951"}, {file = "isort-5.10.1.tar.gz", hash = "sha256:e8443a5e7a020e9d7f97f1d7d9cd17c88bcb3bc7e218bf9cf5095fe550be2951"},
] ]
jinja2 = [ jinja2 = [
{file = "Jinja2-3.0.3-py3-none-any.whl", hash = "sha256:077ce6014f7b40d03b47d1f1ca4b0fc8328a692bd284016f806ed0eaca390ad8"}, {file = "Jinja2-3.1.1-py3-none-any.whl", hash = "sha256:539835f51a74a69f41b848a9645dbdc35b4f20a3b601e2d9a7e22947b15ff119"},
{file = "Jinja2-3.0.3.tar.gz", hash = "sha256:611bb273cd68f3b993fabdc4064fc858c5b47a973cb5aa7999ec1ba405c87cd7"}, {file = "Jinja2-3.1.1.tar.gz", hash = "sha256:640bed4bb501cbd17194b3cace1dc2126f5b619cf068a726b98192a0fde74ae9"},
] ]
jsonschema = [ jsonschema = [
{file = "jsonschema-4.4.0-py3-none-any.whl", hash = "sha256:77281a1f71684953ee8b3d488371b162419767973789272434bbc3f29d9c8823"}, {file = "jsonschema-4.4.0-py3-none-any.whl", hash = "sha256:77281a1f71684953ee8b3d488371b162419767973789272434bbc3f29d9c8823"},

View File

@ -35,7 +35,7 @@ repository = "https://github.com/thegeeklab/ansible-doctor/"
version = "0.0.0" version = "0.0.0"
[tool.poetry.dependencies] [tool.poetry.dependencies]
Jinja2 = "3.0.3" Jinja2 = "3.1.1"
anyconfig = "0.12.0" anyconfig = "0.12.0"
appdirs = "1.4.4" appdirs = "1.4.4"
colorama = "0.4.4" colorama = "0.4.4"