You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
doctor | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
doctor | File "/opt/app/doctor/urls.py", line 3, in <module>
doctor | from . import views
doctor | File "/opt/app/doctor/views.py", line 34, in <module>
doctor | from doctor.tasks import (
doctor | File "/opt/app/doctor/tasks.py", line 18, in <module>
doctor | from lxml.html.clean import Cleaner
doctor | File "/usr/local/lib/python3.10/site-packages/lxml/html/clean.py", line 18, in <module>
doctor | raise ImportError(
doctor | ImportError: lxml.html.clean module is now a separate project lxml_html_clean.
doctor | Install lxml[html_clean] or lxml_html_clean directly.
I'm updating doctor to better handle images or annotations inside a PDF but I came across our new friend - the removal of Cleaner functionality from lmxl.
We should remove and replace this code - I assume it's already causing issues that we haven't noticed yet or may soon enough.
The text was updated successfully, but these errors were encountered:
flooie
changed the title
Cleaner
Requirements needs to be updated because of LXML changes
Apr 19, 2024
I don't think it should be causing issues, since we haven't updated any dependencies, but yeah, we should swap it out for NH3, like elsewhere. So it goes!
I'm updating doctor to better handle images or annotations inside a PDF but I came across our new friend - the removal of
Cleaner
functionality fromlmxl
.We should remove and replace this code - I assume it's already causing issues that we haven't noticed yet or may soon enough.
The text was updated successfully, but these errors were encountered: