python-pillow fails to build with Sphinx 3.0.0. /builddir/build/BUILD/Pillow-7.1.1/docs/conf.py:292: RemovedInSphinx40Warning: The app.add_javascript() is deprecated. Please use app.add_js_file() instead. app.add_javascript("js/script.js") /builddir/build/BUILD/Pillow-7.1.1/build/lib.linux-x86_64-3.8/PIL/PngImagePlugin.py:docstring of PIL.PngImagePlugin.PngImageFile:1: WARNING: duplicate object description of PIL.PngImagePlugin.PngImageFile, other instance in reference/plugins, use :noindex: for one of them /builddir/build/BUILD/Pillow-7.1.1/build/lib.linux-x86_64-3.8/PIL/PngImagePlugin.py:docstring of PIL.PngImagePlugin.PngImageFile.load_end:1: WARNING: duplicate object description of PIL.PngImagePlugin.PngImageFile.load_end, other instance in reference/plugins, use :noindex: for one of them /builddir/build/BUILD/Pillow-7.1.1/build/lib.linux-x86_64-3.8/PIL/PngImagePlugin.py:docstring of PIL.PngImagePlugin.PngImageFile.load_prepare:1: WARNING: duplicate object description of PIL.PngImagePlugin.PngImageFile.load_prepare, other instance in reference/plugins, use :noindex: for one of them /builddir/build/BUILD/Pillow-7.1.1/build/lib.linux-x86_64-3.8/PIL/PngImagePlugin.py:docstring of PIL.PngImagePlugin.PngImageFile.load_read:1: WARNING: duplicate object description of PIL.PngImagePlugin.PngImageFile.load_read, other instance in reference/plugins, use :noindex: for one of them /builddir/build/BUILD/Pillow-7.1.1/build/lib.linux-x86_64-3.8/PIL/PngImagePlugin.py:docstring of PIL.PngImagePlugin.PngImageFile.seek:1: WARNING: duplicate object description of PIL.PngImagePlugin.PngImageFile.seek, other instance in reference/plugins, use :noindex: for one of them /builddir/build/BUILD/Pillow-7.1.1/build/lib.linux-x86_64-3.8/PIL/PngImagePlugin.py:docstring of PIL.PngImagePlugin.PngImageFile.tell:1: WARNING: duplicate object description of PIL.PngImagePlugin.PngImageFile.tell, other instance in reference/plugins, use :noindex: for one of them /builddir/build/BUILD/Pillow-7.1.1/build/lib.linux-x86_64-3.8/PIL/PngImagePlugin.py:docstring of PIL.PngImagePlugin.PngImageFile.verify:1: WARNING: duplicate object description of PIL.PngImagePlugin.PngImageFile.verify, other instance in reference/plugins, use :noindex: for one of them For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/cstratak/sphinx_3.0.0/fedora-rawhide-x86_64/01335476-python-pillow/ For all our attempts to build python-pillow with Sphinx 3.0.0, see: https://copr.fedorainfracloud.org/coprs/cstratak/sphinx_3.0.0/package/python-pillow/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Sphinx 3: https://copr.fedorainfracloud.org/coprs/cstratak/sphinx_3.0.0/ Let us know here if you have any questions. Sphinx 3 will be included in Fedora 33. To make that update smoother, we're building the dependent packages in Copr. We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.
This is fixed with https://github.com/python-pillow/Pillow/commit/f1f177ce800c5be7d06b0119b979c661c1bfbbb9
https://src.fedoraproject.org/rpms/python-pillow/c/999e81aeee3db65c524d5f15e2e1bef7399febc2