Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 620286 - =dev-python/weasyprint-0.29: rdepends on >=cairosvg-1.0.20
Summary: =dev-python/weasyprint-0.29: rdepends on >=cairosvg-1.0.20
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on: 623980
Blocks:
  Show dependency tree
 
Reported: 2017-05-31 19:25 UTC by Bodo Graumann
Modified: 2017-07-07 09:38 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
WeasyPrint 0.36 ebuild with added dependencies (weasyprint-0.36.ebuild,1.22 KB, text/plain)
2017-05-31 19:25 UTC, Bodo Graumann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bodo Graumann 2017-05-31 19:25:22 UTC
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.
Comment 1 Jonas Stein gentoo-dev 2017-05-31 20:39:44 UTC
Thank you for the analysis and the report.
Comment 2 AM 2017-06-07 13:11:11 UTC
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
Comment 3 Aaron W. Swenson gentoo-dev 2017-07-06 14:18:06 UTC
Running into this issue on a production machine.

Looks like CairoSVG is way behind.
Comment 4 Aaron W. Swenson gentoo-dev 2017-07-07 00:25:00 UTC
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.
Comment 5 Aaron W. Swenson gentoo-dev 2017-07-07 09:38:52 UTC
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