Downgrade setuptools to fix CI (#50734)
This commit is contained in:
parent
05c6f3ca1d
commit
6b38adaa3d
2 changed files with 5 additions and 6 deletions
|
@ -24,7 +24,7 @@ import weakref
|
|||
import jinja2
|
||||
from jinja2 import contextfilter, contextfunction
|
||||
from jinja2.sandbox import ImmutableSandboxedEnvironment
|
||||
from jinja2.utils import Namespace # type: ignore
|
||||
from jinja2.utils import Namespace
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant.const import (
|
||||
|
@ -581,9 +581,8 @@ class Template:
|
|||
self._strict = strict
|
||||
env = self._env
|
||||
|
||||
self._compiled = cast(
|
||||
jinja2.Template,
|
||||
jinja2.Template.from_code(env, self._compiled_code, env.globals, None),
|
||||
self._compiled = jinja2.Template.from_code(
|
||||
env, self._compiled_code, env.globals, None
|
||||
)
|
||||
|
||||
return self._compiled
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue