πŸ’­ 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 ``` NOTE β”‚ This post is a thought . It’s a short note that I make about someone else’s content online #thoughts