[FIX] requirements: fix jinja version for py 3.11
The pinned version of markupsafe for python > 3.10 is incompatible with the pinned version of jinja. With this commit, the Jinja version is pinned to follow Debian bookworm version when python > 3.10 which should fix the issue. closes odoo/odoo#117191 X-original-commit: 548d177e16f364b35f61f861df132dfcedc71e28 Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com> Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
This commit is contained in:
+2
-1
@@ -18,7 +18,8 @@ greenlet==0.4.17 ; python_version > '3.7' and python_version <= '3.9'
|
||||
greenlet==1.1.2 ; python_version > '3.9' and python_version <= '3.10' # (Jammy)
|
||||
greenlet==2.0.2 ; python_version > '3.10'
|
||||
idna==2.8
|
||||
Jinja2==2.11.3 # min version = 2.10.1 (Focal - with security backports)
|
||||
Jinja2==2.11.3 ; python_version <= '3.10' # min version = 2.10.1 (Focal - with security backports)
|
||||
Jinja2==3.1.2 ; python_version > '3.10'
|
||||
libsass==0.20.1
|
||||
lxml==4.6.5 ; python_version <= '3.10' # min version = 4.5.0 (Focal - with security backports)
|
||||
lxml==4.9.2 ; python_version > '3.10'
|
||||
|
||||
Reference in New Issue
Block a user