Source: python-oslo.policy
Version: 4.1.1-2
Severity: important
Tags: ftbfs
User: python-modules-t...@lists.alioth.debian.org
Usertags: sphinx7.1

Hi,

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

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> make[1]: pyversions: No such file or directory
> py3versions: no X-Python3-Version in control file, using supported versions
> PYTHONPATH=. PYTHON=python3 python3 -m sphinx -b html doc/source 
> debian/python-oslo.policy-doc/usr/share/doc/python-oslo.policy-doc/html
> Running Sphinx v7.1.1
> connecting events for openstackdocstheme
> making output directory... done
> Creating file /<<PKGBUILDDIR>>/doc/source/reference/api/oslo_policy.rst.
> Creating file /<<PKGBUILDDIR>>/doc/source/reference/api/modules.rst.
> Using openstackdocstheme Sphinx theme from 
> /usr/lib/python3/dist-packages/openstackdocstheme/theme
> building [mo]: targets for 0 po files that are out of date
> writing output... 
> building [html]: targets for 25 source files that are out of date
> updating environment: [new config] 27 added, 0 changed, 0 removed
> reading sources... [  4%] admin/index
> reading sources... [  7%] admin/policy-json-file
> reading sources... [ 11%] admin/policy-yaml-file
> reading sources... [ 15%] cli/common/convert-opts
> reading sources... [ 19%] cli/common/default-opts
> reading sources... [ 22%] cli/common/enforcer-opts
> reading sources... [ 26%] cli/common/generator-opts
> reading sources... [ 30%] cli/common/rule-opts
> reading sources... [ 33%] cli/index
> reading sources... [ 37%] cli/oslopolicy-checker
> reading sources... [ 41%] cli/oslopolicy-convert-json-to-yaml
> reading sources... [ 44%] cli/oslopolicy-list-redundant
> reading sources... [ 48%] cli/oslopolicy-policy-generator
> reading sources... [ 52%] cli/oslopolicy-sample-generator
> reading sources... [ 56%] cli/oslopolicy-validator
> reading sources... [ 59%] configuration/index
> reading sources... [ 63%] contributor/index
> reading sources... [ 67%] index
> reading sources... [ 70%] install/index
> reading sources... [ 74%] reference/api/modules
> reading sources... [ 78%] reference/api/oslo_policy
> reading sources... [ 81%] reference/index
> reading sources... [ 85%] user/history
> reading sources... [ 89%] user/index
> reading sources... [ 93%] user/plugins
> /<<PKGBUILDDIR>>/doc/source/user/history.rst:5: CRITICAL: Problems with 
> "include" directive path:
> InputError: [Errno 2] No such file or directory: 'ChangeLog'.
> 
> 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-3jerllzb.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[1]: *** [debian/rules:28: override_dh_sphinxdoc] Error 2


The full build log is available from:
http://qa-logs.debian.net/2023/07/30/exp/python-oslo.policy_4.1.1-2_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