Pin versions of dependencies · Issue #2200 · Kozea/WeasyPrint ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ !https://github.com/Kozea/WeasyPrint/issues/2200 Date: October 11, 2024 Image: Pin versions of dependencies · Issue #2200 · Kozea/WeasyPrint — Stack trace: pdf = HTML(file_obj=html, base_url='/').write_pdf() File "/service/venv/lib/python3.9/site-packages/weasyprint/__init__.py", line 252, in write_pdf self.render(font_config, counter_sty... Pin versions of dependencies · Issue #2200 · Kozea/WeasyPrint Stack trace: pdf = HTML(file_obj=html, base_url='/').write_pdf() File "/service/venv/lib/python3.9/site-packages/weasyprint/__init__.py", line 252, in write_pdf self.render(font_config, counter_sty... GitHub · github.com weazyprint was throwing me some errors, turns out that it’s currently not compatible with the latest pydyf package. my error ``` TypeError: __init__() takes 1 positional argument but 3 were give ``` I fixed it by locking in pydyf at 0.8.0 ``` pydyf==0.8.0 ```