-
Notifications
You must be signed in to change notification settings - Fork 36
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
Update xhtml2pdf #2047
Update xhtml2pdf #2047
Conversation
Code Climate has analyzed commit 988cd16 and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (50% is the threshold). This pull request will bring the total coverage in the repository to 75.3% (0.0% change). View more on Code Climate. |
@seluianova If I understood correctly, this update also resolves #2022 / xhtml2pdf/xhtml2pdf#662, right? Could you check whether that's true? E.g. before: But it makes xhtml2pdf/xhtml2pdf#538 more apparent? Still struggling to figure out the relations between all those issues 😅 |
Well, kind of. I believe xhtml2pdf/xhtml2pdf#538 was a bigger issue, and now it is broken again. |
bc9d0ca
to
988cd16
Compare
@timobrembeck Hey Timo, do you think it might make sense to keep the changes in test_pdf_export.py and revert the others maybe, in order to close this PR? |
@seluianova The changes in the tests only make sense when the xhtml2pdf version is upgraded (since the newer version depends on I'm going to close this PR but keep the branch, so in case we upgrade eventually, I can reuse the changes. |
Short description
Finally, xhtml2pdf released a new version including @charludo's upstream contribution 🎉
I did not add a new test case for the specific fixed issue, maybe this would be a good idea to make sure it isn't re-introduced in future versions.
Proposed changes
Side effects
<pdf:pagenumber />
is not working anymore with 0.2.9 xhtml2pdf/xhtml2pdf#670)Resolved issues
Fixes: #1498
Fixes: #2022
Also, it removes the vulnerable dependency
future
(see https://github.com/digitalfabrik/integreat-cms/security/dependabot/20)Pull Request Review Guidelines