genalog does not work with newer versions of weasyprint
Newer versions of weasyprint (53.x) removed their dependency on cairo and do not support PNG exports anymore (see Kozea/WeasyPrint#1232 and https://www.courtbouillon.org/blog/00004-weasyprint-without-cairo-what-s-different)
This breaks some parts of the genalog code, specifically the following methods are affected (as far as I have seen) https://github.com/microsoft/genalog/blob/b8b9fbabdde5855e8bcc9db025e78cc619e15cd1/genalog/generation/document.py#L97 https://github.com/microsoft/genalog/blob/b8b9fbabdde5855e8bcc9db025e78cc619e15cd1/genalog/generation/document.py#L127
Maybe some warning should be added to the documentation regarding this and what is the plan moving forward.
Thank you :D
Thanks for pointing that out! Will keep this in mind as we proceed. If you mind me asking, is there a feature you are looking for in using the latest release of weasyprint?
The easiest way to design HTML layouts right now is using the CSS grid layout, however weasyprint does not currently supports it (not even in the latest release as of now). However, its on the milestones for version 54 (see here). I think this is a must have for genalog.