Re: AttributeError: 'super' object has no attribute 'transform'
Stéphane Glondu <[email protected]> Thu, 11 Dec 2025 13:37:35 +0100
| Newsgroups | gmane.linux.debian.devel.python |
|---|---|
| Message-ID | <[email protected]> |
Control: tags -1 + patch Le 10/12/2025 à 17:11, Stéphane Glondu a écrit : >> I see that a new upstream version of weasyprint is available; maybe >> upgrading it fixes the issue? > > It requires (at least) tinyhtml5, which is not (yet) packaged in Debian. It also requires tinycss2 >= 1.5.0. I've packaged tinyhtml5 (based on html5lib), updated tinycss2 and weasyprint to latest upstreams, and I get what seems to be a working weasyprint (at least for my usecase): https://salsa.debian.org/glondu/tinyhtml5 https://salsa.debian.org/glondu/python-tinycss2 https://salsa.debian.org/glondu/weasyprint The only caveat (in my usecase) is that the input incoding no longer defaults to utf-8 (but setting it via <meta ...> works). Since I'm not familiar with Python packaging, I would prefer that someone more knowledgeable uploads the packages. Cheers,