python-scraperlib icon indicating copy to clipboard operation
python-scraperlib copied to clipboard

image module depends on libcairo

Open rgaudin opened this issue 1 year ago • 2 comments

Note sure what to do about it but the image module depends on a ffmpeg dependency of dependency (libcairo via libavcodec). This means that someone not planning on using any video related modules and thus not installing ffmpeg will see it fail (not at install stage but at import one)

rgaudin avatar Sep 17 '24 17:09 rgaudin

This is indeed something I noticed in warc2zim (see Dockerfile change in https://github.com/openzim/warc2zim/commit/217769e9f3169068273056fea4bd67ca007ce781#diff-dd2c0eb6ea5cfc6c4bd4eac30934e2d5746747af48fef6da689e85b752f39557L6) but forgot to mention here.

Should we simply mention libcairo in README dependencies?

benoit74 avatar Sep 19 '24 07:09 benoit74

I see it as good enough for now.

rgaudin avatar Sep 19 '24 11:09 rgaudin

Duplicate of https://github.com/openzim/python-scraperlib/issues/190

benoit74 avatar Nov 14 '24 15:11 benoit74