Is that patch still considered, or is it a bad idea?
Claude
--
www.2xlibre.net
_______________________________________________
reportlab-users mailing list
reportl...@lists2.reportlab.com
https://pairlist2.pair.net/mailman/listinfo/reportlab-users
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
--
Robin Becker
Yes, I think we can keep haveImages and simply return True. Good catch!
For svglib, I created:
https://github.com/deeplook/svglib/pull/337
Claude
--
www.2xlibre.net