E       AttributeError: 'super' object has no attribute 'transform'

/usr/local/lib/python3.11/site-packages/weasyprint/pdf/stream.py:246: AttributeError

The above exception was the direct cause of the following exception:

self = <tests.test_message_builder.TestPdf object at 0x7f175eaf3850>

--
>           raise HtmlValidationError(f"PDF conversion failed: {e}") from e
E           app.services.message_builder.HtmlValidationError: PDF conversion failed: 'super' object has no attribute 'transform'

app/services/message_builder.py:109: HtmlValidationError
=========================== short test summary info ============================
FAILED tests/test_message_builder.py::TestPdf::test_real_pdf_bytes - app.serv...
1 failed in 0.36s
