Source: python-gevent
Version: 22.10.2-3
Severity: important
Tags: ftbfs
User: python-modules-t...@lists.alioth.debian.org
Usertags: sphinx7.1

Hi,

python-gevent fails to build with Sphinx 7.1 and docutils 0.20, both of which
are currently available in experimental.

Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>/docs'
> /usr/share/sphinx/scripts/python3/sphinx-build -b html -d _build/doctrees   . 
> _build/html
> Running Sphinx v7.1.1
> making output directory... done
> WARNING: The pre-Sphinx 1.0 'intersphinx_mapping' format is deprecated and 
> will be removed in Sphinx 8. Update to the current format as described in the 
> documentation. Hint: "intersphinx_mapping = {'<name>': 
> ('http://docs.python.org/', 
> '../debian/python.inv')}".https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#confval-intersphinx_mapping
> WARNING: The pre-Sphinx 1.0 'intersphinx_mapping' format is deprecated and 
> will be removed in Sphinx 8. Update to the current format as described in the 
> documentation. Hint: "intersphinx_mapping = {'<name>': 
> ('https://greenlet.readthedocs.io/en/latest/', 
> None)}".https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#confval-intersphinx_mapping
> WARNING: The pre-Sphinx 1.0 'intersphinx_mapping' format is deprecated and 
> will be removed in Sphinx 8. Update to the current format as described in the 
> documentation. Hint: "intersphinx_mapping = {'<name>': 
> ('https://zopeevent.readthedocs.io/en/latest/', 
> None)}".https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#confval-intersphinx_mapping
> WARNING: The pre-Sphinx 1.0 'intersphinx_mapping' format is deprecated and 
> will be removed in Sphinx 8. Update to the current format as described in the 
> documentation. Hint: "intersphinx_mapping = {'<name>': 
> ('https://zopecomponent.readthedocs.io/en/latest/', 
> None)}".https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#confval-intersphinx_mapping
> loading intersphinx inventory from ../debian/python.inv...
> loading intersphinx inventory from 
> https://greenlet.readthedocs.io/en/latest/objects.inv...
> loading intersphinx inventory from 
> https://zopeevent.readthedocs.io/en/latest/objects.inv...
> loading intersphinx inventory from 
> https://zopecomponent.readthedocs.io/en/latest/objects.inv...
> building [mo]: targets for 0 po files that are out of date
> writing output... 
> building [html]: targets for 95 source files that are out of date
> updating environment: [new config] 95 added, 0 changed, 0 removed
> reading sources... [  1%] _about
> reading sources... [  2%] api/gevent
> reading sources... [  3%] api/gevent._socket2
> reading sources... [  4%] api/gevent._socket3
> reading sources... [  5%] api/gevent._ssl2
> reading sources... [  6%] api/gevent._ssl3
> reading sources... [  7%] api/gevent._sslgte279
> reading sources... [  8%] api/gevent.ares
> reading sources... [  9%] api/gevent.backdoor
> reading sources... [ 11%] api/gevent.baseserver
> reading sources... [ 12%] api/gevent.builtins
> reading sources... [ 13%] api/gevent.contextvars
> reading sources... [ 14%] api/gevent.core
> reading sources... [ 15%] api/gevent.event
> /usr/lib/python3.11/ssl.py:docstring of ssl.SSLCertVerificationError:1: 
> WARNING: duplicate object description of ssl.SSLCertVerificationError, other 
> instance in api/gevent._ssl2, use :noindex: for one of them
> /usr/lib/python3.11/ssl.py:docstring of ssl.SSLEOFError:1: WARNING: duplicate 
> object description of ssl.SSLEOFError, other instance in api/gevent._ssl2, 
> use :noindex: for one of them
> /usr/lib/python3.11/ssl.py:docstring of ssl.SSLError:1: WARNING: duplicate 
> object description of ssl.SSLError, other instance in api/gevent._ssl2, use 
> :noindex: for one of them
> /usr/lib/python3.11/ssl.py:docstring of ssl.SSLSyscallError:1: WARNING: 
> duplicate object description of ssl.SSLSyscallError, other instance in 
> api/gevent._ssl2, use :noindex: for one of them
> /usr/lib/python3.11/ssl.py:docstring of ssl.SSLWantReadError:1: WARNING: 
> duplicate object description of ssl.SSLWantReadError, other instance in 
> api/gevent._ssl2, use :noindex: for one of them
> /usr/lib/python3.11/ssl.py:docstring of ssl.SSLWantWriteError:1: WARNING: 
> duplicate object description of ssl.SSLWantWriteError, other instance in 
> api/gevent._ssl2, use :noindex: for one of them
> /usr/lib/python3.11/ssl.py:docstring of ssl.SSLZeroReturnError:1: WARNING: 
> duplicate object description of ssl.SSLZeroReturnError, other instance in 
> api/gevent._ssl2, use :noindex: for one of them
> /usr/lib/python3.11/ssl.py:docstring of ssl.AlertDescription:1: WARNING: 
> duplicate object description of ssl.AlertDescription, other instance in 
> api/gevent._ssl2, use :noindex: for one of them
> /usr/lib/python3.11/ssl.py:docstring of ssl.DefaultVerifyPaths:1: WARNING: 
> duplicate object description of ssl.DefaultVerifyPaths, other instance in 
> api/gevent._ssl2, use :noindex: for one of them
> /usr/lib/python3.11/ssl.py:docstring of ssl.Options:1: WARNING: duplicate 
> object description of ssl.Options, other instance in api/gevent._ssl2, use 
> :noindex: for one of them
> /usr/lib/python3.11/ssl.py:docstring of ssl.Purpose:1: WARNING: duplicate 
> object description of ssl.Purpose, other instance in api/gevent._ssl2, use 
> :noindex: for one of them
> /usr/lib/python3.11/ssl.py:docstring of ssl.SSLErrorNumber:1: WARNING: 
> duplicate object description of ssl.SSLErrorNumber, other instance in 
> api/gevent._ssl2, use :noindex: for one of them
> /usr/lib/python3.11/ssl.py:docstring of ssl.SSLObject:1: WARNING: duplicate 
> object description of ssl.SSLObject, other instance in api/gevent._ssl2, use 
> :noindex: for one of them
> /usr/lib/python3.11/ssl.py:docstring of ssl.TLSVersion:1: WARNING: duplicate 
> object description of ssl.TLSVersion, other instance in api/gevent._ssl2, use 
> :noindex: for one of them
> /usr/lib/python3.11/ssl.py:docstring of ssl.VerifyFlags:1: WARNING: duplicate 
> object description of ssl.VerifyFlags, other instance in api/gevent._ssl2, 
> use :noindex: for one of them
> /usr/lib/python3.11/ssl.py:docstring of ssl.VerifyMode:1: WARNING: duplicate 
> object description of ssl.VerifyMode, other instance in api/gevent._ssl2, use 
> :noindex: for one of them
> /usr/lib/python3.11/ssl.py:docstring of ssl.SSLCertVerificationError:1: 
> WARNING: duplicate object description of ssl.SSLCertVerificationError, other 
> instance in api/gevent._ssl3, use :noindex: for one of them
> /usr/lib/python3.11/ssl.py:docstring of ssl.SSLEOFError:1: WARNING: duplicate 
> object description of ssl.SSLEOFError, other instance in api/gevent._ssl3, 
> use :noindex: for one of them
> /usr/lib/python3.11/ssl.py:docstring of ssl.SSLError:1: WARNING: duplicate 
> object description of ssl.SSLError, other instance in api/gevent._ssl3, use 
> :noindex: for one of them
> /usr/lib/python3.11/ssl.py:docstring of ssl.SSLSyscallError:1: WARNING: 
> duplicate object description of ssl.SSLSyscallError, other instance in 
> api/gevent._ssl3, use :noindex: for one of them
> /usr/lib/python3.11/ssl.py:docstring of ssl.SSLWantReadError:1: WARNING: 
> duplicate object description of ssl.SSLWantReadError, other instance in 
> api/gevent._ssl3, use :noindex: for one of them
> /usr/lib/python3.11/ssl.py:docstring of ssl.SSLWantWriteError:1: WARNING: 
> duplicate object description of ssl.SSLWantWriteError, other instance in 
> api/gevent._ssl3, use :noindex: for one of them
> /usr/lib/python3.11/ssl.py:docstring of ssl.SSLZeroReturnError:1: WARNING: 
> duplicate object description of ssl.SSLZeroReturnError, other instance in 
> api/gevent._ssl3, use :noindex: for one of them
> /usr/lib/python3.11/ssl.py:docstring of ssl.AlertDescription:1: WARNING: 
> duplicate object description of ssl.AlertDescription, other instance in 
> api/gevent._ssl3, use :noindex: for one of them
> /usr/lib/python3.11/ssl.py:docstring of ssl.DefaultVerifyPaths:1: WARNING: 
> duplicate object description of ssl.DefaultVerifyPaths, other instance in 
> api/gevent._ssl3, use :noindex: for one of them
> /usr/lib/python3.11/ssl.py:docstring of ssl.Options:1: WARNING: duplicate 
> object description of ssl.Options, other instance in api/gevent._ssl3, use 
> :noindex: for one of them
> /usr/lib/python3.11/ssl.py:docstring of ssl.Purpose:1: WARNING: duplicate 
> object description of ssl.Purpose, other instance in api/gevent._ssl3, use 
> :noindex: for one of them
> /usr/lib/python3.11/ssl.py:docstring of ssl.SSLErrorNumber:1: WARNING: 
> duplicate object description of ssl.SSLErrorNumber, other instance in 
> api/gevent._ssl3, use :noindex: for one of them
> /usr/lib/python3.11/ssl.py:docstring of ssl.SSLObject:1: WARNING: duplicate 
> object description of ssl.SSLObject, other instance in api/gevent._ssl3, use 
> :noindex: for one of them
> /usr/lib/python3.11/ssl.py:docstring of ssl.TLSVersion:1: WARNING: duplicate 
> object description of ssl.TLSVersion, other instance in api/gevent._ssl3, use 
> :noindex: for one of them
> /usr/lib/python3.11/ssl.py:docstring of ssl.VerifyFlags:1: WARNING: duplicate 
> object description of ssl.VerifyFlags, other instance in api/gevent._ssl3, 
> use :noindex: for one of them
> /usr/lib/python3.11/ssl.py:docstring of ssl.VerifyMode:1: WARNING: duplicate 
> object description of ssl.VerifyMode, other instance in api/gevent._ssl3, use 
> :noindex: for one of them
> WARNING: autodoc: failed to import module 'ares' from module 'gevent'; the 
> following exception was raised:
> No module named 'gevent.resolver.cares'
> WARNING: autodoc: failed to import module 'core' from module 'gevent'; the 
> following exception was raised:
> cannot import name '_corecffi' from 'gevent.libuv' 
> (/<<PKGBUILDDIR>>/src/gevent/libuv/__init__.py)
> 
> Exception occurred:
>   File "/usr/lib/python3/dist-packages/sphinx/ext/extlinks.py", line 103, in 
> role
>     title = caption % part
>             ~~~~~~~~^~~~~~
> TypeError: not all arguments converted during string formatting
> The full traceback has been saved in /tmp/sphinx-err-pjvobssh.log, if you 
> want to report the issue to the developers.
> Please also report this if it was a user error, so that a better error 
> message can be provided next time.
> A bug report can be filed in the tracker at 
> <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
> make[2]: *** [Makefile:34: html] Error 2


The full build log is available from:
http://qa-logs.debian.net/2023/07/30/exp/python-gevent_22.10.2-3_unstable_sphinx-exp.log

Please see [1] for Sphinx changelog and [2] for Docutils changelog.

Also see [3] for the list of deprecated/removed APIs in Sphinx and possible
alternatives to them.

Some notable changes in Sphinx 6 and Sphinx 7:

- Sphinx no longer includes jquery.js and underscore.js by default.
  Please use python3-sphinxcontrib.jquery package if you are using a custom
  template and it still needs jquery.

- The setup.py build_sphinx command was removed. Please instead call
  sphinx-build or "python3 -m sphinx" directly.

- For packages using the extlinks extension, the caption should contain
  exactly one "%s" placeholder (if caption is not None).

In case you have questions, please Cc sph...@packages.debian.org on reply.

[1]: https://www.sphinx-doc.org/en/master/changes.html
[2]: 
https://repo.or.cz/docutils.git/blob/refs/tags/docutils-0.20.1:/RELEASE-NOTES.txt
[3]: 
https://www.sphinx-doc.org/en/master/extdev/deprecated.html#dev-deprecated-apis

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=sphinx7.1;users=python-modules-t...@lists.alioth.debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=sphinx7.1&fusertaguser=python-modules-t...@lists.alioth.debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

Reply via email to