deeplook / svglib

Read SVG files and convert them to other formats.
GNU Lesser General Public License v3.0
324 stars 79 forks source link

Reportlab 4.0.0 added dependency to pycairo #376

Closed danielrivard closed 1 year ago

danielrivard commented 1 year ago

It appears that the latest version of reportlab (released May 4th) has added a dependency to pycairo, requiring lib cairo to be installed on the system.

This was my main point to use svglib in the first place, to not need that dependency.

I was able to workaround it by adding the last 3.X version to my requirements file. reportlab==3.6.13

Otherwise, I get errors of pip trying to build the pycairo wheel and not finding the packages on my system.

github-actions[bot] commented 1 year ago

Thank you for raising your first issue! Your help to improve svglib is much appreciated!

claudep commented 1 year ago

That was the right move, that is pinning the reportlab dep on your side. Duplicate of #375.

danielrivard commented 1 year ago

Sorry I had missed there was another issue for this.

Thanks.