weasyprint in Fedora is currently at 0.22 (released in Mai 2014) which is really outdated. Is there any reason not to update the package using the latest release (v0.39, https://github.com/Kozea/WeasyPrint/releases/tag/v0.39)?
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle. Changing version to '27'. More information and reason for this action is here: https://fedoraproject.org/wiki/Releases/27/HouseKeeping#Rawhide_Rebase
At the mean time there is weasyprint 0.41 (https://pypi.python.org/pypi/WeasyPrint/0.41). I have an updated spec file but the new weasyprint depends on other python packages which are outdated in Fedora as well...
WeasyPrint 0.41 depends on - pdfrw >= 0.4 (bug 1524986) - cssselect2 >= 0.1 (not packaged yet!) - tinycss2 >= 0.5 (not packaged yet!) WeasyPrint 0.39 (my original request) seems to be a bit easier to package right now (according to install.rst) as there is no pdfrw dependency and cssselect>=0.6 is enough.
Just fyi: I created a pull request with some changes to ease transition to 0.39 (https://src.fedoraproject.org/rpms/weasyprint/pull-request/1) Also I created a package for python-tinycss2. If someone likes to submit this to Fedora please do :-) I really lack the time to be a good maintainer but I can co-maintain if desired. - https://github.com/FelixSchwarz/fedora-python-tinycss2 - https://copr.fedorainfracloud.org/coprs/fschwarz/python-tinycss2/packages/
fyi: I created a review request for python-tinycss2 (bug 1526200).
Ok, python-tinycss2 is in rawhide now (co-maintainers welcome!). I built it for rawhide only as the only real user is likely weasyprint. What do you think about updating WeasyPrint to 0.39 first (maybe even push that for F27) and going for 0.41 in rawhide (as we need cssselect2 and an updated python-pdfrw)?
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle. Changing version to '28'.
Latest stable can be found https://github.com/Kozea/WeasyPrint/releases/latest, although the pre-release (https://github.com/Kozea/WeasyPrint/releases/latest) removes the dependency from pdfrw. Would it be possible to have latest stable in Fedora 28?
Sorry, pre-release is to be found at https://github.com/Kozea/WeasyPrint/releases/tag/v43rc1.
Meanwhile, weasyprint is at version 44 and the version in Fedora is still 0.22 from May 2014. The last real activity here was over a year ago, so could weasyprint please be upgraded really soon now? If not, the package should probably be removed. (I only discovered this by running into issue https://github.com/Kozea/WeasyPrint/issues/334, which should long since be resolved.)
This bug appears to have been reported against 'rawhide' during the Fedora 30 development cycle. Changing version to '30.
Eric, are you still maintaining this package? The latest upstream version of WeasyPrint is now 47.
Also, the packaged WeasyPrint 0.22 has not actually worked in Fedora in a long time. See Bug #1560147.
Version 0.39 pushed to rawhide and f30-testing. As Felix pointed out, we can't yet use newer versions due to the requirement for cssselect2.
A review request has been created for cssselect2, necessary for newer vresions of weasyprint: https://bugzilla.redhat.com/show_bug.cgi?id=1704917
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to '31'.
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to 31.
Just FYI: I started updating WeasyPrint and building is easy (now that all requirements are packaged in Fedora) but I noticed that the RPM does not run WeasyPrint's test suite as part of the build process. Unfortunately the test suite does not pass as I get ~40 test failures. - Anyone interested in figuring out why the test suite fails? I'd push my changes to some git repo so we could collaborate on that. - Anyone against updating WeasyPrint from 0.39 to something current in F31 even though it is a "major" update? (I think most users would just see many bugs fixed) - With F31 versions we can only ship WeasyPrint 47 (latest is 50). I would have to push the major python-cairosvg update (1.0 -> 2.4) from rawhide to F31. Only dnfdragora depends on python-cairosvg so this might be fine. Comments?
All dependencies should be up-to-date now. Some test cases have been fixed while there are still some failing tests. I'll try to fix as many as possible before pushing this to rawhide. Unfortunately the Fedora weasyprint stack did not see a lot of updates in the last years so I had to push quite a few major updates. Therefore the up-to-date weasyprint will likely only ship in F32.
WeasyPrint 50 is in rawhide now. I'll check if I can get WeasyPrint 47 to build for F31 (I still get test failures there while everything passes in rawhide).
FEDORA-2019-e7a35878eb has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-e7a35878eb
weasyprint-47-1.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-e7a35878eb
weasyprint-47-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.