Is that patch still considered, or is it a bad idea?
reportlab-users mailing list
I tried the latst version of the patch and it applies cleanly to reportlab. However, when I run our full tests I see this
File "/home/robin/devel/reportlab/.py310/lib/python3.10/site-packages/svglib/svglib.py", line 38, in <module>
from reportlab.lib.utils import haveImages
ImportError: cannot import name 'haveImages' from 'reportlab.lib.utils' (/home/robin/devel/reportlab/reportlab/lib/utils.py)
!!!!! terminating early because of errors
so it seems that svglib has a reference directly to haveImages; I see this in svglib 1.2.1.
If we are just assuming haveImages is true I can just add that to utils.py
Yes, I think we can keep haveImages and simply return True. Good catch!
For svglib, I created: