Bug#1103046: python-jinja2: 2.11.3-1+deb11u3 uses inspect.getattr_stati
From
Teddy Hogeborn@21:1/5 to
All on Mon Apr 14 10:40:01 2025
Package: python-jinja2
Version: 2.11.3-1+deb11u2
Severity: grave
Justification: renders package unusable
jinja2 (2.11.3-1+deb11u3), in filters.py, adds a new line:
from inspect import getattr_static
But getattr_static() was added in Python 3.2, and therefore does not
exist in the python-jinja2 package, leading to an "ImportError: cannot
import name getattr_static" when running "python2 -c 'import flask'".
-- System Information:
Debian Release: 11.11
APT prefers oldstable-updates
APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 'oldoldstable-proposed-updates'), (500, 'oldoldstable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-18-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python-jinja2 depends on:
ii python-markupsafe 1.1.1-1+b3
hi python2 2.7.16-1
Versions of packages python-jinja2 recommends:
ii python-pkg-resources 44.1.1-1
Versions of packages python-jinja2 suggests:
ii python-jinja2-doc 2.11.3-1+deb11u3
-- no debconf information
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)