The Jinja autoescape extension is deprecated since 3.0.0 and removed in 3.1.0. That function is now built-in.
As Fedora 39 ship with Jinja 3.1.2, Ipsilon fails to install/upgrade with the following error:
[2023-12-07 22:28:19,727] Initializing schema for AdminStore [2023-12-07 22:28:21,685] module 'jinja2.ext' has no attribute 'autoescape' [2023-12-07 22:28:21,685] module 'jinja2.ext' has no attribute 'autoescape' Traceback (most recent call last): File "/usr/sbin/ipsilon-server-install", line 528, in <module> install(fplugins, opts) File "/usr/sbin/ipsilon-server-install", line 185, in install dbupgrade.execute_upgrade(ipsilon_conf) File "/usr/lib/python3.12/site-packages/ipsilon/tools/dbupgrade.py", line 81, in execute_upgrade template_env = Environment( ^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/jinja2/environment.py", line 363, in __init__ self.extensions = load_extensions(self, extensions) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/jinja2/environment.py", line 117, in load_extensions extension = t.cast(t.Type["Extension"], import_string(extension)) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/jinja2/utils.py", line 149, in import_string return getattr(__import__(module, None, None, [obj]), obj) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'jinja2.ext' has no attribute 'autoescape' [2023-12-07 22:28:21,692] Installation aborted.
Pull-Request has been merged by ngompa
that was fast :p
The Jinja autoescape extension is deprecated since 3.0.0 and
removed in 3.1.0.
That function is now built-in.
As Fedora 39 ship with Jinja 3.1.2, Ipsilon fails to install/upgrade with the following error: