omniport-backend icon indicating copy to clipboard operation
omniport-backend copied to clipboard

Downgrade the WeasyPrint version to 0.423

Open pradumangoyal opened this issue 5 years ago • 2 comments

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.

pradumangoyal avatar Sep 11 '20 03:09 pradumangoyal

Why not upgrade the others instead of downgrading WeasyPrint?

dhruvkb avatar Sep 11 '20 13:09 dhruvkb

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.

pradumangoyal avatar Sep 11 '20 15:09 pradumangoyal