Package: python-lxml
Version: 4.3.2-1+deb10u1
Severity: important
After upgrading from 4.3.2-1 to 4.3.2-1+deb10u1:
$ python
Python 2.7.16 (default, Oct 10 2019, 22:02:15) [GCC 8.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import lxml.html.clean
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "src/lxml/html/clean.py", line 72, in init lxml.html.clean
AttributeError: 'module' object has no attribute 'ASCII'
Downgrading to 4.3.2-1 makes this work again.
-- System Information:
Debian Release: 10.7
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-13-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python-lxml depends on:
ii libc6 2.28-10
ii libxml2 2.9.4+dfsg1-7+deb10u1
ii libxslt1.1 1.1.32-2.2~deb10u1
ii python 2.7.16-1
ii zlib1g 1:1.2.11.dfsg-1
Versions of packages python-lxml recommends:
ii python-bs4 4.7.1-1
ii python-html5lib 1.0.1-1
Versions of packages python-lxml suggests:
pn python-lxml-dbg <none>
pn python-lxml-doc <none>
-- no debconf information