💭 Pin versions of dependencies · Issue #2200 · Kozea/WeasyPrint

!https://github.com/Kozea/WeasyPrint/issues/2200

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

Connections

Related tags and posts connected to this entry.