Re: AttributeError: 'super' object has no attribute 'transform'
Uwe Steinmann <[email protected]> Thu, 18 Dec 2025 09:42:29 +0100
| Newsgroups | gmane.linux.debian.devel.python |
|---|---|
| Message-ID | <[email protected]> |
Am Thu, Dec 11, 2025 at 01:37:35PM +0100 schrieb Stéphane Glondu: > 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. I was able to build the above packages on sid, but I'm also not very familiar with Python packaging. At least they seem to work and didn't break anything. Uwe
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE3CvlpjXW3PCUob0wN8K0+GQhOf8FAmlDvnEACgkQN8K0+GQh Of8MrQ/8ClzOaSLWuXX36vicXmzHJ9VW8Vr0p+RlWl2y25MOYIqTwyXqBctIAmgj fFwYFx7EGCEXxxEdJCGN6fs7Itd3tIEWgKI5zqtq/lNTAiXpgEc159eqXpZdW+jP a/BnwDG1quFQ7gOx8884cxJTNbnNz+0kF3rp6+/Sew1WISg3fBoeANbHh5SOnBT4 0vWHVm1TyUht/Mrq+pDBLsZsi6Pvl5X8Y6wghrIEaaJ65K0d8boGUCiYxyYc6luy lOgU2Pt5LhLxnylktRY8XVei6bPI0CinpNYK3uWfdIf1RAg8rJjuKVN/q8L4yUe5 dfwk3pxahMYmgFFiSYLT26pHSy99siIjXc3rUv0FonuPAmW6Hb1xQrrVXw983yFj UBc+VNnbV4WYZSfTIMtoEFksGAajDCK0guVglffgI1L806vPlmJSbdIutdr72TW8 8VAMAtwOWsD4eYX8tyhtEhb2WKWT09CYi6CD28DGglNBbksYXQ0uDXu2MbFDduxU 5kc70gOOM1zIsSThdyz6wUaYNaUbR7TBC4SBf/wPeg3Gu/5dvvK4TmIMwEqf7HZD 8GUizRFcOwy2wd5+rzJEYhjbFgxRLq4sYV61veCs7urDceWhgTkxOH1WSVPsvyxO vQyhFX19oSLMZl7aJHkTqdftCAe7nV3OdRjpmUMBqi0Jmiybsz8= =+/4i -----END PGP SIGNATURE-----