Open pradumangoyal opened 4 years ago
Why not upgrade the others instead of downgrading WeasyPrint?
Actually, we are installing Cairo without specifying any version number. But it's by default installing to a version less than the 1.15.4 (minimum for the latest version of the Weasyprint) for our base image. So, for using the latest Weasprint, we might need to tinker with our base image.
Although the main issue due to this we are facing is a warning which appears with any management command running. Otherwise, we don't encounter any rendering issue (as specified in the warning message) in our limited use of the Weasyprint.
We are facing the issue described here: https://github.com/Kozea/WeasyPrint/issues/915 currently due to mismatch in the version of the docker base image, GTK cairo, and the Weasyprint.