Source: numpydoc Version: 1.2.1-1 Severity: important Tags: ftbfs User: mity...@debian.org Usertags: sphinx5.0
Hi, numpydoc fails to build with Sphinx 5.0 and docutils 0.18, both of which are currently available in experimental. Relevant part (hopefully): > debian/rules binary > dh binary --with python3 --buildsystem=pybuild > dh_update_autotools_config -O--buildsystem=pybuild > dh_autoreconf -O--buildsystem=pybuild > dh_auto_configure -O--buildsystem=pybuild > I: pybuild base:239: python3.9 setup.py config > running config > I: pybuild base:239: python3.10 setup.py config > running config > dh_auto_build -O--buildsystem=pybuild > I: pybuild base:239: /usr/bin/python3.9 setup.py build > running build > running build_py > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_numpydoc/build/numpydoc > copying numpydoc/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_numpydoc/build/numpydoc > copying numpydoc/__main__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_numpydoc/build/numpydoc > copying numpydoc/xref.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_numpydoc/build/numpydoc > copying numpydoc/numpydoc.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_numpydoc/build/numpydoc > copying numpydoc/validate.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_numpydoc/build/numpydoc > copying numpydoc/docscrape.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_numpydoc/build/numpydoc > copying numpydoc/docscrape_sphinx.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_numpydoc/build/numpydoc > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_numpydoc/build/numpydoc/tests > copying numpydoc/tests/test_docscrape.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_numpydoc/build/numpydoc/tests > copying numpydoc/tests/test_full.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_numpydoc/build/numpydoc/tests > copying numpydoc/tests/test_xref.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_numpydoc/build/numpydoc/tests > copying numpydoc/tests/test_main.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_numpydoc/build/numpydoc/tests > copying numpydoc/tests/test_validate.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_numpydoc/build/numpydoc/tests > copying numpydoc/tests/test_numpydoc.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_numpydoc/build/numpydoc/tests > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_numpydoc/build/numpydoc/tests/tinybuild > copying numpydoc/tests/tinybuild/Makefile -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_numpydoc/build/numpydoc/tests/tinybuild > copying numpydoc/tests/tinybuild/index.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_numpydoc/build/numpydoc/tests/tinybuild > copying numpydoc/tests/tinybuild/numpydoc_test_module.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_numpydoc/build/numpydoc/tests/tinybuild > copying numpydoc/tests/tinybuild/conf.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_numpydoc/build/numpydoc/tests/tinybuild > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_numpydoc/build/numpydoc/templates > copying numpydoc/templates/numpydoc_docstring.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_numpydoc/build/numpydoc/templates > I: pybuild base:239: /usr/bin/python3 setup.py build > running build > running build_py > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_numpydoc/build/numpydoc > copying numpydoc/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_numpydoc/build/numpydoc > copying numpydoc/__main__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_numpydoc/build/numpydoc > copying numpydoc/xref.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_numpydoc/build/numpydoc > copying numpydoc/numpydoc.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_numpydoc/build/numpydoc > copying numpydoc/validate.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_numpydoc/build/numpydoc > copying numpydoc/docscrape.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_numpydoc/build/numpydoc > copying numpydoc/docscrape_sphinx.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_numpydoc/build/numpydoc > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_numpydoc/build/numpydoc/tests > copying numpydoc/tests/test_docscrape.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_numpydoc/build/numpydoc/tests > copying numpydoc/tests/test_full.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_numpydoc/build/numpydoc/tests > copying numpydoc/tests/test_xref.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_numpydoc/build/numpydoc/tests > copying numpydoc/tests/test_main.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_numpydoc/build/numpydoc/tests > copying numpydoc/tests/test_validate.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_numpydoc/build/numpydoc/tests > copying numpydoc/tests/test_numpydoc.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_numpydoc/build/numpydoc/tests > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_numpydoc/build/numpydoc/tests/tinybuild > copying numpydoc/tests/tinybuild/Makefile -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_numpydoc/build/numpydoc/tests/tinybuild > copying numpydoc/tests/tinybuild/index.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_numpydoc/build/numpydoc/tests/tinybuild > copying numpydoc/tests/tinybuild/numpydoc_test_module.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_numpydoc/build/numpydoc/tests/tinybuild > copying numpydoc/tests/tinybuild/conf.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_numpydoc/build/numpydoc/tests/tinybuild > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_numpydoc/build/numpydoc/templates > copying numpydoc/templates/numpydoc_docstring.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_numpydoc/build/numpydoc/templates > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:239: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_numpydoc/build; python3.9 -m pytest > ============================= test session starts > ============================== > platform linux -- Python 3.9.13, pytest-6.2.5, py-1.10.0, pluggy-1.0.0 > rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg > plugins: cov-3.0.0 > collected 239 items > > numpydoc/numpydoc.py . [ > 0%] > numpydoc/validate.py . [ > 0%] > numpydoc/tests/test_docscrape.py ....................................... [ > 17%] > .................... [ > 25%] > numpydoc/tests/test_full.py ..FFF [ > 27%] > numpydoc/tests/test_main.py ....... [ > 30%] > numpydoc/tests/test_numpydoc.py ........ [ > 33%] > numpydoc/tests/test_validate.py ........................................ [ > 50%] > .......................................x..x............ [ > 73%] > numpydoc/tests/test_xref.py ............................................ [ > 92%] > ................... > [100%] > > =================================== FAILURES > =================================== > _________________________ test_reference[html_file0-1] > _________________________ > > sphinx_app = <sphinx.application.Sphinx object at 0x7fc6a1d5b460> > html_file = ['index.html'], expected_length = 1 > > @pytest.mark.parametrize(("html_file", "expected_length"), ( > (["index.html"], 1), > (["generated", "numpydoc_test_module.my_function.html"], 1), > (["generated", "numpydoc_test_module.MyClass.html"], 1), > )) > def test_reference(sphinx_app, html_file, expected_length): > """Test for bad references""" > out_dir = sphinx_app.outdir > > with open(op.join(out_dir, *html_file), 'r') as fid: > html = fid.read() > > reference_list = re.findall(r'<a class="fn-backref" > href="\#id\d+">(.*)<\/a>', html) > > > assert len(reference_list) == expected_length > E assert 0 == 1 > E + where 0 = len([]) > > expected_length = 1 > fid = <_io.TextIOWrapper > name='/tmp/pytest-of-user42/pytest-12/root/_build/html/index.html' mode='r' > encoding='UTF-8'> > html = '\n<!DOCTYPE html>\n\n<html lang="en">\n <head>\n <meta > charset="utf-8" />\n <meta name="viewport" > content="wid...ref="_sources/index.rst.txt"\n rel="nofollow">Page > source</a>\n </div>\n\n \n\n \n </body>\n</html>' > html_file = ['index.html'] > out_dir = '/tmp/pytest-of-user42/pytest-12/root/_build/html' > reference_list = [] > sphinx_app = <sphinx.application.Sphinx object at 0x7fc6a1d5b460> > > numpydoc/tests/test_full.py:91: AssertionError > _________________________ test_reference[html_file1-1] > _________________________ > > sphinx_app = <sphinx.application.Sphinx object at 0x7fc6a1d5b460> > html_file = ['generated', 'numpydoc_test_module.my_function.html'] > expected_length = 1 > > @pytest.mark.parametrize(("html_file", "expected_length"), ( > (["index.html"], 1), > (["generated", "numpydoc_test_module.my_function.html"], 1), > (["generated", "numpydoc_test_module.MyClass.html"], 1), > )) > def test_reference(sphinx_app, html_file, expected_length): > """Test for bad references""" > out_dir = sphinx_app.outdir > > with open(op.join(out_dir, *html_file), 'r') as fid: > html = fid.read() > > reference_list = re.findall(r'<a class="fn-backref" > href="\#id\d+">(.*)<\/a>', html) > > > assert len(reference_list) == expected_length > E assert 0 == 1 > E + where 0 = len([]) > > expected_length = 1 > fid = <_io.TextIOWrapper > name='/tmp/pytest-of-user42/pytest-12/root/_build/html/generated/numpydoc_test_module.my_function.html' > mode='r' encoding='UTF-8'> > html = '\n<!DOCTYPE html>\n\n<html lang="en">\n <head>\n <meta > charset="utf-8" />\n <meta name="viewport" > content="wid..._module.my_function.rst.txt"\n rel="nofollow">Page > source</a>\n </div>\n\n \n\n \n </body>\n</html>' > html_file = ['generated', 'numpydoc_test_module.my_function.html'] > out_dir = '/tmp/pytest-of-user42/pytest-12/root/_build/html' > reference_list = [] > sphinx_app = <sphinx.application.Sphinx object at 0x7fc6a1d5b460> > > numpydoc/tests/test_full.py:91: AssertionError > _________________________ test_reference[html_file2-1] > _________________________ > > sphinx_app = <sphinx.application.Sphinx object at 0x7fc6a1d5b460> > html_file = ['generated', 'numpydoc_test_module.MyClass.html'] > expected_length = 1 > > @pytest.mark.parametrize(("html_file", "expected_length"), ( > (["index.html"], 1), > (["generated", "numpydoc_test_module.my_function.html"], 1), > (["generated", "numpydoc_test_module.MyClass.html"], 1), > )) > def test_reference(sphinx_app, html_file, expected_length): > """Test for bad references""" > out_dir = sphinx_app.outdir > > with open(op.join(out_dir, *html_file), 'r') as fid: > html = fid.read() > > reference_list = re.findall(r'<a class="fn-backref" > href="\#id\d+">(.*)<\/a>', html) > > > assert len(reference_list) == expected_length > E assert 0 == 1 > E + where 0 = len([]) > > expected_length = 1 > fid = <_io.TextIOWrapper > name='/tmp/pytest-of-user42/pytest-12/root/_build/html/generated/numpydoc_test_module.MyClass.html' > mode='r' encoding='UTF-8'> > html = '\n<!DOCTYPE html>\n\n<html lang="en">\n <head>\n <meta > charset="utf-8" />\n <meta name="viewport" > content="wid...test_module.MyClass.rst.txt"\n rel="nofollow">Page > source</a>\n </div>\n\n \n\n \n </body>\n</html>' > html_file = ['generated', 'numpydoc_test_module.MyClass.html'] > out_dir = '/tmp/pytest-of-user42/pytest-12/root/_build/html' > reference_list = [] > sphinx_app = <sphinx.application.Sphinx object at 0x7fc6a1d5b460> > > numpydoc/tests/test_full.py:91: AssertionError > =============================== warnings summary > =============================== > numpydoc/tests/test_numpydoc.py:194 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_numpydoc/build/numpydoc/tests/test_numpydoc.py:194: > DeprecationWarning: invalid escape sequence \[ > with pytest.raises(ValueError, match="\['shouldnt-be-a-str'\]"): > > .pybuild/cpython3_3.9_numpydoc/build/numpydoc/tests/test_full.py::test_MyClass > .pybuild/cpython3_3.9_numpydoc/build/numpydoc/tests/test_full.py::test_MyClass > .pybuild/cpython3_3.9_numpydoc/build/numpydoc/tests/test_full.py::test_MyClass > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_numpydoc/build/numpydoc/numpydoc.py:106: > PendingDeprecationWarning: nodes.Node.traverse() is obsoleted by > Node.findall(). > for citation_node in doc.traverse(citation): > > .pybuild/cpython3_3.9_numpydoc/build/numpydoc/tests/test_full.py::test_MyClass > .pybuild/cpython3_3.9_numpydoc/build/numpydoc/tests/test_full.py::test_MyClass > .pybuild/cpython3_3.9_numpydoc/build/numpydoc/tests/test_full.py::test_MyClass > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_numpydoc/build/numpydoc/numpydoc.py:86: > PendingDeprecationWarning: nodes.Node.traverse() is obsoleted by > Node.findall(). > sibling_sections = > itertools.chain(section_node.traverse(is_docstring_section, > > .pybuild/cpython3_3.9_numpydoc/build/numpydoc/tests/test_full.py::test_MyClass > .pybuild/cpython3_3.9_numpydoc/build/numpydoc/tests/test_full.py::test_MyClass > .pybuild/cpython3_3.9_numpydoc/build/numpydoc/tests/test_full.py::test_MyClass > .pybuild/cpython3_3.9_numpydoc/build/numpydoc/tests/test_full.py::test_MyClass > .pybuild/cpython3_3.9_numpydoc/build/numpydoc/tests/test_full.py::test_MyClass > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_numpydoc/build/numpydoc/numpydoc.py:124: > PendingDeprecationWarning: nodes.Node.traverse() is obsoleted by > Node.findall(). > for xref_node in ref.parent.traverse(matching_pending_xref): > > .pybuild/cpython3_3.9_numpydoc/build/numpydoc/tests/test_full.py::test_MyClass > .pybuild/cpython3_3.9_numpydoc/build/numpydoc/tests/test_full.py::test_MyClass > .pybuild/cpython3_3.9_numpydoc/build/numpydoc/tests/test_full.py::test_MyClass > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_numpydoc/build/numpydoc/numpydoc.py:132: > PendingDeprecationWarning: nodes.Node.traverse() is obsoleted by > Node.findall(). > for ref in doc.traverse(reference, descend=True): > > .pybuild/cpython3_3.9_numpydoc/build/numpydoc/tests/test_full.py::test_MyClass > .pybuild/cpython3_3.9_numpydoc/build/numpydoc/tests/test_full.py::test_MyClass > .pybuild/cpython3_3.9_numpydoc/build/numpydoc/tests/test_full.py::test_MyClass > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_numpydoc/build/numpydoc/numpydoc.py:135: > PendingDeprecationWarning: nodes.Node.traverse() is obsoleted by > Node.findall(). > for citation_node in doc.traverse(citation, descend=True): > > -- Docs: https://docs.pytest.org/en/stable/warnings.html > - generated xml file: > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_numpydoc/build/junit-results.xml - > > > =========================== short test summary info > ============================ > XFAIL > numpydoc/tests/test_validate.py::TestValidator::test_bad_docstrings[BadParameters-blank_lines-msgs30] > XFAIL > numpydoc/tests/test_validate.py::TestValidator::test_bad_docstrings[BadReturns-no_type-msgs33] > FAILED numpydoc/tests/test_full.py::test_reference[html_file0-1] - assert 0 > == 1 > FAILED numpydoc/tests/test_full.py::test_reference[html_file1-1] - assert 0 > == 1 > FAILED numpydoc/tests/test_full.py::test_reference[html_file2-1] - assert 0 > == 1 > ============ 3 failed, 234 passed, 2 xfailed, 18 warnings in 3.05s > ============= > E: pybuild pybuild:369: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_numpydoc/build; python3.9 -m pytest > I: pybuild base:239: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_numpydoc/build; python3.10 -m pytest > ============================= test session starts > ============================== > platform linux -- Python 3.10.5, pytest-6.2.5, py-1.10.0, pluggy-1.0.0 > rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg > plugins: cov-3.0.0 > collected 239 items > > numpydoc/numpydoc.py . [ > 0%] > numpydoc/validate.py . [ > 0%] > numpydoc/tests/test_docscrape.py ....................................... [ > 17%] > .................... [ > 25%] > numpydoc/tests/test_full.py ..FFF [ > 27%] > numpydoc/tests/test_main.py ....... [ > 30%] > numpydoc/tests/test_numpydoc.py ........ [ > 33%] > numpydoc/tests/test_validate.py ........................................ [ > 50%] > .......................................x..x............ [ > 73%] > numpydoc/tests/test_xref.py ............................................ [ > 92%] > ................... > [100%] > > =================================== FAILURES > =================================== > _________________________ test_reference[html_file0-1] > _________________________ > > sphinx_app = <sphinx.application.Sphinx object at 0x7fd974a0e2c0> > html_file = ['index.html'], expected_length = 1 > > @pytest.mark.parametrize(("html_file", "expected_length"), ( > (["index.html"], 1), > (["generated", "numpydoc_test_module.my_function.html"], 1), > (["generated", "numpydoc_test_module.MyClass.html"], 1), > )) > def test_reference(sphinx_app, html_file, expected_length): > """Test for bad references""" > out_dir = sphinx_app.outdir > > with open(op.join(out_dir, *html_file), 'r') as fid: > html = fid.read() > > reference_list = re.findall(r'<a class="fn-backref" > href="\#id\d+">(.*)<\/a>', html) > > > assert len(reference_list) == expected_length > E assert 0 == 1 > E + where 0 = len([]) > > expected_length = 1 > fid = <_io.TextIOWrapper > name='/tmp/pytest-of-user42/pytest-13/root/_build/html/index.html' mode='r' > encoding='UTF-8'> > html = '\n<!DOCTYPE html>\n\n<html lang="en">\n <head>\n <meta > charset="utf-8" />\n <meta name="viewport" > content="wid...ref="_sources/index.rst.txt"\n rel="nofollow">Page > source</a>\n </div>\n\n \n\n \n </body>\n</html>' > html_file = ['index.html'] > out_dir = '/tmp/pytest-of-user42/pytest-13/root/_build/html' > reference_list = [] > sphinx_app = <sphinx.application.Sphinx object at 0x7fd974a0e2c0> > > numpydoc/tests/test_full.py:91: AssertionError > _________________________ test_reference[html_file1-1] > _________________________ > > sphinx_app = <sphinx.application.Sphinx object at 0x7fd974a0e2c0> > html_file = ['generated', 'numpydoc_test_module.my_function.html'] > expected_length = 1 > > @pytest.mark.parametrize(("html_file", "expected_length"), ( > (["index.html"], 1), > (["generated", "numpydoc_test_module.my_function.html"], 1), > (["generated", "numpydoc_test_module.MyClass.html"], 1), > )) > def test_reference(sphinx_app, html_file, expected_length): > """Test for bad references""" > out_dir = sphinx_app.outdir > > with open(op.join(out_dir, *html_file), 'r') as fid: > html = fid.read() > > reference_list = re.findall(r'<a class="fn-backref" > href="\#id\d+">(.*)<\/a>', html) > > > assert len(reference_list) == expected_length > E assert 0 == 1 > E + where 0 = len([]) > > expected_length = 1 > fid = <_io.TextIOWrapper > name='/tmp/pytest-of-user42/pytest-13/root/_build/html/generated/numpydoc_test_module.my_function.html' > mode='r' encoding='UTF-8'> > html = '\n<!DOCTYPE html>\n\n<html lang="en">\n <head>\n <meta > charset="utf-8" />\n <meta name="viewport" > content="wid..._module.my_function.rst.txt"\n rel="nofollow">Page > source</a>\n </div>\n\n \n\n \n </body>\n</html>' > html_file = ['generated', 'numpydoc_test_module.my_function.html'] > out_dir = '/tmp/pytest-of-user42/pytest-13/root/_build/html' > reference_list = [] > sphinx_app = <sphinx.application.Sphinx object at 0x7fd974a0e2c0> > > numpydoc/tests/test_full.py:91: AssertionError > _________________________ test_reference[html_file2-1] > _________________________ > > sphinx_app = <sphinx.application.Sphinx object at 0x7fd974a0e2c0> > html_file = ['generated', 'numpydoc_test_module.MyClass.html'] > expected_length = 1 > > @pytest.mark.parametrize(("html_file", "expected_length"), ( > (["index.html"], 1), > (["generated", "numpydoc_test_module.my_function.html"], 1), > (["generated", "numpydoc_test_module.MyClass.html"], 1), > )) > def test_reference(sphinx_app, html_file, expected_length): > """Test for bad references""" > out_dir = sphinx_app.outdir > > with open(op.join(out_dir, *html_file), 'r') as fid: > html = fid.read() > > reference_list = re.findall(r'<a class="fn-backref" > href="\#id\d+">(.*)<\/a>', html) > > > assert len(reference_list) == expected_length > E assert 0 == 1 > E + where 0 = len([]) > > expected_length = 1 > fid = <_io.TextIOWrapper > name='/tmp/pytest-of-user42/pytest-13/root/_build/html/generated/numpydoc_test_module.MyClass.html' > mode='r' encoding='UTF-8'> > html = '\n<!DOCTYPE html>\n\n<html lang="en">\n <head>\n <meta > charset="utf-8" />\n <meta name="viewport" > content="wid...test_module.MyClass.rst.txt"\n rel="nofollow">Page > source</a>\n </div>\n\n \n\n \n </body>\n</html>' > html_file = ['generated', 'numpydoc_test_module.MyClass.html'] > out_dir = '/tmp/pytest-of-user42/pytest-13/root/_build/html' > reference_list = [] > sphinx_app = <sphinx.application.Sphinx object at 0x7fd974a0e2c0> > > numpydoc/tests/test_full.py:91: AssertionError > =============================== warnings summary > =============================== > numpydoc/tests/test_numpydoc.py:194 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_numpydoc/build/numpydoc/tests/test_numpydoc.py:194: > DeprecationWarning: invalid escape sequence '\[' > with pytest.raises(ValueError, match="\['shouldnt-be-a-str'\]"): > > .pybuild/cpython3_3.10_numpydoc/build/numpydoc/tests/test_full.py::test_MyClass > .pybuild/cpython3_3.10_numpydoc/build/numpydoc/tests/test_full.py::test_MyClass > .pybuild/cpython3_3.10_numpydoc/build/numpydoc/tests/test_full.py::test_MyClass > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_numpydoc/build/numpydoc/numpydoc.py:106: > PendingDeprecationWarning: nodes.Node.traverse() is obsoleted by > Node.findall(). > for citation_node in doc.traverse(citation): > > .pybuild/cpython3_3.10_numpydoc/build/numpydoc/tests/test_full.py::test_MyClass > .pybuild/cpython3_3.10_numpydoc/build/numpydoc/tests/test_full.py::test_MyClass > .pybuild/cpython3_3.10_numpydoc/build/numpydoc/tests/test_full.py::test_MyClass > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_numpydoc/build/numpydoc/numpydoc.py:86: > PendingDeprecationWarning: nodes.Node.traverse() is obsoleted by > Node.findall(). > sibling_sections = > itertools.chain(section_node.traverse(is_docstring_section, > > .pybuild/cpython3_3.10_numpydoc/build/numpydoc/tests/test_full.py::test_MyClass > .pybuild/cpython3_3.10_numpydoc/build/numpydoc/tests/test_full.py::test_MyClass > .pybuild/cpython3_3.10_numpydoc/build/numpydoc/tests/test_full.py::test_MyClass > .pybuild/cpython3_3.10_numpydoc/build/numpydoc/tests/test_full.py::test_MyClass > .pybuild/cpython3_3.10_numpydoc/build/numpydoc/tests/test_full.py::test_MyClass > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_numpydoc/build/numpydoc/numpydoc.py:124: > PendingDeprecationWarning: nodes.Node.traverse() is obsoleted by > Node.findall(). > for xref_node in ref.parent.traverse(matching_pending_xref): > > .pybuild/cpython3_3.10_numpydoc/build/numpydoc/tests/test_full.py::test_MyClass > .pybuild/cpython3_3.10_numpydoc/build/numpydoc/tests/test_full.py::test_MyClass > .pybuild/cpython3_3.10_numpydoc/build/numpydoc/tests/test_full.py::test_MyClass > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_numpydoc/build/numpydoc/numpydoc.py:132: > PendingDeprecationWarning: nodes.Node.traverse() is obsoleted by > Node.findall(). > for ref in doc.traverse(reference, descend=True): > > .pybuild/cpython3_3.10_numpydoc/build/numpydoc/tests/test_full.py::test_MyClass > .pybuild/cpython3_3.10_numpydoc/build/numpydoc/tests/test_full.py::test_MyClass > .pybuild/cpython3_3.10_numpydoc/build/numpydoc/tests/test_full.py::test_MyClass > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_numpydoc/build/numpydoc/numpydoc.py:135: > PendingDeprecationWarning: nodes.Node.traverse() is obsoleted by > Node.findall(). > for citation_node in doc.traverse(citation, descend=True): > > -- Docs: https://docs.pytest.org/en/stable/warnings.html > - generated xml file: > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_numpydoc/build/junit-results.xml - > > > =========================== short test summary info > ============================ > XFAIL > numpydoc/tests/test_validate.py::TestValidator::test_bad_docstrings[BadParameters-blank_lines-msgs30] > XFAIL > numpydoc/tests/test_validate.py::TestValidator::test_bad_docstrings[BadReturns-no_type-msgs33] > FAILED numpydoc/tests/test_full.py::test_reference[html_file0-1] - assert 0 > == 1 > FAILED numpydoc/tests/test_full.py::test_reference[html_file1-1] - assert 0 > == 1 > FAILED numpydoc/tests/test_full.py::test_reference[html_file2-1] - assert 0 > == 1 > ============ 3 failed, 234 passed, 2 xfailed, 18 warnings in 2.91s > ============= > E: pybuild pybuild:369: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_numpydoc/build; python3.10 -m pytest > dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.9 > 3.10" returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2022/06/23/numpydoc_1.2.1-1_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. 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.18.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=sphinx5.0;users=mity...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=sphinx5.0&fusertaguser=mity...@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