Bug 1823884 - python-pillow fails to build with Sphinx 3.0.0
Summary: python-pillow fails to build with Sphinx 3.0.0
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pillow
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Sandro Mani
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: SPHINX3
TreeView+ depends on / blocked
 
Reported: 2020-04-14 17:49 UTC by Charalampos Stratakis
Modified: 2020-04-21 16:29 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-04-21 16:29:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Charalampos Stratakis 2020-04-14 17:49:26 UTC
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.

Comment 1 Charalampos Stratakis 2020-04-17 01:34:30 UTC
This is fixed with https://github.com/python-pillow/Pillow/commit/f1f177ce800c5be7d06b0119b979c661c1bfbbb9


Note You need to log in before you can comment on or make changes to this bug.