Source: sphinx-autoapi Version: 1.8.4-1 Severity: important Tags: ftbfs User: mity...@debian.org Usertags: sphinx5.0
Hi, sphinx-autoapi 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,sphinxdoc --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_sphinx-autoapi/build/autoapi > copying autoapi/toctree.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi > copying autoapi/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi > copying autoapi/extension.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi > copying autoapi/settings.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi > copying autoapi/inheritance_diagrams.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi > copying autoapi/directives.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi > copying autoapi/documenters.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi > copying autoapi/backends.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/mappers > copying autoapi/mappers/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/mappers > copying autoapi/mappers/go.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/mappers > copying autoapi/mappers/base.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/mappers > copying autoapi/mappers/javascript.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/mappers > copying autoapi/mappers/dotnet.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/mappers > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/mappers/python > copying autoapi/mappers/python/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/mappers/python > copying autoapi/mappers/python/parser.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/mappers/python > copying autoapi/mappers/python/astroid_utils.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/mappers/python > copying autoapi/mappers/python/objects.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/mappers/python > copying autoapi/mappers/python/mapper.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/mappers/python > running egg_info > creating sphinx_autoapi.egg-info > writing sphinx_autoapi.egg-info/PKG-INFO > writing dependency_links to sphinx_autoapi.egg-info/dependency_links.txt > writing requirements to sphinx_autoapi.egg-info/requires.txt > writing top-level names to sphinx_autoapi.egg-info/top_level.txt > writing manifest file 'sphinx_autoapi.egg-info/SOURCES.txt' > reading manifest file 'sphinx_autoapi.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > warning: no files found matching 'LICENSE.mit' > adding license file 'LICENSE.rst' > writing manifest file 'sphinx_autoapi.egg-info/SOURCES.txt' > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates > copying autoapi/templates/index.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/base > copying autoapi/templates/base/base.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/base > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/dotnet > copying autoapi/templates/dotnet/base_detail.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/dotnet > copying autoapi/templates/dotnet/base_embed.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/dotnet > copying autoapi/templates/dotnet/base_list.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/dotnet > copying autoapi/templates/dotnet/class.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/dotnet > copying autoapi/templates/dotnet/constructor.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/dotnet > copying autoapi/templates/dotnet/delegate.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/dotnet > copying autoapi/templates/dotnet/enum.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/dotnet > copying autoapi/templates/dotnet/event.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/dotnet > copying autoapi/templates/dotnet/field.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/dotnet > copying autoapi/templates/dotnet/interface.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/dotnet > copying autoapi/templates/dotnet/method.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/dotnet > copying autoapi/templates/dotnet/namespace.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/dotnet > copying autoapi/templates/dotnet/operator.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/dotnet > copying autoapi/templates/dotnet/property.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/dotnet > copying autoapi/templates/dotnet/struct.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/dotnet > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/go > copying autoapi/templates/go/base_member.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/go > copying autoapi/templates/go/const.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/go > copying autoapi/templates/go/func.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/go > copying autoapi/templates/go/method.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/go > copying autoapi/templates/go/package.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/go > copying autoapi/templates/go/type.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/go > copying autoapi/templates/go/var.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/go > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/javascript > copying autoapi/templates/javascript/class.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/javascript > copying autoapi/templates/javascript/function.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/javascript > copying autoapi/templates/javascript/member.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/javascript > copying autoapi/templates/javascript/module.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/javascript > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/python > copying autoapi/templates/python/attribute.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/python > copying autoapi/templates/python/class.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/python > copying autoapi/templates/python/data.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/python > copying autoapi/templates/python/exception.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/python > copying autoapi/templates/python/function.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/python > copying autoapi/templates/python/method.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/python > copying autoapi/templates/python/module.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/python > copying autoapi/templates/python/package.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/templates/python > I: pybuild pybuild:326: python3 setup.py build_sphinx -b html && python3 > setup.py build_sphinx -b text > running build_sphinx > Running Sphinx v5.0.2 > WARNING: Invalid configuration value found: 'language = None'. Update your > configuration to a valid langauge code. Falling back to 'en' (English). > making output directory... done > WARNING: html_static_path entry '_static' does not exist > [AutoAPI] Reading files... [ 5%] /<<PKGBUILDDIR>>/autoapi/toctree.py > [AutoAPI] Reading files... [ 11%] /<<PKGBUILDDIR>>/autoapi/__init__.py > [AutoAPI] Reading files... [ 16%] /<<PKGBUILDDIR>>/autoapi/extension.py > [AutoAPI] Reading files... [ 22%] /<<PKGBUILDDIR>>/autoapi/settings.py > [AutoAPI] Reading files... [ 27%] > /<<PKGBUILDDIR>>/autoapi/inheritance_diagrams.py > [AutoAPI] Reading files... [ 33%] /<<PKGBUILDDIR>>/autoapi/directives.py > [AutoAPI] Reading files... [ 38%] /<<PKGBUILDDIR>>/autoapi/documenters.py > [AutoAPI] Reading files... [ 44%] /<<PKGBUILDDIR>>/autoapi/backends.py > [AutoAPI] Reading files... [ 50%] /<<PKGBUILDDIR>>/autoapi/mappers/__init__.py > [AutoAPI] Reading files... [ 55%] /<<PKGBUILDDIR>>/autoapi/mappers/go.py > [AutoAPI] Reading files... [ 61%] /<<PKGBUILDDIR>>/autoapi/mappers/base.py > [AutoAPI] Reading files... [ 66%] > /<<PKGBUILDDIR>>/autoapi/mappers/javascript.py > [AutoAPI] Reading files... [ 72%] /<<PKGBUILDDIR>>/autoapi/mappers/dotnet.py > [AutoAPI] Reading files... [ 77%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/__init__.py > [AutoAPI] Reading files... [ 83%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/parser.py > [AutoAPI] Reading files... [ 88%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/astroid_utils.py > [AutoAPI] Reading files... [ 94%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/objects.py > [AutoAPI] Reading files... [100%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/mapper.py > > [AutoAPI] Mapping Data... [ 5%] /<<PKGBUILDDIR>>/autoapi/toctree.py > [AutoAPI] Mapping Data... [ 11%] /<<PKGBUILDDIR>>/autoapi/__init__.py > [AutoAPI] Mapping Data... [ 16%] /<<PKGBUILDDIR>>/autoapi/extension.py > [AutoAPI] Mapping Data... [ 22%] /<<PKGBUILDDIR>>/autoapi/settings.py > [AutoAPI] Mapping Data... [ 27%] > /<<PKGBUILDDIR>>/autoapi/inheritance_diagrams.py > [AutoAPI] Mapping Data... [ 33%] /<<PKGBUILDDIR>>/autoapi/directives.py > [AutoAPI] Mapping Data... [ 38%] /<<PKGBUILDDIR>>/autoapi/documenters.py > [AutoAPI] Mapping Data... [ 44%] /<<PKGBUILDDIR>>/autoapi/backends.py > [AutoAPI] Mapping Data... [ 50%] /<<PKGBUILDDIR>>/autoapi/mappers/__init__.py > [AutoAPI] Mapping Data... [ 55%] /<<PKGBUILDDIR>>/autoapi/mappers/go.py > [AutoAPI] Mapping Data... [ 61%] /<<PKGBUILDDIR>>/autoapi/mappers/base.py > [AutoAPI] Mapping Data... [ 66%] > /<<PKGBUILDDIR>>/autoapi/mappers/javascript.py > [AutoAPI] Mapping Data... [ 72%] /<<PKGBUILDDIR>>/autoapi/mappers/dotnet.py > [AutoAPI] Mapping Data... [ 77%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/__init__.py > [AutoAPI] Mapping Data... [ 83%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/parser.py > [AutoAPI] Mapping Data... [ 88%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/astroid_utils.py > [AutoAPI] Mapping Data... [ 94%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/objects.py > [AutoAPI] Mapping Data... [100%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/mapper.py > > [autosummary] generating autosummary for: how_to.rst, index.rst, > maintenance/design.rst, maintenance/release-process.rst, > reference/config.rst, reference/directives.rst, reference/templates.rst, > tutorials.rst > building [mo]: targets for 0 po files that are out of date > building [html]: targets for 8 source files that are out of date > updating environment: [new config] 8 added, 0 changed, 0 removed > reading sources... [ 12%] how_to > reading sources... [ 25%] index > reading sources... [ 37%] maintenance/design > reading sources... [ 50%] maintenance/release-process > reading sources... [ 62%] reference/config > reading sources... [ 75%] reference/directives > reading sources... [ 87%] reference/templates > reading sources... [100%] tutorials > > looking for now-outdated files... none found > pickling environment... done > checking consistency... done > preparing documents... done > writing output... [ 12%] how_to > writing output... [ 25%] index > writing output... [ 37%] maintenance/design > writing output... [ 50%] maintenance/release-process > writing output... [ 62%] reference/config > writing output... [ 75%] reference/directives > writing output... [ 87%] reference/templates > writing output... [100%] tutorials > > WARNING: dot command 'dot' cannot be run (needed for graphviz output), check > the graphviz_dot setting > /<<PKGBUILDDIR>>/docs/tutorials.rst:7: WARNING: unknown document: > sphinx:usage/quickstart > generating indices... genindex done > writing additional pages... search done > copying static files... done > copying extra files... done > dumping search index in English (code: en)... done > dumping object inventory... done > build succeeded, 4 warnings. > > The HTML pages are in build/sphinx/html. > running build_sphinx > Running Sphinx v5.0.2 > WARNING: Invalid configuration value found: 'language = None'. Update your > configuration to a valid langauge code. Falling back to 'en' (English). > making output directory... done > WARNING: html_static_path entry '_static' does not exist > loading pickled environment... done > [AutoAPI] Reading files... [ 5%] /<<PKGBUILDDIR>>/autoapi/toctree.py > [AutoAPI] Reading files... [ 11%] /<<PKGBUILDDIR>>/autoapi/__init__.py > [AutoAPI] Reading files... [ 16%] /<<PKGBUILDDIR>>/autoapi/extension.py > [AutoAPI] Reading files... [ 22%] /<<PKGBUILDDIR>>/autoapi/settings.py > [AutoAPI] Reading files... [ 27%] > /<<PKGBUILDDIR>>/autoapi/inheritance_diagrams.py > [AutoAPI] Reading files... [ 33%] /<<PKGBUILDDIR>>/autoapi/directives.py > [AutoAPI] Reading files... [ 38%] /<<PKGBUILDDIR>>/autoapi/documenters.py > [AutoAPI] Reading files... [ 44%] /<<PKGBUILDDIR>>/autoapi/backends.py > [AutoAPI] Reading files... [ 50%] /<<PKGBUILDDIR>>/autoapi/mappers/__init__.py > [AutoAPI] Reading files... [ 55%] /<<PKGBUILDDIR>>/autoapi/mappers/go.py > [AutoAPI] Reading files... [ 61%] /<<PKGBUILDDIR>>/autoapi/mappers/base.py > [AutoAPI] Reading files... [ 66%] > /<<PKGBUILDDIR>>/autoapi/mappers/javascript.py > [AutoAPI] Reading files... [ 72%] /<<PKGBUILDDIR>>/autoapi/mappers/dotnet.py > [AutoAPI] Reading files... [ 77%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/__init__.py > [AutoAPI] Reading files... [ 83%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/parser.py > [AutoAPI] Reading files... [ 88%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/astroid_utils.py > [AutoAPI] Reading files... [ 94%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/objects.py > [AutoAPI] Reading files... [100%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/mapper.py > > [AutoAPI] Mapping Data... [ 5%] /<<PKGBUILDDIR>>/autoapi/toctree.py > [AutoAPI] Mapping Data... [ 11%] /<<PKGBUILDDIR>>/autoapi/__init__.py > [AutoAPI] Mapping Data... [ 16%] /<<PKGBUILDDIR>>/autoapi/extension.py > [AutoAPI] Mapping Data... [ 22%] /<<PKGBUILDDIR>>/autoapi/settings.py > [AutoAPI] Mapping Data... [ 27%] > /<<PKGBUILDDIR>>/autoapi/inheritance_diagrams.py > [AutoAPI] Mapping Data... [ 33%] /<<PKGBUILDDIR>>/autoapi/directives.py > [AutoAPI] Mapping Data... [ 38%] /<<PKGBUILDDIR>>/autoapi/documenters.py > [AutoAPI] Mapping Data... [ 44%] /<<PKGBUILDDIR>>/autoapi/backends.py > [AutoAPI] Mapping Data... [ 50%] /<<PKGBUILDDIR>>/autoapi/mappers/__init__.py > [AutoAPI] Mapping Data... [ 55%] /<<PKGBUILDDIR>>/autoapi/mappers/go.py > [AutoAPI] Mapping Data... [ 61%] /<<PKGBUILDDIR>>/autoapi/mappers/base.py > [AutoAPI] Mapping Data... [ 66%] > /<<PKGBUILDDIR>>/autoapi/mappers/javascript.py > [AutoAPI] Mapping Data... [ 72%] /<<PKGBUILDDIR>>/autoapi/mappers/dotnet.py > [AutoAPI] Mapping Data... [ 77%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/__init__.py > [AutoAPI] Mapping Data... [ 83%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/parser.py > [AutoAPI] Mapping Data... [ 88%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/astroid_utils.py > [AutoAPI] Mapping Data... [ 94%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/objects.py > [AutoAPI] Mapping Data... [100%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/mapper.py > > [autosummary] generating autosummary for: how_to.rst, index.rst, > maintenance/design.rst, maintenance/release-process.rst, > reference/config.rst, reference/directives.rst, reference/templates.rst, > tutorials.rst > building [mo]: targets for 0 po files that are out of date > building [text]: targets for 8 source files that are out of date > updating environment: 0 added, 0 changed, 0 removed > looking for now-outdated files... none found > preparing documents... done > writing output... [ 12%] how_to > writing output... [ 25%] index > writing output... [ 37%] maintenance/design > writing output... [ 50%] maintenance/release-process > writing output... [ 62%] reference/config > writing output... [ 75%] reference/directives > writing output... [ 87%] reference/templates > writing output... [100%] tutorials > > /<<PKGBUILDDIR>>/docs/tutorials.rst:7: WARNING: unknown document: > sphinx:usage/quickstart > build succeeded, 3 warnings. > > The text files are in build/sphinx/text. > I: pybuild base:239: /usr/bin/python3 setup.py build > running build > running build_py > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi > copying autoapi/toctree.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi > copying autoapi/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi > copying autoapi/extension.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi > copying autoapi/settings.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi > copying autoapi/inheritance_diagrams.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi > copying autoapi/directives.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi > copying autoapi/documenters.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi > copying autoapi/backends.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/mappers > copying autoapi/mappers/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/mappers > copying autoapi/mappers/go.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/mappers > copying autoapi/mappers/base.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/mappers > copying autoapi/mappers/javascript.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/mappers > copying autoapi/mappers/dotnet.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/mappers > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/mappers/python > copying autoapi/mappers/python/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/mappers/python > copying autoapi/mappers/python/parser.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/mappers/python > copying autoapi/mappers/python/astroid_utils.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/mappers/python > copying autoapi/mappers/python/objects.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/mappers/python > copying autoapi/mappers/python/mapper.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/mappers/python > running egg_info > writing sphinx_autoapi.egg-info/PKG-INFO > writing dependency_links to sphinx_autoapi.egg-info/dependency_links.txt > writing requirements to sphinx_autoapi.egg-info/requires.txt > writing top-level names to sphinx_autoapi.egg-info/top_level.txt > reading manifest file 'sphinx_autoapi.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > warning: no files found matching 'LICENSE.mit' > adding license file 'LICENSE.rst' > writing manifest file 'sphinx_autoapi.egg-info/SOURCES.txt' > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates > copying autoapi/templates/index.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/base > copying autoapi/templates/base/base.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/base > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/dotnet > copying autoapi/templates/dotnet/base_detail.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/dotnet > copying autoapi/templates/dotnet/base_embed.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/dotnet > copying autoapi/templates/dotnet/base_list.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/dotnet > copying autoapi/templates/dotnet/class.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/dotnet > copying autoapi/templates/dotnet/constructor.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/dotnet > copying autoapi/templates/dotnet/delegate.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/dotnet > copying autoapi/templates/dotnet/enum.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/dotnet > copying autoapi/templates/dotnet/event.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/dotnet > copying autoapi/templates/dotnet/field.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/dotnet > copying autoapi/templates/dotnet/interface.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/dotnet > copying autoapi/templates/dotnet/method.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/dotnet > copying autoapi/templates/dotnet/namespace.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/dotnet > copying autoapi/templates/dotnet/operator.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/dotnet > copying autoapi/templates/dotnet/property.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/dotnet > copying autoapi/templates/dotnet/struct.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/dotnet > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/go > copying autoapi/templates/go/base_member.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/go > copying autoapi/templates/go/const.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/go > copying autoapi/templates/go/func.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/go > copying autoapi/templates/go/method.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/go > copying autoapi/templates/go/package.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/go > copying autoapi/templates/go/type.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/go > copying autoapi/templates/go/var.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/go > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/javascript > copying autoapi/templates/javascript/class.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/javascript > copying autoapi/templates/javascript/function.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/javascript > copying autoapi/templates/javascript/member.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/javascript > copying autoapi/templates/javascript/module.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/javascript > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/python > copying autoapi/templates/python/attribute.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/python > copying autoapi/templates/python/class.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/python > copying autoapi/templates/python/data.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/python > copying autoapi/templates/python/exception.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/python > copying autoapi/templates/python/function.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/python > copying autoapi/templates/python/method.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/python > copying autoapi/templates/python/module.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/python > copying autoapi/templates/python/package.rst -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/templates/python > I: pybuild pybuild:326: python3 setup.py build_sphinx -b html && python3 > setup.py build_sphinx -b text > running build_sphinx > Running Sphinx v5.0.2 > WARNING: Invalid configuration value found: 'language = None'. Update your > configuration to a valid langauge code. Falling back to 'en' (English). > WARNING: html_static_path entry '_static' does not exist > loading pickled environment... done > [AutoAPI] Reading files... [ 5%] /<<PKGBUILDDIR>>/autoapi/toctree.py > [AutoAPI] Reading files... [ 11%] /<<PKGBUILDDIR>>/autoapi/__init__.py > [AutoAPI] Reading files... [ 16%] /<<PKGBUILDDIR>>/autoapi/extension.py > [AutoAPI] Reading files... [ 22%] /<<PKGBUILDDIR>>/autoapi/settings.py > [AutoAPI] Reading files... [ 27%] > /<<PKGBUILDDIR>>/autoapi/inheritance_diagrams.py > [AutoAPI] Reading files... [ 33%] /<<PKGBUILDDIR>>/autoapi/directives.py > [AutoAPI] Reading files... [ 38%] /<<PKGBUILDDIR>>/autoapi/documenters.py > [AutoAPI] Reading files... [ 44%] /<<PKGBUILDDIR>>/autoapi/backends.py > [AutoAPI] Reading files... [ 50%] /<<PKGBUILDDIR>>/autoapi/mappers/__init__.py > [AutoAPI] Reading files... [ 55%] /<<PKGBUILDDIR>>/autoapi/mappers/go.py > [AutoAPI] Reading files... [ 61%] /<<PKGBUILDDIR>>/autoapi/mappers/base.py > [AutoAPI] Reading files... [ 66%] > /<<PKGBUILDDIR>>/autoapi/mappers/javascript.py > [AutoAPI] Reading files... [ 72%] /<<PKGBUILDDIR>>/autoapi/mappers/dotnet.py > [AutoAPI] Reading files... [ 77%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/__init__.py > [AutoAPI] Reading files... [ 83%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/parser.py > [AutoAPI] Reading files... [ 88%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/astroid_utils.py > [AutoAPI] Reading files... [ 94%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/objects.py > [AutoAPI] Reading files... [100%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/mapper.py > > [AutoAPI] Mapping Data... [ 5%] /<<PKGBUILDDIR>>/autoapi/toctree.py > [AutoAPI] Mapping Data... [ 11%] /<<PKGBUILDDIR>>/autoapi/__init__.py > [AutoAPI] Mapping Data... [ 16%] /<<PKGBUILDDIR>>/autoapi/extension.py > [AutoAPI] Mapping Data... [ 22%] /<<PKGBUILDDIR>>/autoapi/settings.py > [AutoAPI] Mapping Data... [ 27%] > /<<PKGBUILDDIR>>/autoapi/inheritance_diagrams.py > [AutoAPI] Mapping Data... [ 33%] /<<PKGBUILDDIR>>/autoapi/directives.py > [AutoAPI] Mapping Data... [ 38%] /<<PKGBUILDDIR>>/autoapi/documenters.py > [AutoAPI] Mapping Data... [ 44%] /<<PKGBUILDDIR>>/autoapi/backends.py > [AutoAPI] Mapping Data... [ 50%] /<<PKGBUILDDIR>>/autoapi/mappers/__init__.py > [AutoAPI] Mapping Data... [ 55%] /<<PKGBUILDDIR>>/autoapi/mappers/go.py > [AutoAPI] Mapping Data... [ 61%] /<<PKGBUILDDIR>>/autoapi/mappers/base.py > [AutoAPI] Mapping Data... [ 66%] > /<<PKGBUILDDIR>>/autoapi/mappers/javascript.py > [AutoAPI] Mapping Data... [ 72%] /<<PKGBUILDDIR>>/autoapi/mappers/dotnet.py > [AutoAPI] Mapping Data... [ 77%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/__init__.py > [AutoAPI] Mapping Data... [ 83%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/parser.py > [AutoAPI] Mapping Data... [ 88%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/astroid_utils.py > [AutoAPI] Mapping Data... [ 94%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/objects.py > [AutoAPI] Mapping Data... [100%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/mapper.py > > [autosummary] generating autosummary for: how_to.rst, index.rst, > maintenance/design.rst, maintenance/release-process.rst, > reference/config.rst, reference/directives.rst, reference/templates.rst, > tutorials.rst > building [mo]: targets for 0 po files that are out of date > building [html]: targets for 0 source files that are out of date > updating environment: 0 added, 0 changed, 0 removed > looking for now-outdated files... none found > no targets are out of date. > build succeeded, 2 warnings. > > The HTML pages are in build/sphinx/html. > running build_sphinx > Running Sphinx v5.0.2 > WARNING: Invalid configuration value found: 'language = None'. Update your > configuration to a valid langauge code. Falling back to 'en' (English). > WARNING: html_static_path entry '_static' does not exist > loading pickled environment... done > [AutoAPI] Reading files... [ 5%] /<<PKGBUILDDIR>>/autoapi/toctree.py > [AutoAPI] Reading files... [ 11%] /<<PKGBUILDDIR>>/autoapi/__init__.py > [AutoAPI] Reading files... [ 16%] /<<PKGBUILDDIR>>/autoapi/extension.py > [AutoAPI] Reading files... [ 22%] /<<PKGBUILDDIR>>/autoapi/settings.py > [AutoAPI] Reading files... [ 27%] > /<<PKGBUILDDIR>>/autoapi/inheritance_diagrams.py > [AutoAPI] Reading files... [ 33%] /<<PKGBUILDDIR>>/autoapi/directives.py > [AutoAPI] Reading files... [ 38%] /<<PKGBUILDDIR>>/autoapi/documenters.py > [AutoAPI] Reading files... [ 44%] /<<PKGBUILDDIR>>/autoapi/backends.py > [AutoAPI] Reading files... [ 50%] /<<PKGBUILDDIR>>/autoapi/mappers/__init__.py > [AutoAPI] Reading files... [ 55%] /<<PKGBUILDDIR>>/autoapi/mappers/go.py > [AutoAPI] Reading files... [ 61%] /<<PKGBUILDDIR>>/autoapi/mappers/base.py > [AutoAPI] Reading files... [ 66%] > /<<PKGBUILDDIR>>/autoapi/mappers/javascript.py > [AutoAPI] Reading files... [ 72%] /<<PKGBUILDDIR>>/autoapi/mappers/dotnet.py > [AutoAPI] Reading files... [ 77%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/__init__.py > [AutoAPI] Reading files... [ 83%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/parser.py > [AutoAPI] Reading files... [ 88%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/astroid_utils.py > [AutoAPI] Reading files... [ 94%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/objects.py > [AutoAPI] Reading files... [100%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/mapper.py > > [AutoAPI] Mapping Data... [ 5%] /<<PKGBUILDDIR>>/autoapi/toctree.py > [AutoAPI] Mapping Data... [ 11%] /<<PKGBUILDDIR>>/autoapi/__init__.py > [AutoAPI] Mapping Data... [ 16%] /<<PKGBUILDDIR>>/autoapi/extension.py > [AutoAPI] Mapping Data... [ 22%] /<<PKGBUILDDIR>>/autoapi/settings.py > [AutoAPI] Mapping Data... [ 27%] > /<<PKGBUILDDIR>>/autoapi/inheritance_diagrams.py > [AutoAPI] Mapping Data... [ 33%] /<<PKGBUILDDIR>>/autoapi/directives.py > [AutoAPI] Mapping Data... [ 38%] /<<PKGBUILDDIR>>/autoapi/documenters.py > [AutoAPI] Mapping Data... [ 44%] /<<PKGBUILDDIR>>/autoapi/backends.py > [AutoAPI] Mapping Data... [ 50%] /<<PKGBUILDDIR>>/autoapi/mappers/__init__.py > [AutoAPI] Mapping Data... [ 55%] /<<PKGBUILDDIR>>/autoapi/mappers/go.py > [AutoAPI] Mapping Data... [ 61%] /<<PKGBUILDDIR>>/autoapi/mappers/base.py > [AutoAPI] Mapping Data... [ 66%] > /<<PKGBUILDDIR>>/autoapi/mappers/javascript.py > [AutoAPI] Mapping Data... [ 72%] /<<PKGBUILDDIR>>/autoapi/mappers/dotnet.py > [AutoAPI] Mapping Data... [ 77%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/__init__.py > [AutoAPI] Mapping Data... [ 83%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/parser.py > [AutoAPI] Mapping Data... [ 88%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/astroid_utils.py > [AutoAPI] Mapping Data... [ 94%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/objects.py > [AutoAPI] Mapping Data... [100%] > /<<PKGBUILDDIR>>/autoapi/mappers/python/mapper.py > > [autosummary] generating autosummary for: how_to.rst, index.rst, > maintenance/design.rst, maintenance/release-process.rst, > reference/config.rst, reference/directives.rst, reference/templates.rst, > tutorials.rst > building [mo]: targets for 0 po files that are out of date > building [text]: targets for 0 source files that are out of date > updating environment: 0 added, 0 changed, 0 removed > looking for now-outdated files... none found > no targets are out of date. > build succeeded, 2 warnings. > > The text files are in build/sphinx/text. > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:239: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build; python3.9 -m > pytest "-k not test_integration" > ============================= test session starts > ============================== > platform linux -- Python 3.9.13, pytest-6.2.5, py-1.10.0, pluggy-1.0.0 > rootdir: /<<PKGBUILDDIR>> > collected 263 items / 17 deselected / 246 selected > > tests/test_astroid_utils.py ............................................ [ > 17%] > ........................................................................ [ > 47%] > ................................................................. [ > 73%] > tests/test_domains.py ...... [ > 76%] > tests/test_objects.py ....... [ > 78%] > tests/python/test_parser.py .......... [ > 82%] > tests/python/test_pyintegration.py EEEEEEEEEE........................... [ > 96%] > ........ > [100%] > > ==================================== ERRORS > ==================================== > __________ ERROR at setup of TestSimpleModule.test_manual_directives > ___________ > > self = <test_pyintegration.TestSimpleModule object at 0x7ff8a5afb8b0> > builder = <function builder.<locals>.build at 0x7ff8a58e7160> > > @pytest.fixture(autouse=True, scope="class") > def built(self, builder): > > builder( > "pyexample", > warningiserror=True, > confoverrides={"suppress_warnings": ["app"]}, > ) > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/tests/python/test_pyintegration.py:56: > > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/tests/python/test_pyintegration.py:43: > in build > rebuild(confoverrides=confoverrides, **kwargs) > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/tests/python/test_pyintegration.py:25: > in rebuild > app = Sphinx( > /usr/lib/python3/dist-packages/sphinx/application.py:196: in __init__ > self.config = Config.read(self.confdir, confoverrides or {}, self.tags) > /usr/lib/python3/dist-packages/sphinx/config.py:172: in read > logger.warning(__("Invalid configuration value found: 'language = None'. " > /usr/lib/python3.9/logging/__init__.py:1812: in warning > self.log(WARNING, msg, *args, **kwargs) > /usr/lib/python3/dist-packages/sphinx/util/logging.py:122: in log > super().log(level, msg, *args, **kwargs) > /usr/lib/python3.9/logging/__init__.py:1844: in log > self.logger.log(level, msg, *args, **kwargs) > /usr/lib/python3.9/logging/__init__.py:1512: in log > self._log(level, msg, args, **kwargs) > /usr/lib/python3.9/logging/__init__.py:1589: in _log > self.handle(record) > /usr/lib/python3.9/logging/__init__.py:1599: in handle > self.callHandlers(record) > /usr/lib/python3.9/logging/__init__.py:1661: in callHandlers > hdlr.handle(record) > /usr/lib/python3.9/logging/__init__.py:948: in handle > rv = self.filter(record) > /usr/lib/python3.9/logging/__init__.py:806: in filter > result = f.filter(record) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <sphinx.util.logging.WarningIsErrorFilter object at 0x7ff8a58f3670> > record = <LogRecord: sphinx.sphinx.config, 30, > /usr/lib/python3/dist-packages/sphinx/util/logging.py, 122, "Invalid > configuration value found: 'language = None'. Update your configuration to a > valid langauge code. Falling back to 'en' (English)."> > > def filter(self, record: logging.LogRecord) -> bool: > if getattr(record, 'skip_warningsiserror', False): > # disabled by DisableWarningIsErrorFilter > return True > elif self.app.warningiserror: > location = getattr(record, 'location', '') > try: > message = record.msg % record.args > except (TypeError, ValueError): > message = record.msg # use record.msg itself > > if location: > exc = SphinxWarning(location + ":" + str(message)) > else: > exc = SphinxWarning(message) > if record.exc_info is not None: > raise exc from record.exc_info[1] > else: > > raise exc > E sphinx.errors.SphinxWarning: Invalid configuration value > found: 'language = None'. Update your configuration to a valid langauge code. > Falling back to 'en' (English). > > /usr/lib/python3/dist-packages/sphinx/util/logging.py:425: SphinxWarning > ---------------------------- Captured stdout setup > ----------------------------- > [01mRunning Sphinx v5.0.2[39;49;00m > ___ ERROR at setup of TestSimpleModule.test_napoleon_integration_not_loaded > ____ > > self = <test_pyintegration.TestSimpleModule object at 0x7ff8a5afb8b0> > builder = <function builder.<locals>.build at 0x7ff8a58e7160> > > @pytest.fixture(autouse=True, scope="class") > def built(self, builder): > > builder( > "pyexample", > warningiserror=True, > confoverrides={"suppress_warnings": ["app"]}, > ) > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/tests/python/test_pyintegration.py:56: > > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/tests/python/test_pyintegration.py:43: > in build > rebuild(confoverrides=confoverrides, **kwargs) > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/tests/python/test_pyintegration.py:25: > in rebuild > app = Sphinx( > /usr/lib/python3/dist-packages/sphinx/application.py:196: in __init__ > self.config = Config.read(self.confdir, confoverrides or {}, self.tags) > /usr/lib/python3/dist-packages/sphinx/config.py:172: in read > logger.warning(__("Invalid configuration value found: 'language = None'. " > /usr/lib/python3.9/logging/__init__.py:1812: in warning > self.log(WARNING, msg, *args, **kwargs) > /usr/lib/python3/dist-packages/sphinx/util/logging.py:122: in log > super().log(level, msg, *args, **kwargs) > /usr/lib/python3.9/logging/__init__.py:1844: in log > self.logger.log(level, msg, *args, **kwargs) > /usr/lib/python3.9/logging/__init__.py:1512: in log > self._log(level, msg, args, **kwargs) > /usr/lib/python3.9/logging/__init__.py:1589: in _log > self.handle(record) > /usr/lib/python3.9/logging/__init__.py:1599: in handle > self.callHandlers(record) > /usr/lib/python3.9/logging/__init__.py:1661: in callHandlers > hdlr.handle(record) > /usr/lib/python3.9/logging/__init__.py:948: in handle > rv = self.filter(record) > /usr/lib/python3.9/logging/__init__.py:806: in filter > result = f.filter(record) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <sphinx.util.logging.WarningIsErrorFilter object at 0x7ff8a58f3670> > record = <LogRecord: sphinx.sphinx.config, 30, > /usr/lib/python3/dist-packages/sphinx/util/logging.py, 122, "Invalid > configuration value found: 'language = None'. Update your configuration to a > valid langauge code. Falling back to 'en' (English)."> > > def filter(self, record: logging.LogRecord) -> bool: > if getattr(record, 'skip_warningsiserror', False): > # disabled by DisableWarningIsErrorFilter > return True > elif self.app.warningiserror: > location = getattr(record, 'location', '') > try: > message = record.msg % record.args > except (TypeError, ValueError): > message = record.msg # use record.msg itself > > if location: > exc = SphinxWarning(location + ":" + str(message)) > else: > exc = SphinxWarning(message) > if record.exc_info is not None: > raise exc from record.exc_info[1] > else: > > raise exc > E sphinx.errors.SphinxWarning: Invalid configuration value > found: 'language = None'. Update your configuration to a valid langauge code. > Falling back to 'en' (English). > > /usr/lib/python3/dist-packages/sphinx/util/logging.py:425: SphinxWarning > ___________ ERROR at setup of TestSimpleModule.test_show_inheritance > ___________ > > self = <test_pyintegration.TestSimpleModule object at 0x7ff8a5afb8b0> > builder = <function builder.<locals>.build at 0x7ff8a58e7160> > > @pytest.fixture(autouse=True, scope="class") > def built(self, builder): > > builder( > "pyexample", > warningiserror=True, > confoverrides={"suppress_warnings": ["app"]}, > ) > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/tests/python/test_pyintegration.py:56: > > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/tests/python/test_pyintegration.py:43: > in build > rebuild(confoverrides=confoverrides, **kwargs) > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/tests/python/test_pyintegration.py:25: > in rebuild > app = Sphinx( > /usr/lib/python3/dist-packages/sphinx/application.py:196: in __init__ > self.config = Config.read(self.confdir, confoverrides or {}, self.tags) > /usr/lib/python3/dist-packages/sphinx/config.py:172: in read > logger.warning(__("Invalid configuration value found: 'language = None'. " > /usr/lib/python3.9/logging/__init__.py:1812: in warning > self.log(WARNING, msg, *args, **kwargs) > /usr/lib/python3/dist-packages/sphinx/util/logging.py:122: in log > super().log(level, msg, *args, **kwargs) > /usr/lib/python3.9/logging/__init__.py:1844: in log > self.logger.log(level, msg, *args, **kwargs) > /usr/lib/python3.9/logging/__init__.py:1512: in log > self._log(level, msg, args, **kwargs) > /usr/lib/python3.9/logging/__init__.py:1589: in _log > self.handle(record) > /usr/lib/python3.9/logging/__init__.py:1599: in handle > self.callHandlers(record) > /usr/lib/python3.9/logging/__init__.py:1661: in callHandlers > hdlr.handle(record) > /usr/lib/python3.9/logging/__init__.py:948: in handle > rv = self.filter(record) > /usr/lib/python3.9/logging/__init__.py:806: in filter > result = f.filter(record) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <sphinx.util.logging.WarningIsErrorFilter object at 0x7ff8a58f3670> > record = <LogRecord: sphinx.sphinx.config, 30, > /usr/lib/python3/dist-packages/sphinx/util/logging.py, 122, "Invalid > configuration value found: 'language = None'. Update your configuration to a > valid langauge code. Falling back to 'en' (English)."> > > def filter(self, record: logging.LogRecord) -> bool: > if getattr(record, 'skip_warningsiserror', False): > # disabled by DisableWarningIsErrorFilter > return True > elif self.app.warningiserror: > location = getattr(record, 'location', '') > try: > message = record.msg % record.args > except (TypeError, ValueError): > message = record.msg # use record.msg itself > > if location: > exc = SphinxWarning(location + ":" + str(message)) > else: > exc = SphinxWarning(message) > if record.exc_info is not None: > raise exc from record.exc_info[1] > else: > > raise exc > E sphinx.errors.SphinxWarning: Invalid configuration value > found: 'language = None'. Update your configuration to a valid langauge code. > Falling back to 'en' (English). > > /usr/lib/python3/dist-packages/sphinx/util/logging.py:425: SphinxWarning > _________ ERROR at teardown of TestSimpleModule.test_show_inheritance > __________ > > @pytest.fixture(scope="class") > def builder(): > cwd = os.getcwd() > > def build(test_dir, confoverrides=None, **kwargs): > os.chdir("tests/python/{0}".format(test_dir)) > rebuild(confoverrides=confoverrides, **kwargs) > > yield build > > try: > > shutil.rmtree("_build") > > tests/python/test_pyintegration.py:48: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /usr/lib/python3.9/shutil.py:724: in rmtree > onerror(os.lstat, path, sys.exc_info()) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > path = '_build', ignore_errors = False > onerror = <function rmtree.<locals>.onerror at 0x7ff8a5a09ca0> > > def rmtree(path, ignore_errors=False, onerror=None): > """Recursively delete a directory tree. > > If ignore_errors is set, errors are ignored; otherwise, if onerror > is set, it is called to handle the error with arguments (func, > path, exc_info) where func is platform and implementation dependent; > path is the argument to that function that caused it to fail; and > exc_info is a tuple returned by sys.exc_info(). If ignore_errors > is false and onerror is None, an exception is raised. > > """ > sys.audit("shutil.rmtree", path) > if ignore_errors: > def onerror(*args): > pass > elif onerror is None: > def onerror(*args): > raise > if _use_fd_functions: > # While the unsafe rmtree works fine on bytes, the fd based does > not. > if isinstance(path, bytes): > path = os.fsdecode(path) > # Note: To guard against symlink races, we use the standard > # lstat()/open()/fstat() trick. > try: > > orig_st = os.lstat(path) > E FileNotFoundError: [Errno 2] No such file or directory: > '_build' > > /usr/lib/python3.9/shutil.py:722: FileNotFoundError > ___________ ERROR at setup of TestMovedConfPy.test_manual_directives > ___________ > > self = <test_pyintegration.TestMovedConfPy object at 0x7ff8a5786460> > builder = <function builder.<locals>.build at 0x7ff8a56fdc10> > > @pytest.fixture(autouse=True, scope="class") > def built(self, builder): > > builder( > "pymovedconfpy", > confdir="confpy", > warningiserror=True, > confoverrides={"suppress_warnings": ["app"]}, > ) > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/tests/python/test_pyintegration.py:133: > > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/tests/python/test_pyintegration.py:43: > in build > rebuild(confoverrides=confoverrides, **kwargs) > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/tests/python/test_pyintegration.py:25: > in rebuild > app = Sphinx( > /usr/lib/python3/dist-packages/sphinx/application.py:196: in __init__ > self.config = Config.read(self.confdir, confoverrides or {}, self.tags) > /usr/lib/python3/dist-packages/sphinx/config.py:172: in read > logger.warning(__("Invalid configuration value found: 'language = None'. " > /usr/lib/python3.9/logging/__init__.py:1812: in warning > self.log(WARNING, msg, *args, **kwargs) > /usr/lib/python3/dist-packages/sphinx/util/logging.py:122: in log > super().log(level, msg, *args, **kwargs) > /usr/lib/python3.9/logging/__init__.py:1844: in log > self.logger.log(level, msg, *args, **kwargs) > /usr/lib/python3.9/logging/__init__.py:1512: in log > self._log(level, msg, args, **kwargs) > /usr/lib/python3.9/logging/__init__.py:1589: in _log > self.handle(record) > /usr/lib/python3.9/logging/__init__.py:1599: in handle > self.callHandlers(record) > /usr/lib/python3.9/logging/__init__.py:1661: in callHandlers > hdlr.handle(record) > /usr/lib/python3.9/logging/__init__.py:948: in handle > rv = self.filter(record) > /usr/lib/python3.9/logging/__init__.py:806: in filter > result = f.filter(record) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <sphinx.util.logging.WarningIsErrorFilter object at 0x7ff8a56827f0> > record = <LogRecord: sphinx.sphinx.config, 30, > /usr/lib/python3/dist-packages/sphinx/util/logging.py, 122, "Invalid > configuration value found: 'language = None'. Update your configuration to a > valid langauge code. Falling back to 'en' (English)."> > > def filter(self, record: logging.LogRecord) -> bool: > if getattr(record, 'skip_warningsiserror', False): > # disabled by DisableWarningIsErrorFilter > return True > elif self.app.warningiserror: > location = getattr(record, 'location', '') > try: > message = record.msg % record.args > except (TypeError, ValueError): > message = record.msg # use record.msg itself > > if location: > exc = SphinxWarning(location + ":" + str(message)) > else: > exc = SphinxWarning(message) > if record.exc_info is not None: > raise exc from record.exc_info[1] > else: > > raise exc > E sphinx.errors.SphinxWarning: Invalid configuration value > found: 'language = None'. Update your configuration to a valid langauge code. > Falling back to 'en' (English). > > /usr/lib/python3/dist-packages/sphinx/util/logging.py:425: SphinxWarning > ---------------------------- Captured stdout setup > ----------------------------- > [01mRunning Sphinx v5.0.2[39;49;00m > ____ ERROR at setup of TestMovedConfPy.test_napoleon_integration_not_loaded > ____ > > self = <test_pyintegration.TestMovedConfPy object at 0x7ff8a5786460> > builder = <function builder.<locals>.build at 0x7ff8a56fdc10> > > @pytest.fixture(autouse=True, scope="class") > def built(self, builder): > > builder( > "pymovedconfpy", > confdir="confpy", > warningiserror=True, > confoverrides={"suppress_warnings": ["app"]}, > ) > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/tests/python/test_pyintegration.py:133: > > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/tests/python/test_pyintegration.py:43: > in build > rebuild(confoverrides=confoverrides, **kwargs) > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/tests/python/test_pyintegration.py:25: > in rebuild > app = Sphinx( > /usr/lib/python3/dist-packages/sphinx/application.py:196: in __init__ > self.config = Config.read(self.confdir, confoverrides or {}, self.tags) > /usr/lib/python3/dist-packages/sphinx/config.py:172: in read > logger.warning(__("Invalid configuration value found: 'language = None'. " > /usr/lib/python3.9/logging/__init__.py:1812: in warning > self.log(WARNING, msg, *args, **kwargs) > /usr/lib/python3/dist-packages/sphinx/util/logging.py:122: in log > super().log(level, msg, *args, **kwargs) > /usr/lib/python3.9/logging/__init__.py:1844: in log > self.logger.log(level, msg, *args, **kwargs) > /usr/lib/python3.9/logging/__init__.py:1512: in log > self._log(level, msg, args, **kwargs) > /usr/lib/python3.9/logging/__init__.py:1589: in _log > self.handle(record) > /usr/lib/python3.9/logging/__init__.py:1599: in handle > self.callHandlers(record) > /usr/lib/python3.9/logging/__init__.py:1661: in callHandlers > hdlr.handle(record) > /usr/lib/python3.9/logging/__init__.py:948: in handle > rv = self.filter(record) > /usr/lib/python3.9/logging/__init__.py:806: in filter > result = f.filter(record) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <sphinx.util.logging.WarningIsErrorFilter object at 0x7ff8a56827f0> > record = <LogRecord: sphinx.sphinx.config, 30, > /usr/lib/python3/dist-packages/sphinx/util/logging.py, 122, "Invalid > configuration value found: 'language = None'. Update your configuration to a > valid langauge code. Falling back to 'en' (English)."> > > def filter(self, record: logging.LogRecord) -> bool: > if getattr(record, 'skip_warningsiserror', False): > # disabled by DisableWarningIsErrorFilter > return True > elif self.app.warningiserror: > location = getattr(record, 'location', '') > try: > message = record.msg % record.args > except (TypeError, ValueError): > message = record.msg # use record.msg itself > > if location: > exc = SphinxWarning(location + ":" + str(message)) > else: > exc = SphinxWarning(message) > if record.exc_info is not None: > raise exc from record.exc_info[1] > else: > > raise exc > E sphinx.errors.SphinxWarning: Invalid configuration value > found: 'language = None'. Update your configuration to a valid langauge code. > Falling back to 'en' (English). > > /usr/lib/python3/dist-packages/sphinx/util/logging.py:425: SphinxWarning > ___________ ERROR at setup of TestMovedConfPy.test_show_inheritance > ____________ > > self = <test_pyintegration.TestMovedConfPy object at 0x7ff8a5786460> > builder = <function builder.<locals>.build at 0x7ff8a56fdc10> > > @pytest.fixture(autouse=True, scope="class") > def built(self, builder): > > builder( > "pymovedconfpy", > confdir="confpy", > warningiserror=True, > confoverrides={"suppress_warnings": ["app"]}, > ) > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/tests/python/test_pyintegration.py:133: > > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/tests/python/test_pyintegration.py:43: > in build > rebuild(confoverrides=confoverrides, **kwargs) > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/tests/python/test_pyintegration.py:25: > in rebuild > app = Sphinx( > /usr/lib/python3/dist-packages/sphinx/application.py:196: in __init__ > self.config = Config.read(self.confdir, confoverrides or {}, self.tags) > /usr/lib/python3/dist-packages/sphinx/config.py:172: in read > logger.warning(__("Invalid configuration value found: 'language = None'. " > /usr/lib/python3.9/logging/__init__.py:1812: in warning > self.log(WARNING, msg, *args, **kwargs) > /usr/lib/python3/dist-packages/sphinx/util/logging.py:122: in log > super().log(level, msg, *args, **kwargs) > /usr/lib/python3.9/logging/__init__.py:1844: in log > self.logger.log(level, msg, *args, **kwargs) > /usr/lib/python3.9/logging/__init__.py:1512: in log > self._log(level, msg, args, **kwargs) > /usr/lib/python3.9/logging/__init__.py:1589: in _log > self.handle(record) > /usr/lib/python3.9/logging/__init__.py:1599: in handle > self.callHandlers(record) > /usr/lib/python3.9/logging/__init__.py:1661: in callHandlers > hdlr.handle(record) > /usr/lib/python3.9/logging/__init__.py:948: in handle > rv = self.filter(record) > /usr/lib/python3.9/logging/__init__.py:806: in filter > result = f.filter(record) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <sphinx.util.logging.WarningIsErrorFilter object at 0x7ff8a56827f0> > record = <LogRecord: sphinx.sphinx.config, 30, > /usr/lib/python3/dist-packages/sphinx/util/logging.py, 122, "Invalid > configuration value found: 'language = None'. Update your configuration to a > valid langauge code. Falling back to 'en' (English)."> > > def filter(self, record: logging.LogRecord) -> bool: > if getattr(record, 'skip_warningsiserror', False): > # disabled by DisableWarningIsErrorFilter > return True > elif self.app.warningiserror: > location = getattr(record, 'location', '') > try: > message = record.msg % record.args > except (TypeError, ValueError): > message = record.msg # use record.msg itself > > if location: > exc = SphinxWarning(location + ":" + str(message)) > else: > exc = SphinxWarning(message) > if record.exc_info is not None: > raise exc from record.exc_info[1] > else: > > raise exc > E sphinx.errors.SphinxWarning: Invalid configuration value > found: 'language = None'. Update your configuration to a valid langauge code. > Falling back to 'en' (English). > > /usr/lib/python3/dist-packages/sphinx/util/logging.py:425: SphinxWarning > __________ ERROR at teardown of TestMovedConfPy.test_show_inheritance > __________ > > @pytest.fixture(scope="class") > def builder(): > cwd = os.getcwd() > > def build(test_dir, confoverrides=None, **kwargs): > os.chdir("tests/python/{0}".format(test_dir)) > rebuild(confoverrides=confoverrides, **kwargs) > > yield build > > try: > > shutil.rmtree("_build") > > tests/python/test_pyintegration.py:48: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /usr/lib/python3.9/shutil.py:724: in rmtree > onerror(os.lstat, path, sys.exc_info()) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > path = '_build', ignore_errors = False > onerror = <function rmtree.<locals>.onerror at 0x7ff8a5a09940> > > def rmtree(path, ignore_errors=False, onerror=None): > """Recursively delete a directory tree. > > If ignore_errors is set, errors are ignored; otherwise, if onerror > is set, it is called to handle the error with arguments (func, > path, exc_info) where func is platform and implementation dependent; > path is the argument to that function that caused it to fail; and > exc_info is a tuple returned by sys.exc_info(). If ignore_errors > is false and onerror is None, an exception is raised. > > """ > sys.audit("shutil.rmtree", path) > if ignore_errors: > def onerror(*args): > pass > elif onerror is None: > def onerror(*args): > raise > if _use_fd_functions: > # While the unsafe rmtree works fine on bytes, the fd based does > not. > if isinstance(path, bytes): > path = os.fsdecode(path) > # Note: To guard against symlink races, we use the standard > # lstat()/open()/fstat() trick. > try: > > orig_st = os.lstat(path) > E FileNotFoundError: [Errno 2] No such file or directory: > '_build' > > /usr/lib/python3.9/shutil.py:722: FileNotFoundError > ____ ERROR at setup of TestSimpleModuleDifferentPrimaryDomain.test_success > _____ > > self = <test_pyintegration.TestSimpleModuleDifferentPrimaryDomain object at > 0x7ff8a57388b0> > builder = <function builder.<locals>.build at 0x7ff8a57c8430> > > @pytest.fixture(autouse=True, scope="class") > def built(self, builder): > > builder( > "pyexample", > warningiserror=True, > confoverrides={ > "autoapi_options": [ > "members", > "undoc-members", > "private-members", > "special-members", > "imported-members", > ], > "primary_domain": "cpp", > "suppress_warnings": ["app"], > }, > ) > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/tests/python/test_pyintegration.py:144: > > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/tests/python/test_pyintegration.py:43: > in build > rebuild(confoverrides=confoverrides, **kwargs) > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/tests/python/test_pyintegration.py:25: > in rebuild > app = Sphinx( > /usr/lib/python3/dist-packages/sphinx/application.py:196: in __init__ > self.config = Config.read(self.confdir, confoverrides or {}, self.tags) > /usr/lib/python3/dist-packages/sphinx/config.py:172: in read > logger.warning(__("Invalid configuration value found: 'language = None'. " > /usr/lib/python3.9/logging/__init__.py:1812: in warning > self.log(WARNING, msg, *args, **kwargs) > /usr/lib/python3/dist-packages/sphinx/util/logging.py:122: in log > super().log(level, msg, *args, **kwargs) > /usr/lib/python3.9/logging/__init__.py:1844: in log > self.logger.log(level, msg, *args, **kwargs) > /usr/lib/python3.9/logging/__init__.py:1512: in log > self._log(level, msg, args, **kwargs) > /usr/lib/python3.9/logging/__init__.py:1589: in _log > self.handle(record) > /usr/lib/python3.9/logging/__init__.py:1599: in handle > self.callHandlers(record) > /usr/lib/python3.9/logging/__init__.py:1661: in callHandlers > hdlr.handle(record) > /usr/lib/python3.9/logging/__init__.py:948: in handle > rv = self.filter(record) > /usr/lib/python3.9/logging/__init__.py:806: in filter > result = f.filter(record) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <sphinx.util.logging.WarningIsErrorFilter object at 0x7ff8a55a6730> > record = <LogRecord: sphinx.sphinx.config, 30, > /usr/lib/python3/dist-packages/sphinx/util/logging.py, 122, "Invalid > configuration value found: 'language = None'. Update your configuration to a > valid langauge code. Falling back to 'en' (English)."> > > def filter(self, record: logging.LogRecord) -> bool: > if getattr(record, 'skip_warningsiserror', False): > # disabled by DisableWarningIsErrorFilter > return True > elif self.app.warningiserror: > location = getattr(record, 'location', '') > try: > message = record.msg % record.args > except (TypeError, ValueError): > message = record.msg # use record.msg itself > > if location: > exc = SphinxWarning(location + ":" + str(message)) > else: > exc = SphinxWarning(message) > if record.exc_info is not None: > raise exc from record.exc_info[1] > else: > > raise exc > E sphinx.errors.SphinxWarning: Invalid configuration value > found: 'language = None'. Update your configuration to a valid langauge code. > Falling back to 'en' (English). > > /usr/lib/python3/dist-packages/sphinx/util/logging.py:425: SphinxWarning > ---------------------------- Captured stdout setup > ----------------------------- > [01mRunning Sphinx v5.0.2[39;49;00m > ___ ERROR at teardown of TestSimpleModuleDifferentPrimaryDomain.test_success > ___ > > @pytest.fixture(scope="class") > def builder(): > cwd = os.getcwd() > > def build(test_dir, confoverrides=None, **kwargs): > os.chdir("tests/python/{0}".format(test_dir)) > rebuild(confoverrides=confoverrides, **kwargs) > > yield build > > try: > > shutil.rmtree("_build") > > tests/python/test_pyintegration.py:48: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /usr/lib/python3.9/shutil.py:724: in rmtree > onerror(os.lstat, path, sys.exc_info()) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > path = '_build', ignore_errors = False > onerror = <function rmtree.<locals>.onerror at 0x7ff8a802d5e0> > > def rmtree(path, ignore_errors=False, onerror=None): > """Recursively delete a directory tree. > > If ignore_errors is set, errors are ignored; otherwise, if onerror > is set, it is called to handle the error with arguments (func, > path, exc_info) where func is platform and implementation dependent; > path is the argument to that function that caused it to fail; and > exc_info is a tuple returned by sys.exc_info(). If ignore_errors > is false and onerror is None, an exception is raised. > > """ > sys.audit("shutil.rmtree", path) > if ignore_errors: > def onerror(*args): > pass > elif onerror is None: > def onerror(*args): > raise > if _use_fd_functions: > # While the unsafe rmtree works fine on bytes, the fd based does > not. > if isinstance(path, bytes): > path = os.fsdecode(path) > # Note: To guard against symlink races, we use the standard > # lstat()/open()/fstat() trick. > try: > > orig_st = os.lstat(path) > E FileNotFoundError: [Errno 2] No such file or directory: > '_build' > > /usr/lib/python3.9/shutil.py:722: FileNotFoundError > ---------------------------- Captured stdout setup > ----------------------------- > [01mRunning Sphinx v5.0.2[39;49;00m > =============================== warnings summary > =============================== > .pybuild/cpython3_3.9_sphinx-autoapi/build/tests/python/test_pyintegration.py: > 170 warnings > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/toctree.py:124: > PendingDeprecationWarning: nodes.Node.traverse() is obsoleted by > Node.findall(). > for desc_node in doctree.traverse(addnodes.desc): > > .pybuild/cpython3_3.9_sphinx-autoapi/build/tests/python/test_pyintegration.py: > 589 warnings > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/toctree.py:59: > PendingDeprecationWarning: nodes.Node.traverse() is obsoleted by > Node.findall(). > for check_node in toc.traverse(nodes.reference): > > .pybuild/cpython3_3.9_sphinx-autoapi/build/tests/python/test_pyintegration.py: > 589 warnings > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/toctree.py:29: > DeprecationWarning: nodes.Text: initialization argument "rawsource" is > ignored and will be removed in Docutils 1.3. > *[nodes.Text(text, text)] > > .pybuild/cpython3_3.9_sphinx-autoapi/build/tests/python/test_pyintegration.py: > 23 warnings > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build/autoapi/extension.py:203: > PendingDeprecationWarning: nodes.Node.traverse() is obsoleted by > Node.findall(). > nodes = list(doctree.traverse(toctree)) > > -- Docs: https://docs.pytest.org/en/stable/warnings.html > =========================== short test summary info > ============================ > ERROR > tests/python/test_pyintegration.py::TestSimpleModule::test_manual_directives > ERROR > tests/python/test_pyintegration.py::TestSimpleModule::test_napoleon_integration_not_loaded > ERROR > tests/python/test_pyintegration.py::TestSimpleModule::test_show_inheritance > ERROR > tests/python/test_pyintegration.py::TestSimpleModule::test_show_inheritance > ERROR > tests/python/test_pyintegration.py::TestMovedConfPy::test_manual_directives > ERROR > tests/python/test_pyintegration.py::TestMovedConfPy::test_napoleon_integration_not_loaded > ERROR > tests/python/test_pyintegration.py::TestMovedConfPy::test_show_inheritance > ERROR > tests/python/test_pyintegration.py::TestMovedConfPy::test_show_inheritance > ERROR > tests/python/test_pyintegration.py::TestSimpleModuleDifferentPrimaryDomain::test_success > ERROR > tests/python/test_pyintegration.py::TestSimpleModuleDifferentPrimaryDomain::test_success > ======== 239 passed, 17 deselected, 1371 warnings, 10 errors in 13.04s > ========= > E: pybuild pybuild:369: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-autoapi/build; python3.9 -m > pytest "-k not test_integration" > I: pybuild base:239: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build; python3.10 -m > pytest "-k not test_integration" > ============================= test session starts > ============================== > platform linux -- Python 3.10.5, pytest-6.2.5, py-1.10.0, pluggy-1.0.0 > rootdir: /<<PKGBUILDDIR>> > collected 263 items / 17 deselected / 246 selected > > tests/test_astroid_utils.py ............................................ [ > 17%] > ........................................................................ [ > 47%] > ................................................................. [ > 73%] > tests/test_domains.py ...... [ > 76%] > tests/test_objects.py ....... [ > 78%] > tests/python/test_parser.py .......... [ > 82%] > tests/python/test_pyintegration.py EEEEEEEEEE........................... [ > 96%] > ........ > [100%] > > ==================================== ERRORS > ==================================== > __________ ERROR at setup of TestSimpleModule.test_manual_directives > ___________ > > self = <test_pyintegration.TestSimpleModule object at 0x7f976c35a8f0> > builder = <function builder.<locals>.build at 0x7f976c70a830> > > @pytest.fixture(autouse=True, scope="class") > def built(self, builder): > > builder( > "pyexample", > warningiserror=True, > confoverrides={"suppress_warnings": ["app"]}, > ) > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/tests/python/test_pyintegration.py:56: > > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/tests/python/test_pyintegration.py:43: > in build > rebuild(confoverrides=confoverrides, **kwargs) > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/tests/python/test_pyintegration.py:25: > in rebuild > app = Sphinx( > /usr/lib/python3/dist-packages/sphinx/application.py:196: in __init__ > self.config = Config.read(self.confdir, confoverrides or {}, self.tags) > /usr/lib/python3/dist-packages/sphinx/config.py:172: in read > logger.warning(__("Invalid configuration value found: 'language = None'. " > /usr/lib/python3.10/logging/__init__.py:1847: in warning > self.log(WARNING, msg, *args, **kwargs) > /usr/lib/python3/dist-packages/sphinx/util/logging.py:122: in log > super().log(level, msg, *args, **kwargs) > /usr/lib/python3.10/logging/__init__.py:1879: in log > self.logger.log(level, msg, *args, **kwargs) > /usr/lib/python3.10/logging/__init__.py:1547: in log > self._log(level, msg, args, **kwargs) > /usr/lib/python3.10/logging/__init__.py:1624: in _log > self.handle(record) > /usr/lib/python3.10/logging/__init__.py:1634: in handle > self.callHandlers(record) > /usr/lib/python3.10/logging/__init__.py:1696: in callHandlers > hdlr.handle(record) > /usr/lib/python3.10/logging/__init__.py:964: in handle > rv = self.filter(record) > /usr/lib/python3.10/logging/__init__.py:821: in filter > result = f.filter(record) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <sphinx.util.logging.WarningIsErrorFilter object at 0x7f976c4c5150> > record = <LogRecord: sphinx.sphinx.config, 30, > /usr/lib/python3/dist-packages/sphinx/util/logging.py, 122, "Invalid > configuration value found: 'language = None'. Update your configuration to a > valid langauge code. Falling back to 'en' (English)."> > > def filter(self, record: logging.LogRecord) -> bool: > if getattr(record, 'skip_warningsiserror', False): > # disabled by DisableWarningIsErrorFilter > return True > elif self.app.warningiserror: > location = getattr(record, 'location', '') > try: > message = record.msg % record.args > except (TypeError, ValueError): > message = record.msg # use record.msg itself > > if location: > exc = SphinxWarning(location + ":" + str(message)) > else: > exc = SphinxWarning(message) > if record.exc_info is not None: > raise exc from record.exc_info[1] > else: > > raise exc > E sphinx.errors.SphinxWarning: Invalid configuration value > found: 'language = None'. Update your configuration to a valid langauge code. > Falling back to 'en' (English). > > /usr/lib/python3/dist-packages/sphinx/util/logging.py:425: SphinxWarning > ---------------------------- Captured stdout setup > ----------------------------- > [01mRunning Sphinx v5.0.2[39;49;00m > ___ ERROR at setup of TestSimpleModule.test_napoleon_integration_not_loaded > ____ > > self = <test_pyintegration.TestSimpleModule object at 0x7f976c35a8f0> > builder = <function builder.<locals>.build at 0x7f976c70a830> > > @pytest.fixture(autouse=True, scope="class") > def built(self, builder): > > builder( > "pyexample", > warningiserror=True, > confoverrides={"suppress_warnings": ["app"]}, > ) > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/tests/python/test_pyintegration.py:56: > > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/tests/python/test_pyintegration.py:43: > in build > rebuild(confoverrides=confoverrides, **kwargs) > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/tests/python/test_pyintegration.py:25: > in rebuild > app = Sphinx( > /usr/lib/python3/dist-packages/sphinx/application.py:196: in __init__ > self.config = Config.read(self.confdir, confoverrides or {}, self.tags) > /usr/lib/python3/dist-packages/sphinx/config.py:172: in read > logger.warning(__("Invalid configuration value found: 'language = None'. " > /usr/lib/python3.10/logging/__init__.py:1847: in warning > self.log(WARNING, msg, *args, **kwargs) > /usr/lib/python3/dist-packages/sphinx/util/logging.py:122: in log > super().log(level, msg, *args, **kwargs) > /usr/lib/python3.10/logging/__init__.py:1879: in log > self.logger.log(level, msg, *args, **kwargs) > /usr/lib/python3.10/logging/__init__.py:1547: in log > self._log(level, msg, args, **kwargs) > /usr/lib/python3.10/logging/__init__.py:1624: in _log > self.handle(record) > /usr/lib/python3.10/logging/__init__.py:1634: in handle > self.callHandlers(record) > /usr/lib/python3.10/logging/__init__.py:1696: in callHandlers > hdlr.handle(record) > /usr/lib/python3.10/logging/__init__.py:964: in handle > rv = self.filter(record) > /usr/lib/python3.10/logging/__init__.py:821: in filter > result = f.filter(record) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <sphinx.util.logging.WarningIsErrorFilter object at 0x7f976c4c5150> > record = <LogRecord: sphinx.sphinx.config, 30, > /usr/lib/python3/dist-packages/sphinx/util/logging.py, 122, "Invalid > configuration value found: 'language = None'. Update your configuration to a > valid langauge code. Falling back to 'en' (English)."> > > def filter(self, record: logging.LogRecord) -> bool: > if getattr(record, 'skip_warningsiserror', False): > # disabled by DisableWarningIsErrorFilter > return True > elif self.app.warningiserror: > location = getattr(record, 'location', '') > try: > message = record.msg % record.args > except (TypeError, ValueError): > message = record.msg # use record.msg itself > > if location: > exc = SphinxWarning(location + ":" + str(message)) > else: > exc = SphinxWarning(message) > if record.exc_info is not None: > raise exc from record.exc_info[1] > else: > > raise exc > E sphinx.errors.SphinxWarning: Invalid configuration value > found: 'language = None'. Update your configuration to a valid langauge code. > Falling back to 'en' (English). > > /usr/lib/python3/dist-packages/sphinx/util/logging.py:425: SphinxWarning > ___________ ERROR at setup of TestSimpleModule.test_show_inheritance > ___________ > > self = <test_pyintegration.TestSimpleModule object at 0x7f976c35a8f0> > builder = <function builder.<locals>.build at 0x7f976c70a830> > > @pytest.fixture(autouse=True, scope="class") > def built(self, builder): > > builder( > "pyexample", > warningiserror=True, > confoverrides={"suppress_warnings": ["app"]}, > ) > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/tests/python/test_pyintegration.py:56: > > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/tests/python/test_pyintegration.py:43: > in build > rebuild(confoverrides=confoverrides, **kwargs) > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/tests/python/test_pyintegration.py:25: > in rebuild > app = Sphinx( > /usr/lib/python3/dist-packages/sphinx/application.py:196: in __init__ > self.config = Config.read(self.confdir, confoverrides or {}, self.tags) > /usr/lib/python3/dist-packages/sphinx/config.py:172: in read > logger.warning(__("Invalid configuration value found: 'language = None'. " > /usr/lib/python3.10/logging/__init__.py:1847: in warning > self.log(WARNING, msg, *args, **kwargs) > /usr/lib/python3/dist-packages/sphinx/util/logging.py:122: in log > super().log(level, msg, *args, **kwargs) > /usr/lib/python3.10/logging/__init__.py:1879: in log > self.logger.log(level, msg, *args, **kwargs) > /usr/lib/python3.10/logging/__init__.py:1547: in log > self._log(level, msg, args, **kwargs) > /usr/lib/python3.10/logging/__init__.py:1624: in _log > self.handle(record) > /usr/lib/python3.10/logging/__init__.py:1634: in handle > self.callHandlers(record) > /usr/lib/python3.10/logging/__init__.py:1696: in callHandlers > hdlr.handle(record) > /usr/lib/python3.10/logging/__init__.py:964: in handle > rv = self.filter(record) > /usr/lib/python3.10/logging/__init__.py:821: in filter > result = f.filter(record) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <sphinx.util.logging.WarningIsErrorFilter object at 0x7f976c4c5150> > record = <LogRecord: sphinx.sphinx.config, 30, > /usr/lib/python3/dist-packages/sphinx/util/logging.py, 122, "Invalid > configuration value found: 'language = None'. Update your configuration to a > valid langauge code. Falling back to 'en' (English)."> > > def filter(self, record: logging.LogRecord) -> bool: > if getattr(record, 'skip_warningsiserror', False): > # disabled by DisableWarningIsErrorFilter > return True > elif self.app.warningiserror: > location = getattr(record, 'location', '') > try: > message = record.msg % record.args > except (TypeError, ValueError): > message = record.msg # use record.msg itself > > if location: > exc = SphinxWarning(location + ":" + str(message)) > else: > exc = SphinxWarning(message) > if record.exc_info is not None: > raise exc from record.exc_info[1] > else: > > raise exc > E sphinx.errors.SphinxWarning: Invalid configuration value > found: 'language = None'. Update your configuration to a valid langauge code. > Falling back to 'en' (English). > > /usr/lib/python3/dist-packages/sphinx/util/logging.py:425: SphinxWarning > _________ ERROR at teardown of TestSimpleModule.test_show_inheritance > __________ > > @pytest.fixture(scope="class") > def builder(): > cwd = os.getcwd() > > def build(test_dir, confoverrides=None, **kwargs): > os.chdir("tests/python/{0}".format(test_dir)) > rebuild(confoverrides=confoverrides, **kwargs) > > yield build > > try: > > shutil.rmtree("_build") > > tests/python/test_pyintegration.py:48: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /usr/lib/python3.10/shutil.py:714: in rmtree > onerror(os.lstat, path, sys.exc_info()) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > path = '_build', ignore_errors = False > onerror = <function rmtree.<locals>.onerror at 0x7f976c557f40> > > def rmtree(path, ignore_errors=False, onerror=None): > """Recursively delete a directory tree. > > If ignore_errors is set, errors are ignored; otherwise, if onerror > is set, it is called to handle the error with arguments (func, > path, exc_info) where func is platform and implementation dependent; > path is the argument to that function that caused it to fail; and > exc_info is a tuple returned by sys.exc_info(). If ignore_errors > is false and onerror is None, an exception is raised. > > """ > sys.audit("shutil.rmtree", path) > if ignore_errors: > def onerror(*args): > pass > elif onerror is None: > def onerror(*args): > raise > if _use_fd_functions: > # While the unsafe rmtree works fine on bytes, the fd based does > not. > if isinstance(path, bytes): > path = os.fsdecode(path) > # Note: To guard against symlink races, we use the standard > # lstat()/open()/fstat() trick. > try: > > orig_st = os.lstat(path) > E FileNotFoundError: [Errno 2] No such file or directory: > '_build' > > /usr/lib/python3.10/shutil.py:712: FileNotFoundError > ___________ ERROR at setup of TestMovedConfPy.test_manual_directives > ___________ > > self = <test_pyintegration.TestMovedConfPy object at 0x7f976c35a3e0> > builder = <function builder.<locals>.build at 0x7f976c234700> > > @pytest.fixture(autouse=True, scope="class") > def built(self, builder): > > builder( > "pymovedconfpy", > confdir="confpy", > warningiserror=True, > confoverrides={"suppress_warnings": ["app"]}, > ) > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/tests/python/test_pyintegration.py:133: > > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/tests/python/test_pyintegration.py:43: > in build > rebuild(confoverrides=confoverrides, **kwargs) > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/tests/python/test_pyintegration.py:25: > in rebuild > app = Sphinx( > /usr/lib/python3/dist-packages/sphinx/application.py:196: in __init__ > self.config = Config.read(self.confdir, confoverrides or {}, self.tags) > /usr/lib/python3/dist-packages/sphinx/config.py:172: in read > logger.warning(__("Invalid configuration value found: 'language = None'. " > /usr/lib/python3.10/logging/__init__.py:1847: in warning > self.log(WARNING, msg, *args, **kwargs) > /usr/lib/python3/dist-packages/sphinx/util/logging.py:122: in log > super().log(level, msg, *args, **kwargs) > /usr/lib/python3.10/logging/__init__.py:1879: in log > self.logger.log(level, msg, *args, **kwargs) > /usr/lib/python3.10/logging/__init__.py:1547: in log > self._log(level, msg, args, **kwargs) > /usr/lib/python3.10/logging/__init__.py:1624: in _log > self.handle(record) > /usr/lib/python3.10/logging/__init__.py:1634: in handle > self.callHandlers(record) > /usr/lib/python3.10/logging/__init__.py:1696: in callHandlers > hdlr.handle(record) > /usr/lib/python3.10/logging/__init__.py:964: in handle > rv = self.filter(record) > /usr/lib/python3.10/logging/__init__.py:821: in filter > result = f.filter(record) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <sphinx.util.logging.WarningIsErrorFilter object at 0x7f976c4c75e0> > record = <LogRecord: sphinx.sphinx.config, 30, > /usr/lib/python3/dist-packages/sphinx/util/logging.py, 122, "Invalid > configuration value found: 'language = None'. Update your configuration to a > valid langauge code. Falling back to 'en' (English)."> > > def filter(self, record: logging.LogRecord) -> bool: > if getattr(record, 'skip_warningsiserror', False): > # disabled by DisableWarningIsErrorFilter > return True > elif self.app.warningiserror: > location = getattr(record, 'location', '') > try: > message = record.msg % record.args > except (TypeError, ValueError): > message = record.msg # use record.msg itself > > if location: > exc = SphinxWarning(location + ":" + str(message)) > else: > exc = SphinxWarning(message) > if record.exc_info is not None: > raise exc from record.exc_info[1] > else: > > raise exc > E sphinx.errors.SphinxWarning: Invalid configuration value > found: 'language = None'. Update your configuration to a valid langauge code. > Falling back to 'en' (English). > > /usr/lib/python3/dist-packages/sphinx/util/logging.py:425: SphinxWarning > ---------------------------- Captured stdout setup > ----------------------------- > [01mRunning Sphinx v5.0.2[39;49;00m > ____ ERROR at setup of TestMovedConfPy.test_napoleon_integration_not_loaded > ____ > > self = <test_pyintegration.TestMovedConfPy object at 0x7f976c35a3e0> > builder = <function builder.<locals>.build at 0x7f976c234700> > > @pytest.fixture(autouse=True, scope="class") > def built(self, builder): > > builder( > "pymovedconfpy", > confdir="confpy", > warningiserror=True, > confoverrides={"suppress_warnings": ["app"]}, > ) > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/tests/python/test_pyintegration.py:133: > > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/tests/python/test_pyintegration.py:43: > in build > rebuild(confoverrides=confoverrides, **kwargs) > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/tests/python/test_pyintegration.py:25: > in rebuild > app = Sphinx( > /usr/lib/python3/dist-packages/sphinx/application.py:196: in __init__ > self.config = Config.read(self.confdir, confoverrides or {}, self.tags) > /usr/lib/python3/dist-packages/sphinx/config.py:172: in read > logger.warning(__("Invalid configuration value found: 'language = None'. " > /usr/lib/python3.10/logging/__init__.py:1847: in warning > self.log(WARNING, msg, *args, **kwargs) > /usr/lib/python3/dist-packages/sphinx/util/logging.py:122: in log > super().log(level, msg, *args, **kwargs) > /usr/lib/python3.10/logging/__init__.py:1879: in log > self.logger.log(level, msg, *args, **kwargs) > /usr/lib/python3.10/logging/__init__.py:1547: in log > self._log(level, msg, args, **kwargs) > /usr/lib/python3.10/logging/__init__.py:1624: in _log > self.handle(record) > /usr/lib/python3.10/logging/__init__.py:1634: in handle > self.callHandlers(record) > /usr/lib/python3.10/logging/__init__.py:1696: in callHandlers > hdlr.handle(record) > /usr/lib/python3.10/logging/__init__.py:964: in handle > rv = self.filter(record) > /usr/lib/python3.10/logging/__init__.py:821: in filter > result = f.filter(record) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <sphinx.util.logging.WarningIsErrorFilter object at 0x7f976c4c75e0> > record = <LogRecord: sphinx.sphinx.config, 30, > /usr/lib/python3/dist-packages/sphinx/util/logging.py, 122, "Invalid > configuration value found: 'language = None'. Update your configuration to a > valid langauge code. Falling back to 'en' (English)."> > > def filter(self, record: logging.LogRecord) -> bool: > if getattr(record, 'skip_warningsiserror', False): > # disabled by DisableWarningIsErrorFilter > return True > elif self.app.warningiserror: > location = getattr(record, 'location', '') > try: > message = record.msg % record.args > except (TypeError, ValueError): > message = record.msg # use record.msg itself > > if location: > exc = SphinxWarning(location + ":" + str(message)) > else: > exc = SphinxWarning(message) > if record.exc_info is not None: > raise exc from record.exc_info[1] > else: > > raise exc > E sphinx.errors.SphinxWarning: Invalid configuration value > found: 'language = None'. Update your configuration to a valid langauge code. > Falling back to 'en' (English). > > /usr/lib/python3/dist-packages/sphinx/util/logging.py:425: SphinxWarning > ___________ ERROR at setup of TestMovedConfPy.test_show_inheritance > ____________ > > self = <test_pyintegration.TestMovedConfPy object at 0x7f976c35a3e0> > builder = <function builder.<locals>.build at 0x7f976c234700> > > @pytest.fixture(autouse=True, scope="class") > def built(self, builder): > > builder( > "pymovedconfpy", > confdir="confpy", > warningiserror=True, > confoverrides={"suppress_warnings": ["app"]}, > ) > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/tests/python/test_pyintegration.py:133: > > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/tests/python/test_pyintegration.py:43: > in build > rebuild(confoverrides=confoverrides, **kwargs) > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/tests/python/test_pyintegration.py:25: > in rebuild > app = Sphinx( > /usr/lib/python3/dist-packages/sphinx/application.py:196: in __init__ > self.config = Config.read(self.confdir, confoverrides or {}, self.tags) > /usr/lib/python3/dist-packages/sphinx/config.py:172: in read > logger.warning(__("Invalid configuration value found: 'language = None'. " > /usr/lib/python3.10/logging/__init__.py:1847: in warning > self.log(WARNING, msg, *args, **kwargs) > /usr/lib/python3/dist-packages/sphinx/util/logging.py:122: in log > super().log(level, msg, *args, **kwargs) > /usr/lib/python3.10/logging/__init__.py:1879: in log > self.logger.log(level, msg, *args, **kwargs) > /usr/lib/python3.10/logging/__init__.py:1547: in log > self._log(level, msg, args, **kwargs) > /usr/lib/python3.10/logging/__init__.py:1624: in _log > self.handle(record) > /usr/lib/python3.10/logging/__init__.py:1634: in handle > self.callHandlers(record) > /usr/lib/python3.10/logging/__init__.py:1696: in callHandlers > hdlr.handle(record) > /usr/lib/python3.10/logging/__init__.py:964: in handle > rv = self.filter(record) > /usr/lib/python3.10/logging/__init__.py:821: in filter > result = f.filter(record) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <sphinx.util.logging.WarningIsErrorFilter object at 0x7f976c4c75e0> > record = <LogRecord: sphinx.sphinx.config, 30, > /usr/lib/python3/dist-packages/sphinx/util/logging.py, 122, "Invalid > configuration value found: 'language = None'. Update your configuration to a > valid langauge code. Falling back to 'en' (English)."> > > def filter(self, record: logging.LogRecord) -> bool: > if getattr(record, 'skip_warningsiserror', False): > # disabled by DisableWarningIsErrorFilter > return True > elif self.app.warningiserror: > location = getattr(record, 'location', '') > try: > message = record.msg % record.args > except (TypeError, ValueError): > message = record.msg # use record.msg itself > > if location: > exc = SphinxWarning(location + ":" + str(message)) > else: > exc = SphinxWarning(message) > if record.exc_info is not None: > raise exc from record.exc_info[1] > else: > > raise exc > E sphinx.errors.SphinxWarning: Invalid configuration value > found: 'language = None'. Update your configuration to a valid langauge code. > Falling back to 'en' (English). > > /usr/lib/python3/dist-packages/sphinx/util/logging.py:425: SphinxWarning > __________ ERROR at teardown of TestMovedConfPy.test_show_inheritance > __________ > > @pytest.fixture(scope="class") > def builder(): > cwd = os.getcwd() > > def build(test_dir, confoverrides=None, **kwargs): > os.chdir("tests/python/{0}".format(test_dir)) > rebuild(confoverrides=confoverrides, **kwargs) > > yield build > > try: > > shutil.rmtree("_build") > > tests/python/test_pyintegration.py:48: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /usr/lib/python3.10/shutil.py:714: in rmtree > onerror(os.lstat, path, sys.exc_info()) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > path = '_build', ignore_errors = False > onerror = <function rmtree.<locals>.onerror at 0x7f976c234a60> > > def rmtree(path, ignore_errors=False, onerror=None): > """Recursively delete a directory tree. > > If ignore_errors is set, errors are ignored; otherwise, if onerror > is set, it is called to handle the error with arguments (func, > path, exc_info) where func is platform and implementation dependent; > path is the argument to that function that caused it to fail; and > exc_info is a tuple returned by sys.exc_info(). If ignore_errors > is false and onerror is None, an exception is raised. > > """ > sys.audit("shutil.rmtree", path) > if ignore_errors: > def onerror(*args): > pass > elif onerror is None: > def onerror(*args): > raise > if _use_fd_functions: > # While the unsafe rmtree works fine on bytes, the fd based does > not. > if isinstance(path, bytes): > path = os.fsdecode(path) > # Note: To guard against symlink races, we use the standard > # lstat()/open()/fstat() trick. > try: > > orig_st = os.lstat(path) > E FileNotFoundError: [Errno 2] No such file or directory: > '_build' > > /usr/lib/python3.10/shutil.py:712: FileNotFoundError > ____ ERROR at setup of TestSimpleModuleDifferentPrimaryDomain.test_success > _____ > > self = <test_pyintegration.TestSimpleModuleDifferentPrimaryDomain object at > 0x7f976c359780> > builder = <function builder.<locals>.build at 0x7f976c236200> > > @pytest.fixture(autouse=True, scope="class") > def built(self, builder): > > builder( > "pyexample", > warningiserror=True, > confoverrides={ > "autoapi_options": [ > "members", > "undoc-members", > "private-members", > "special-members", > "imported-members", > ], > "primary_domain": "cpp", > "suppress_warnings": ["app"], > }, > ) > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/tests/python/test_pyintegration.py:144: > > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/tests/python/test_pyintegration.py:43: > in build > rebuild(confoverrides=confoverrides, **kwargs) > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/tests/python/test_pyintegration.py:25: > in rebuild > app = Sphinx( > /usr/lib/python3/dist-packages/sphinx/application.py:196: in __init__ > self.config = Config.read(self.confdir, confoverrides or {}, self.tags) > /usr/lib/python3/dist-packages/sphinx/config.py:172: in read > logger.warning(__("Invalid configuration value found: 'language = None'. " > /usr/lib/python3.10/logging/__init__.py:1847: in warning > self.log(WARNING, msg, *args, **kwargs) > /usr/lib/python3/dist-packages/sphinx/util/logging.py:122: in log > super().log(level, msg, *args, **kwargs) > /usr/lib/python3.10/logging/__init__.py:1879: in log > self.logger.log(level, msg, *args, **kwargs) > /usr/lib/python3.10/logging/__init__.py:1547: in log > self._log(level, msg, args, **kwargs) > /usr/lib/python3.10/logging/__init__.py:1624: in _log > self.handle(record) > /usr/lib/python3.10/logging/__init__.py:1634: in handle > self.callHandlers(record) > /usr/lib/python3.10/logging/__init__.py:1696: in callHandlers > hdlr.handle(record) > /usr/lib/python3.10/logging/__init__.py:964: in handle > rv = self.filter(record) > /usr/lib/python3.10/logging/__init__.py:821: in filter > result = f.filter(record) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <sphinx.util.logging.WarningIsErrorFilter object at 0x7f976c54f5b0> > record = <LogRecord: sphinx.sphinx.config, 30, > /usr/lib/python3/dist-packages/sphinx/util/logging.py, 122, "Invalid > configuration value found: 'language = None'. Update your configuration to a > valid langauge code. Falling back to 'en' (English)."> > > def filter(self, record: logging.LogRecord) -> bool: > if getattr(record, 'skip_warningsiserror', False): > # disabled by DisableWarningIsErrorFilter > return True > elif self.app.warningiserror: > location = getattr(record, 'location', '') > try: > message = record.msg % record.args > except (TypeError, ValueError): > message = record.msg # use record.msg itself > > if location: > exc = SphinxWarning(location + ":" + str(message)) > else: > exc = SphinxWarning(message) > if record.exc_info is not None: > raise exc from record.exc_info[1] > else: > > raise exc > E sphinx.errors.SphinxWarning: Invalid configuration value > found: 'language = None'. Update your configuration to a valid langauge code. > Falling back to 'en' (English). > > /usr/lib/python3/dist-packages/sphinx/util/logging.py:425: SphinxWarning > ---------------------------- Captured stdout setup > ----------------------------- > [01mRunning Sphinx v5.0.2[39;49;00m > ___ ERROR at teardown of TestSimpleModuleDifferentPrimaryDomain.test_success > ___ > > @pytest.fixture(scope="class") > def builder(): > cwd = os.getcwd() > > def build(test_dir, confoverrides=None, **kwargs): > os.chdir("tests/python/{0}".format(test_dir)) > rebuild(confoverrides=confoverrides, **kwargs) > > yield build > > try: > > shutil.rmtree("_build") > > tests/python/test_pyintegration.py:48: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /usr/lib/python3.10/shutil.py:714: in rmtree > onerror(os.lstat, path, sys.exc_info()) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > path = '_build', ignore_errors = False > onerror = <function rmtree.<locals>.onerror at 0x7f976c234790> > > def rmtree(path, ignore_errors=False, onerror=None): > """Recursively delete a directory tree. > > If ignore_errors is set, errors are ignored; otherwise, if onerror > is set, it is called to handle the error with arguments (func, > path, exc_info) where func is platform and implementation dependent; > path is the argument to that function that caused it to fail; and > exc_info is a tuple returned by sys.exc_info(). If ignore_errors > is false and onerror is None, an exception is raised. > > """ > sys.audit("shutil.rmtree", path) > if ignore_errors: > def onerror(*args): > pass > elif onerror is None: > def onerror(*args): > raise > if _use_fd_functions: > # While the unsafe rmtree works fine on bytes, the fd based does > not. > if isinstance(path, bytes): > path = os.fsdecode(path) > # Note: To guard against symlink races, we use the standard > # lstat()/open()/fstat() trick. > try: > > orig_st = os.lstat(path) > E FileNotFoundError: [Errno 2] No such file or directory: > '_build' > > /usr/lib/python3.10/shutil.py:712: FileNotFoundError > ---------------------------- Captured stdout setup > ----------------------------- > [01mRunning Sphinx v5.0.2[39;49;00m > =============================== warnings summary > =============================== > ../../../../../../usr/lib/python3/dist-packages/astroid/modutils.py:53 > /usr/lib/python3/dist-packages/astroid/modutils.py:53: DeprecationWarning: > The distutils package is deprecated and slated for removal in Python 3.12. > Use setuptools or check PEP 632 for potential alternatives > from distutils.errors import DistutilsPlatformError # pylint: > disable=import-error > > ../../../../../../usr/lib/python3/dist-packages/astroid/modutils.py:54 > /usr/lib/python3/dist-packages/astroid/modutils.py:54: DeprecationWarning: > The distutils.sysconfig module is deprecated, use sysconfig instead > from distutils.sysconfig import get_python_lib # pylint: > disable=import-error > > .pybuild/cpython3_3.10_sphinx-autoapi/build/tests/python/test_pyintegration.py: > 170 warnings > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/toctree.py:124: > PendingDeprecationWarning: nodes.Node.traverse() is obsoleted by > Node.findall(). > for desc_node in doctree.traverse(addnodes.desc): > > .pybuild/cpython3_3.10_sphinx-autoapi/build/tests/python/test_pyintegration.py: > 589 warnings > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/toctree.py:59: > PendingDeprecationWarning: nodes.Node.traverse() is obsoleted by > Node.findall(). > for check_node in toc.traverse(nodes.reference): > > .pybuild/cpython3_3.10_sphinx-autoapi/build/tests/python/test_pyintegration.py: > 589 warnings > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/toctree.py:29: > DeprecationWarning: nodes.Text: initialization argument "rawsource" is > ignored and will be removed in Docutils 1.3. > *[nodes.Text(text, text)] > > .pybuild/cpython3_3.10_sphinx-autoapi/build/tests/python/test_pyintegration.py: > 23 warnings > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build/autoapi/extension.py:203: > PendingDeprecationWarning: nodes.Node.traverse() is obsoleted by > Node.findall(). > nodes = list(doctree.traverse(toctree)) > > -- Docs: https://docs.pytest.org/en/stable/warnings.html > =========================== short test summary info > ============================ > ERROR > tests/python/test_pyintegration.py::TestSimpleModule::test_manual_directives > ERROR > tests/python/test_pyintegration.py::TestSimpleModule::test_napoleon_integration_not_loaded > ERROR > tests/python/test_pyintegration.py::TestSimpleModule::test_show_inheritance > ERROR > tests/python/test_pyintegration.py::TestSimpleModule::test_show_inheritance > ERROR > tests/python/test_pyintegration.py::TestMovedConfPy::test_manual_directives > ERROR > tests/python/test_pyintegration.py::TestMovedConfPy::test_napoleon_integration_not_loaded > ERROR > tests/python/test_pyintegration.py::TestMovedConfPy::test_show_inheritance > ERROR > tests/python/test_pyintegration.py::TestMovedConfPy::test_show_inheritance > ERROR > tests/python/test_pyintegration.py::TestSimpleModuleDifferentPrimaryDomain::test_success > ERROR > tests/python/test_pyintegration.py::TestSimpleModuleDifferentPrimaryDomain::test_success > ======== 239 passed, 17 deselected, 1373 warnings, 10 errors in 12.78s > ========= > E: pybuild pybuild:369: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-autoapi/build; python3.10 -m > pytest "-k not test_integration" > 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/sphinx-autoapi_1.8.4-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