[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1042670: flycheck: FTBFS with Sphinx 7.1, docutils 0.20: TypeError: not all arguments converted during string formatting



Control: fixed -1 flycheck 33~git20230824.e56e30d-1
thanks

Hi,

Lucas Nussbaum <lucas@debian.org> writes:

> Source: flycheck
> Version: 32~git.20200527.9c435db3-4
> Severity: important
> Tags: ftbfs
> User: python-modules-team@lists.alioth.debian.org
> Usertags: sphinx7.1
>
> Hi,
>
> flycheck 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>>/doc'
>> sphinx-build -b html -d _build/doctrees -j4 . -Dflycheck_offline_html=1 _build/html
>> Running Sphinx v7.1.1
>> making output directory... done
>> Building offline documentation without external resources!
>> building [mo]: targets for 0 po files that are out of date
>> writing output... 
>> building [html]: targets for 22 source files that are out of date
>> updating environment: [new config] 22 added, 0 changed, 0 removed
>> 
>> Sphinx parallel build error:
>> TypeError: not all arguments converted during string formatting
>> make[2]: *** [Makefile:90: html] Error 2
>
>
> The full build log is available from:
> http://qa-logs.debian.net/2023/07/30/exp/flycheck_32~git.20200527.9c435db3-4_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 sphinx@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-team@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-team@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
>

Didn't notice that the latest upstream snapshot which got packaged and
uploaded already fixed this issue, which I believe is from this
commit[1].  Also verified locally with experimental-enabled sbuild to be
working.  Marking as done with version.

[1] https://github.com/flycheck/flycheck/commit/646de81bfef309aeb3204992ef4d129e1cb53e14

-- 
Xiyue Deng


Reply to: