Source: behave Version: 1.2.6-4 Severity: important Tags: ftbfs User: [email protected] Usertags: sphinx7.1
Hi, behave 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>>' > dh_auto_build -i > I: pybuild base:240: /usr/bin/python3 setup.py build > /usr/lib/python3/dist-packages/setuptools/dist.py:745: > SetuptoolsDeprecationWarning: Invalid dash-separated options > !! > > > ******************************************************************************** > Usage of dash-separated 'upload-dir' will not be supported in future > versions. Please use the underscore name 'upload_dir' instead. > > By 2023-Sep-26, you need to update your project and remove deprecated > calls > or your builds will no longer be supported. > > See > https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for > details. > > ******************************************************************************** > > !! > opt = self.warn_dash_deprecation(opt, section) > running build > running build_py > copying setuptools_behave.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave > copying behave/configuration.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave > copying behave/model.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave > copying behave/_types.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave > copying behave/parser.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave > copying behave/userdata.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave > copying behave/__main__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave > copying behave/tag_matcher.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave > copying behave/model_describe.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave > copying behave/log_capture.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave > copying behave/json_parser.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave > copying behave/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave > copying behave/textutil.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave > copying behave/runner_util.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave > copying behave/importer.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave > copying behave/i18n.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave > copying behave/runner.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave > copying behave/matchers.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave > copying behave/step_registry.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave > copying behave/capture.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave > copying behave/_stepimport.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave > copying behave/fixture.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave > copying behave/tag_expression.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave > copying behave/model_core.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave/compat > copying behave/compat/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave/compat > copying behave/compat/collections.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave/compat > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave/api > copying behave/api/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave/api > copying behave/api/async_step.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave/api > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave/contrib > copying behave/contrib/formatter_missing_steps.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave/contrib > copying behave/contrib/scenario_autoretry.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave/contrib > copying behave/contrib/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave/contrib > copying behave/contrib/substep_dirs.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave/contrib > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave/formatter > copying behave/formatter/formatters.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave/formatter > copying behave/formatter/plain.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave/formatter > copying behave/formatter/_registry.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave/formatter > copying behave/formatter/base.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave/formatter > copying behave/formatter/rerun.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave/formatter > copying behave/formatter/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave/formatter > copying behave/formatter/pretty.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave/formatter > copying behave/formatter/ansi_escapes.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave/formatter > copying behave/formatter/sphinx_steps.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave/formatter > copying behave/formatter/steps.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave/formatter > copying behave/formatter/sphinx_util.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave/formatter > copying behave/formatter/null.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave/formatter > copying behave/formatter/tags.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave/formatter > copying behave/formatter/_builtins.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave/formatter > copying behave/formatter/json.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave/formatter > copying behave/formatter/progress.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave/formatter > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave/reporter > copying behave/reporter/junit.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave/reporter > copying behave/reporter/base.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave/reporter > copying behave/reporter/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave/reporter > copying behave/reporter/summary.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_behave/build/behave/reporter > cd docs && \ > PYTHONPATH=/<<PKGBUILDDIR>> http_proxy='http://127.0.0.1:9/' > https_proxy='https://127.0.0.1:9/' \ > python3 -m sphinx -N -E -T -b html . /<<PKGBUILDDIR>>/.pybuild/docs/html/ > Running Sphinx v7.1.1 > making output directory... done > loading intersphinx inventory from https://docs.python.org/3/objects.inv... > WARNING: failed to reach any of the inventories with the following issues: > intersphinx inventory 'https://docs.python.org/3/objects.inv' not fetchable > due to <class 'requests.exceptions.ProxyError'>: > HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded > with url: /3/objects.inv (Caused by ProxyError('Cannot connect to proxy.', > NewConnectionError('<urllib3.connection.HTTPSConnection object at > 0x7fcb483a7c50>: Failed to establish a new connection: [Errno 111] Connection > refused'))) > building [mo]: targets for 0 po files that are out of date > writing output... > building [html]: targets for 26 source files that are out of date > updating environment: [new config] 26 added, 0 changed, 0 removed > [2Kreading sources... [ 4%] _common_extlinks > [2Kreading sources... [ 8%] api > > Traceback (most recent call last): > File "/usr/lib/python3/dist-packages/sphinx/cmd/build.py", line 290, in > build_main > app.build(args.force_all, args.filenames) > File "/usr/lib/python3/dist-packages/sphinx/application.py", line 350, in > build > self.builder.build_update() > File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line > 290, in build_update > self.build(to_build, > File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line > 310, in build > updated_docnames = set(self.read()) > ^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line > 417, in read > self._read_serial(docnames) > File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line > 438, in _read_serial > self.read_doc(docname) > File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line > 494, in read_doc > publisher.publish() > File "/usr/lib/python3/dist-packages/docutils/core.py", line 234, in publish > self.document = self.reader.read(self.source, self.parser, > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/sphinx/io.py", line 104, in read > self.parse() > File "/usr/lib/python3/dist-packages/docutils/readers/__init__.py", line > 76, in parse > self.parser.parse(self.input, document) > File "/usr/lib/python3/dist-packages/sphinx/parsers.py", line 80, in parse > self.statemachine.run(inputlines, document, inliner=self.inliner) > File "/usr/lib/python3/dist-packages/docutils/parsers/rst/states.py", line > 170, in run > results = StateMachineWS.run(self, input_lines, input_offset, > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/docutils/statemachine.py", line 233, > in run > context, next_state, result = self.check_line( > ^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/docutils/statemachine.py", line 445, > in check_line > return method(match, context, next_state) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/docutils/parsers/rst/states.py", line > 3025, in text > self.section(title.lstrip(), source, style, lineno + 1, messages) > File "/usr/lib/python3/dist-packages/docutils/parsers/rst/states.py", line > 326, in section > self.new_subsection(title, lineno, messages) > File "/usr/lib/python3/dist-packages/docutils/parsers/rst/states.py", line > 392, in new_subsection > newabsoffset = self.nested_parse( > ^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/docutils/parsers/rst/states.py", line > 280, in nested_parse > state_machine.run(block, input_offset, memo=self.memo, > File "/usr/lib/python3/dist-packages/docutils/parsers/rst/states.py", line > 196, in run > results = StateMachineWS.run(self, input_lines, input_offset) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/docutils/statemachine.py", line 233, > in run > context, next_state, result = self.check_line( > ^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/docutils/statemachine.py", line 445, > in check_line > return method(match, context, next_state) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/docutils/parsers/rst/states.py", line > 2786, in underline > self.section(title, source, style, lineno - 1, messages) > File "/usr/lib/python3/dist-packages/docutils/parsers/rst/states.py", line > 326, in section > self.new_subsection(title, lineno, messages) > File "/usr/lib/python3/dist-packages/docutils/parsers/rst/states.py", line > 392, in new_subsection > newabsoffset = self.nested_parse( > ^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/docutils/parsers/rst/states.py", line > 280, in nested_parse > state_machine.run(block, input_offset, memo=self.memo, > File "/usr/lib/python3/dist-packages/docutils/parsers/rst/states.py", line > 196, in run > results = StateMachineWS.run(self, input_lines, input_offset) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/docutils/statemachine.py", line 233, > in run > context, next_state, result = self.check_line( > ^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/docutils/statemachine.py", line 445, > in check_line > return method(match, context, next_state) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/docutils/parsers/rst/states.py", line > 2786, in underline > self.section(title, source, style, lineno - 1, messages) > File "/usr/lib/python3/dist-packages/docutils/parsers/rst/states.py", line > 326, in section > self.new_subsection(title, lineno, messages) > File "/usr/lib/python3/dist-packages/docutils/parsers/rst/states.py", line > 392, in new_subsection > newabsoffset = self.nested_parse( > ^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/docutils/parsers/rst/states.py", line > 280, in nested_parse > state_machine.run(block, input_offset, memo=self.memo, > File "/usr/lib/python3/dist-packages/docutils/parsers/rst/states.py", line > 196, in run > results = StateMachineWS.run(self, input_lines, input_offset) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/docutils/statemachine.py", line 233, > in run > context, next_state, result = self.check_line( > ^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/docutils/statemachine.py", line 445, > in check_line > return method(match, context, next_state) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/docutils/parsers/rst/states.py", line > 2800, in text > paragraph, literalnext = self.paragraph(lines, startline) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/docutils/parsers/rst/states.py", line > 417, in paragraph > textnodes, messages = self.inline_text(text, lineno) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/docutils/parsers/rst/states.py", line > 426, in inline_text > nodes, messages = self.inliner.parse(text, lineno, > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/docutils/parsers/rst/states.py", line > 650, in parse > before, inlines, remaining, sysmessages = method(self, match, > ^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/docutils/parsers/rst/states.py", line > 793, in interpreted_or_phrase_ref > nodelist, messages = self.interpreted(rawsource, escaped, role, > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/docutils/parsers/rst/states.py", line > 890, in interpreted > nodes, messages2 = role_fn(role, rawsource, text, lineno, self) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > 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 > > 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-hxp5epu8.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:9: override_dh_auto_build-indep] Error 2 The full build log is available from: http://qa-logs.debian.net/2023/07/30/exp/behave_1.2.6-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 [email protected] 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;[email protected] or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=sphinx7.1&[email protected]&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

