Created attachment 474876 [details] WeasyPrint 0.36 ebuild with added dependencies When trying to use weasyprint-0.29 I get the following error: > pkg_resources.DistributionNotFound: The 'CairoSVG>=1.0.20' distribution was not found and is required by WeasyPrint Maybe cairosvg-1.0.22 can be added to the tree. The bump seems trivial. Also the current weasyprint version is 0.36, but that seems to require even more dependencies * tinycss-0.4 * html5lib-0.999999999 * webencodings I got it to works fine with those installed.
Thank you for the analysis and the report.
I'm seeing the same thing in a Gentoo LXC container. Weird thing is, this is a copy of a slightly older LXC container which has the same version of weasyprint (0.29) and the same version of cairosvg (1.0.7) and in this container weasyprint does not complain about it needing cairosvg >= 1.0.20....... Regards, Angelo Machils
Running into this issue on a production machine. Looks like CairoSVG is way behind.
I have this whole mess cleaned up in my overlay: https://github.com/titanofold/titanofold-gentoo-x86 Plus, I have weasyprint-0.39 ready to go.
commit 049fe45baceb3654fc454f21e3d0a1ea4578206e Author: Aaron W. Swenson <titanofold@gentoo.org> Date: Fri Jul 7 05:34:11 2017 -0400 dev-python/weasyprint: Version Bump Now depends on packages to pass tests fixing bug 580536. Now depends on x11-libs/gdk-pixbuf to enable support for additional image formats. Correctly depend on >=media-gfx/cairosvg-1.0.20 fixing bug 620286. Bug: 580536, 620286 Package-Manager: Portage-2.3.6, Repoman-2.3.1