Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weasyprint 61.x - PDF.__init__() takes 1 positional argument but 3 were given #2204

Closed
jbpenrath opened this issue Jul 17, 2024 · 1 comment

Comments

@jbpenrath
Copy link

jbpenrath commented Jul 17, 2024

I'm using Weasyprint 61.x in one of my project. Yesterday I rebuilt my project (that's reinstalled all packages). Since this build, all my tests testing PDF generation are failing with the following error : PDF.__init__() takes 1 positional argument but 3 were given.

As I do not pin exactly Weasyprint, I first believed that the version 61.2 introduces a breaking change but actually not, rollback to a previous minor version does not fix the issue.

But, I think this is due to the upprade of a sub-dependency.

From my side, upgrading to version 62 has fixed the issue and all is working well so it's ok but I still believe something is wrong with Weasyprint 61.x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants