Skip to content

main/py3-docutils: Remove the dependency on py3-pillow

jvoisin requested to merge (removed):remove_pillow_docutils into master

Pillow is only used by docutils to determine the size of pictures when using the scale attribute on an image directive when no height and width attributes are specified.

In my opinion, this is a pretty niche use-case, and doesn't warrant a mandatory dependency. Moreover, docutils also has optional dependencies on Pygments (for syntax highlighting) and recommonmark (for markdown support), and neither are marked as dependencies in the Alpine package.

Source: https://github.com/live-clones/docutils/blob/f5a9e9f115bea8625ae5253ca024f62f4255fedb/docutils/docs/ref/rst/directives.txt#L229-L231

Merge request reports

Loading