--- Begin Message ---
Source: sphinx-tabs
Version: 3.2.0-3
Severity: important
Tags: ftbfs
User: [email protected]
Usertags: sphinx5.0
Hi,
sphinx-tabs fails to build with Sphinx 5.0 and docutils 0.18, both of which
are currently available in experimental.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> python3 -m sphinx -b html -d docs/.build/.doctrees -N docs docs/.build/html
> Running Sphinx v5.0.2
> making output directory... done
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 1 source files that are out of date
> updating environment: [new config] 1 added, 0 changed, 0 removed
> reading sources... [100%] index
>
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> writing output... [100%] index
>
> 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.
>
> The HTML pages are in docs/.build/html.
> dh_auto_build
> I: pybuild base:239: /usr/bin/python3.9 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-tabs/build/sphinx_tabs
> copying sphinx_tabs/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-tabs/build/sphinx_tabs
> copying sphinx_tabs/tabs.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-tabs/build/sphinx_tabs
> running egg_info
> creating sphinx_tabs.egg-info
> writing sphinx_tabs.egg-info/PKG-INFO
> writing dependency_links to sphinx_tabs.egg-info/dependency_links.txt
> writing requirements to sphinx_tabs.egg-info/requires.txt
> writing top-level names to sphinx_tabs.egg-info/top_level.txt
> writing manifest file 'sphinx_tabs.egg-info/SOURCES.txt'
> reading manifest file 'sphinx_tabs.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files found matching 'docs'
> warning: no previously-included files matching '*' found under directory
> 'docs'
> warning: no previously-included files found matching 'tests'
> warning: no previously-included files matching '*' found under directory
> 'tests'
> warning: no previously-included files found matching 'images'
> warning: no previously-included files matching '*' found under directory
> 'images'
> warning: no previously-included files found matching '.pre-commit-config.yaml'
> warning: no previously-included files found matching '.readthedocs.yml'
> warning: no previously-included files found matching 'pylint.cfg'
> warning: no previously-included files found matching 'tox.ini'
> warning: no previously-included files found matching 'codecov.yml'
> adding license file 'LICENSE'
> writing manifest file 'sphinx_tabs.egg-info/SOURCES.txt'
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-tabs/build/sphinx_tabs/static
> copying sphinx_tabs/static/tabs.css ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-tabs/build/sphinx_tabs/static
> copying sphinx_tabs/static/tabs.js ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-tabs/build/sphinx_tabs/static
> I: pybuild base:239: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-tabs/build/sphinx_tabs
> copying sphinx_tabs/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-tabs/build/sphinx_tabs
> copying sphinx_tabs/tabs.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-tabs/build/sphinx_tabs
> running egg_info
> writing sphinx_tabs.egg-info/PKG-INFO
> writing dependency_links to sphinx_tabs.egg-info/dependency_links.txt
> writing requirements to sphinx_tabs.egg-info/requires.txt
> writing top-level names to sphinx_tabs.egg-info/top_level.txt
> reading manifest file 'sphinx_tabs.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files found matching 'docs'
> warning: no previously-included files matching '*' found under directory
> 'docs'
> warning: no previously-included files found matching 'tests'
> warning: no previously-included files matching '*' found under directory
> 'tests'
> warning: no previously-included files found matching 'images'
> warning: no previously-included files matching '*' found under directory
> 'images'
> warning: no previously-included files found matching '.pre-commit-config.yaml'
> warning: no previously-included files found matching '.readthedocs.yml'
> warning: no previously-included files found matching 'pylint.cfg'
> warning: no previously-included files found matching 'tox.ini'
> warning: no previously-included files found matching 'codecov.yml'
> adding license file 'LICENSE'
> writing manifest file 'sphinx_tabs.egg-info/SOURCES.txt'
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-tabs/build/sphinx_tabs/static
> copying sphinx_tabs/static/tabs.css ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-tabs/build/sphinx_tabs/static
> copying sphinx_tabs/static/tabs.js ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-tabs/build/sphinx_tabs/static
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:239: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-tabs/build; python3.9 -m pytest
> -k 'not test_rinohtype_pdf'
> ============================= test session starts
> ==============================
> platform linux -- Python 3.9.13, pytest-6.2.5, py-1.10.0, pluggy-1.0.0
> rootdir: /<<PKGBUILDDIR>>
> plugins: regressions-2.2.0+ds, datadir-1.3.1+ds, cov-3.0.0
> collected 15 items / 1 deselected / 14 selected
>
> tests/test_build.py ..EEEFFFs.E...
> [100%]
>
> ==================================== ERRORS
> ====================================
> _______________ ERROR at setup of test_conditional_assets[index]
> _______________
>
> app = <SphinxTestApp buildername='html'>
> status = <_io.StringIO object at 0x7f531eaed9d0>
> warning = <_io.StringIO object at 0x7f531eaedc10>
> check_build_success = <function check_build_success.<locals>.check at
> 0x7f531ecae040>
> get_sphinx_app_doctree = <function get_sphinx_app_doctree.<locals>.read at
> 0x7f531ecae4c0>
> regress_sphinx_app_output = <function regress_sphinx_app_output.<locals>.read
> at 0x7f531f2e3af0>
> request = <SubRequest 'auto_build_and_check' for <Function
> test_conditional_assets[index]>>
>
> @pytest.fixture(autouse=True)
> def auto_build_and_check(
> app,
> status,
> warning,
> check_build_success,
> get_sphinx_app_doctree,
> regress_sphinx_app_output,
> request,
> ):
> """
> Build and check build success and output regressions.
> Currently all tests start with this.
> Disable using a `noautobuild` mark.
> """
> if "noautobuild" in request.keywords:
> return
> app.build()
> check_build_success(status, warning)
> get_sphinx_app_doctree(app, regress=True)
> > regress_sphinx_app_output(app)
>
> tests/conftest.py:38:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> app = <SphinxTestApp buildername='html'>, buildername = 'html'
> filename = 'index.html', encoding = 'utf-8'
>
> def read(app, buildername="html", filename="index.html",
> encoding="utf-8"):
> content = get_sphinx_app_output(app, buildername, filename, encoding)
>
> if buildername == "html":
> soup = BeautifulSoup(content, "html.parser")
>
> # Remove output from ``pygments``, so that test only compares
> HTML of surrounding tabs
> for div in soup.find_all("div", {"class": "highlight"}):
> div.decompose()
>
> doc_div = soup.findAll("div", {"class": "documentwrapper"})[0]
> doc = doc_div.prettify()
>
> else:
> doc = content
> > file_regression.check(
> doc, extension="." + filename.split(".")[-1], encoding="utf8"
> )
> E AssertionError: FILES DIFFER:
> E
> /tmp/pytest-of-user42/pytest-10/test_conditional_assets_index_0/test_build/test_conditional_assets_index_.html
> E
> /tmp/pytest-of-user42/pytest-10/test_conditional_assets_index_0/test_build/test_conditional_assets_index_.obtained.html
> E HTML DIFF:
> /tmp/pytest-of-user42/pytest-10/test_conditional_assets_index_0/test_build/test_conditional_assets_index_.obtained.diff.html
> E ---
> E +++
> E @@ -18,7 +18,7 @@
> E <section id="fruits">
> E <h1>
> E Fruits
> E - <a class="headerlink" href="#fruits" title="Permalink to this
> headline">
> E + <a class="headerlink" href="#fruits" title="Permalink to this
> heading">
> E ¶
> E </a>
> E </h1>
> E @@ -54,7 +54,7 @@
> E <section id="luminaries">
> E <h1>
> E Luminaries
> E - <a class="headerlink" href="#luminaries" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#luminaries" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
> E @@ -82,7 +82,7 @@
> E <section id="code-tabs">
> E <h1>
> E Code Tabs
> E - <a class="headerlink" href="#code-tabs" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#code-tabs" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
> E @@ -182,7 +182,7 @@
> E <section id="group-tabs">
> E <h1>
> E Group Tabs
> E - <a class="headerlink" href="#group-tabs" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#group-tabs" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
>
> tests/conftest.py:93: AssertionError
> _____________ ERROR at setup of test_conditional_assets[no_tabs1]
> ______________
>
> app = <SphinxTestApp buildername='html'>
> status = <_io.StringIO object at 0x7f531ec63c10>
> warning = <_io.StringIO object at 0x7f531eaed940>
> check_build_success = <function check_build_success.<locals>.check at
> 0x7f531ea8c5e0>
> get_sphinx_app_doctree = <function get_sphinx_app_doctree.<locals>.read at
> 0x7f531ea8c700>
> regress_sphinx_app_output = <function regress_sphinx_app_output.<locals>.read
> at 0x7f531ea8c280>
> request = <SubRequest 'auto_build_and_check' for <Function
> test_conditional_assets[no_tabs1]>>
>
> @pytest.fixture(autouse=True)
> def auto_build_and_check(
> app,
> status,
> warning,
> check_build_success,
> get_sphinx_app_doctree,
> regress_sphinx_app_output,
> request,
> ):
> """
> Build and check build success and output regressions.
> Currently all tests start with this.
> Disable using a `noautobuild` mark.
> """
> if "noautobuild" in request.keywords:
> return
> app.build()
> check_build_success(status, warning)
> get_sphinx_app_doctree(app, regress=True)
> > regress_sphinx_app_output(app)
>
> tests/conftest.py:38:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> app = <SphinxTestApp buildername='html'>, buildername = 'html'
> filename = 'index.html', encoding = 'utf-8'
>
> def read(app, buildername="html", filename="index.html",
> encoding="utf-8"):
> content = get_sphinx_app_output(app, buildername, filename, encoding)
>
> if buildername == "html":
> soup = BeautifulSoup(content, "html.parser")
>
> # Remove output from ``pygments``, so that test only compares
> HTML of surrounding tabs
> for div in soup.find_all("div", {"class": "highlight"}):
> div.decompose()
>
> doc_div = soup.findAll("div", {"class": "documentwrapper"})[0]
> doc = doc_div.prettify()
>
> else:
> doc = content
> > file_regression.check(
> doc, extension="." + filename.split(".")[-1], encoding="utf8"
> )
> E AssertionError: FILES DIFFER:
> E
> /tmp/pytest-of-user42/pytest-10/test_conditional_assets_no_tab0/test_build/test_conditional_assets_no_tabs1_.html
> E
> /tmp/pytest-of-user42/pytest-10/test_conditional_assets_no_tab0/test_build/test_conditional_assets_no_tabs1_.obtained.html
> E HTML DIFF:
> /tmp/pytest-of-user42/pytest-10/test_conditional_assets_no_tab0/test_build/test_conditional_assets_no_tabs1_.obtained.diff.html
> E ---
> E +++
> E @@ -18,7 +18,7 @@
> E <section id="fruits">
> E <h1>
> E Fruits
> E - <a class="headerlink" href="#fruits" title="Permalink to this
> headline">
> E + <a class="headerlink" href="#fruits" title="Permalink to this
> heading">
> E ¶
> E </a>
> E </h1>
> E @@ -54,7 +54,7 @@
> E <section id="luminaries">
> E <h1>
> E Luminaries
> E - <a class="headerlink" href="#luminaries" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#luminaries" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
> E @@ -82,7 +82,7 @@
> E <section id="code-tabs">
> E <h1>
> E Code Tabs
> E - <a class="headerlink" href="#code-tabs" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#code-tabs" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
> E @@ -182,7 +182,7 @@
> E <section id="group-tabs">
> E <h1>
> E Group Tabs
> E - <a class="headerlink" href="#group-tabs" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#group-tabs" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
>
> tests/conftest.py:93: AssertionError
> _____________ ERROR at setup of test_conditional_assets[no_tabs2]
> ______________
>
> app = <SphinxTestApp buildername='html'>
> status = <_io.StringIO object at 0x7f531e971820>
> warning = <_io.StringIO object at 0x7f531e9718b0>
> check_build_success = <function check_build_success.<locals>.check at
> 0x7f531e9691f0>
> get_sphinx_app_doctree = <function get_sphinx_app_doctree.<locals>.read at
> 0x7f531e969280>
> regress_sphinx_app_output = <function regress_sphinx_app_output.<locals>.read
> at 0x7f531e969310>
> request = <SubRequest 'auto_build_and_check' for <Function
> test_conditional_assets[no_tabs2]>>
>
> @pytest.fixture(autouse=True)
> def auto_build_and_check(
> app,
> status,
> warning,
> check_build_success,
> get_sphinx_app_doctree,
> regress_sphinx_app_output,
> request,
> ):
> """
> Build and check build success and output regressions.
> Currently all tests start with this.
> Disable using a `noautobuild` mark.
> """
> if "noautobuild" in request.keywords:
> return
> app.build()
> check_build_success(status, warning)
> get_sphinx_app_doctree(app, regress=True)
> > regress_sphinx_app_output(app)
>
> tests/conftest.py:38:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> app = <SphinxTestApp buildername='html'>, buildername = 'html'
> filename = 'index.html', encoding = 'utf-8'
>
> def read(app, buildername="html", filename="index.html",
> encoding="utf-8"):
> content = get_sphinx_app_output(app, buildername, filename, encoding)
>
> if buildername == "html":
> soup = BeautifulSoup(content, "html.parser")
>
> # Remove output from ``pygments``, so that test only compares
> HTML of surrounding tabs
> for div in soup.find_all("div", {"class": "highlight"}):
> div.decompose()
>
> doc_div = soup.findAll("div", {"class": "documentwrapper"})[0]
> doc = doc_div.prettify()
>
> else:
> doc = content
> > file_regression.check(
> doc, extension="." + filename.split(".")[-1], encoding="utf8"
> )
> E AssertionError: FILES DIFFER:
> E
> /tmp/pytest-of-user42/pytest-10/test_conditional_assets_no_tab1/test_build/test_conditional_assets_no_tabs2_.html
> E
> /tmp/pytest-of-user42/pytest-10/test_conditional_assets_no_tab1/test_build/test_conditional_assets_no_tabs2_.obtained.html
> E HTML DIFF:
> /tmp/pytest-of-user42/pytest-10/test_conditional_assets_no_tab1/test_build/test_conditional_assets_no_tabs2_.obtained.diff.html
> E ---
> E +++
> E @@ -18,7 +18,7 @@
> E <section id="fruits">
> E <h1>
> E Fruits
> E - <a class="headerlink" href="#fruits" title="Permalink to this
> headline">
> E + <a class="headerlink" href="#fruits" title="Permalink to this
> heading">
> E ¶
> E </a>
> E </h1>
> E @@ -54,7 +54,7 @@
> E <section id="luminaries">
> E <h1>
> E Luminaries
> E - <a class="headerlink" href="#luminaries" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#luminaries" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
> E @@ -82,7 +82,7 @@
> E <section id="code-tabs">
> E <h1>
> E Code Tabs
> E - <a class="headerlink" href="#code-tabs" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#code-tabs" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
> E @@ -182,7 +182,7 @@
> E <section id="group-tabs">
> E <h1>
> E Group Tabs
> E - <a class="headerlink" href="#group-tabs" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#group-tabs" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
>
> tests/conftest.py:93: AssertionError
> _____________________ ERROR at setup of test_nested_markup
> _____________________
>
> app = <SphinxTestApp buildername='html'>
> status = <_io.StringIO object at 0x7f531e6a71f0>
> warning = <_io.StringIO object at 0x7f531e6a7670>
> check_build_success = <function check_build_success.<locals>.check at
> 0x7f531f625160>
> get_sphinx_app_doctree = <function get_sphinx_app_doctree.<locals>.read at
> 0x7f531eafc3a0>
> regress_sphinx_app_output = <function regress_sphinx_app_output.<locals>.read
> at 0x7f531eaed5e0>
> request = <SubRequest 'auto_build_and_check' for <Function
> test_nested_markup>>
>
> @pytest.fixture(autouse=True)
> def auto_build_and_check(
> app,
> status,
> warning,
> check_build_success,
> get_sphinx_app_doctree,
> regress_sphinx_app_output,
> request,
> ):
> """
> Build and check build success and output regressions.
> Currently all tests start with this.
> Disable using a `noautobuild` mark.
> """
> if "noautobuild" in request.keywords:
> return
> app.build()
> check_build_success(status, warning)
> get_sphinx_app_doctree(app, regress=True)
> > regress_sphinx_app_output(app)
>
> tests/conftest.py:38:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> app = <SphinxTestApp buildername='html'>, buildername = 'html'
> filename = 'index.html', encoding = 'utf-8'
>
> def read(app, buildername="html", filename="index.html",
> encoding="utf-8"):
> content = get_sphinx_app_output(app, buildername, filename, encoding)
>
> if buildername == "html":
> soup = BeautifulSoup(content, "html.parser")
>
> # Remove output from ``pygments``, so that test only compares
> HTML of surrounding tabs
> for div in soup.find_all("div", {"class": "highlight"}):
> div.decompose()
>
> doc_div = soup.findAll("div", {"class": "documentwrapper"})[0]
> doc = doc_div.prettify()
>
> else:
> doc = content
> > file_regression.check(
> doc, extension="." + filename.split(".")[-1], encoding="utf8"
> )
> E AssertionError: FILES DIFFER:
> E
> /tmp/pytest-of-user42/pytest-10/test_nested_markup0/test_build/test_nested_markup.html
> E
> /tmp/pytest-of-user42/pytest-10/test_nested_markup0/test_build/test_nested_markup.obtained.html
> E HTML DIFF:
> /tmp/pytest-of-user42/pytest-10/test_nested_markup0/test_build/test_nested_markup.obtained.diff.html
> E ---
> E +++
> E @@ -4,7 +4,7 @@
> E <section id="markup-in-tab-titles">
> E <h1>
> E Markup in Tab Titles
> E - <a class="headerlink" href="#markup-in-tab-titles"
> title="Permalink to this headline">
> E + <a class="headerlink" href="#markup-in-tab-titles"
> title="Permalink to this heading">
> E ¶
> E </a>
> E </h1>
>
> tests/conftest.py:93: AssertionError
> =================================== FAILURES
> ===================================
> ______________ test_conditional_assets_html_assets_policy[index]
> _______________
>
> app = <SphinxTestApp buildername='html'>, docname = 'index'
> status = <_io.StringIO object at 0x7f531e969ca0>
> warning = <_io.StringIO object at 0x7f531e8ed4c0>
> check_build_success = <function check_build_success.<locals>.check at
> 0x7f531e8eddc0>
> get_sphinx_app_doctree = <function get_sphinx_app_doctree.<locals>.read at
> 0x7f531e8ede50>
> regress_sphinx_app_output = <function regress_sphinx_app_output.<locals>.read
> at 0x7f531e8edee0>
> check_asset_links = <function check_asset_links.<locals>.check at
> 0x7f531e8f1040>
>
> @pytest.mark.noautobuild
> @pytest.mark.parametrize("docname", ["index", "no_tabs1", "no_tabs2"])
> @pytest.mark.sphinx(testroot="conditionalassets-policy")
> @pytest.mark.skipif(
> sphinx.version_info[:2] < (4, 1), reason="Test uses Sphinx 4.1 config"
> )
> def test_conditional_assets_html_assets_policy(
> app,
> docname,
> status,
> warning,
> check_build_success,
> get_sphinx_app_doctree,
> regress_sphinx_app_output,
> check_asset_links,
> ):
> app.set_html_assets_policy("always")
>
> # Following lines are copied from ``auto_build_and_check`` since we
> need to
> # set a config in the build object before auto build. Because of
> this, we
> # need to use ``noautobuild``.
> app.build()
> check_build_success(status, warning)
> get_sphinx_app_doctree(app, regress=True)
> > regress_sphinx_app_output(app)
>
> tests/test_build.py:52:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> app = <SphinxTestApp buildername='html'>, buildername = 'html'
> filename = 'index.html', encoding = 'utf-8'
>
> def read(app, buildername="html", filename="index.html",
> encoding="utf-8"):
> content = get_sphinx_app_output(app, buildername, filename, encoding)
>
> if buildername == "html":
> soup = BeautifulSoup(content, "html.parser")
>
> # Remove output from ``pygments``, so that test only compares
> HTML of surrounding tabs
> for div in soup.find_all("div", {"class": "highlight"}):
> div.decompose()
>
> doc_div = soup.findAll("div", {"class": "documentwrapper"})[0]
> doc = doc_div.prettify()
>
> else:
> doc = content
> > file_regression.check(
> doc, extension="." + filename.split(".")[-1], encoding="utf8"
> )
> E AssertionError: FILES DIFFER:
> E
> /tmp/pytest-of-user42/pytest-10/test_conditional_assets_html_a0/test_build/test_conditional_assets_html_assets_policy_index_.html
> E
> /tmp/pytest-of-user42/pytest-10/test_conditional_assets_html_a0/test_build/test_conditional_assets_html_assets_policy_index_.obtained.html
> E HTML DIFF:
> /tmp/pytest-of-user42/pytest-10/test_conditional_assets_html_a0/test_build/test_conditional_assets_html_assets_policy_index_.obtained.diff.html
> E ---
> E +++
> E @@ -18,7 +18,7 @@
> E <section id="fruits">
> E <h1>
> E Fruits
> E - <a class="headerlink" href="#fruits" title="Permalink to this
> headline">
> E + <a class="headerlink" href="#fruits" title="Permalink to this
> heading">
> E ¶
> E </a>
> E </h1>
> E @@ -54,7 +54,7 @@
> E <section id="luminaries">
> E <h1>
> E Luminaries
> E - <a class="headerlink" href="#luminaries" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#luminaries" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
> E @@ -82,7 +82,7 @@
> E <section id="code-tabs">
> E <h1>
> E Code Tabs
> E - <a class="headerlink" href="#code-tabs" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#code-tabs" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
> E @@ -182,7 +182,7 @@
> E <section id="group-tabs">
> E <h1>
> E Group Tabs
> E - <a class="headerlink" href="#group-tabs" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#group-tabs" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
>
> tests/conftest.py:93: AssertionError
> --------------------------- Captured stdout teardown
> ---------------------------
> # testroot: root
> # builder: html
> # srcdir: /tmp/pytest-of-user42/pytest-10/conditionalassets-policy
> # outdir: /tmp/pytest-of-user42/pytest-10/conditionalassets-policy/_build/html
> # status:
> [01mRunning Sphinx v5.0.2[39;49;00m
> [01mbuilding [mo]: [39;49;00mtargets for 0 po files that are out of date
> [01mbuilding [html]: [39;49;00mtargets for 3 source files that are out of
> date
> [01mupdating environment: [39;49;00m[new config] 3 added, 0 changed, 0
> removed
> [01mreading sources... [39;49;00m[ 33%] [35mindex[39;49;00m
>
> [01mreading sources... [39;49;00m[ 66%] [35mno_tabs1[39;49;00m
>
> [01mreading sources... [39;49;00m[100%] [35mno_tabs2[39;49;00m
>
>
> [01mlooking for now-outdated files... [39;49;00mnone found
> [01mpickling environment... [39;49;00mdone
> [01mchecking consistency... [39;49;00mdone
> [01mpreparing documents... [39;49;00mdone
> [01mwriting output... [39;49;00m[ 33%] [32mindex[39;49;00m
>
> [01mwriting output... [39;49;00m[ 66%] [32mno_tabs1[39;49;00m
>
> [01mwriting output... [39;49;00m[100%] [32mno_tabs2[39;49;00m
>
>
> [01mgenerating indices... [39;49;00mgenindex done
> [01mwriting additional pages... [39;49;00msearch done
> [01mcopying static files... [39;49;00mdone
> [01mcopying extra files... [39;49;00mdone
> [01mdumping search index in English (code: en)... [39;49;00mdone
> [01mdumping object inventory... [39;49;00mdone
> [01mbuild succeeded.[39;49;00m
>
> The HTML pages are in
> ../../../../../../tmp/pytest-of-user42/pytest-10/conditionalassets-policy/_build/html.
>
> # warning:
>
> _____________ test_conditional_assets_html_assets_policy[no_tabs1]
> _____________
>
> app = <SphinxTestApp buildername='html'>, docname = 'no_tabs1'
> status = <_io.StringIO object at 0x7f531e8f1670>
> warning = <_io.StringIO object at 0x7f531e8f1280>
> check_build_success = <function check_build_success.<locals>.check at
> 0x7f531e83db80>
> get_sphinx_app_doctree = <function get_sphinx_app_doctree.<locals>.read at
> 0x7f531e83dd30>
> regress_sphinx_app_output = <function regress_sphinx_app_output.<locals>.read
> at 0x7f531e83daf0>
> check_asset_links = <function check_asset_links.<locals>.check at
> 0x7f531e744040>
>
> @pytest.mark.noautobuild
> @pytest.mark.parametrize("docname", ["index", "no_tabs1", "no_tabs2"])
> @pytest.mark.sphinx(testroot="conditionalassets-policy")
> @pytest.mark.skipif(
> sphinx.version_info[:2] < (4, 1), reason="Test uses Sphinx 4.1 config"
> )
> def test_conditional_assets_html_assets_policy(
> app,
> docname,
> status,
> warning,
> check_build_success,
> get_sphinx_app_doctree,
> regress_sphinx_app_output,
> check_asset_links,
> ):
> app.set_html_assets_policy("always")
>
> # Following lines are copied from ``auto_build_and_check`` since we
> need to
> # set a config in the build object before auto build. Because of
> this, we
> # need to use ``noautobuild``.
> app.build()
> check_build_success(status, warning)
> get_sphinx_app_doctree(app, regress=True)
> > regress_sphinx_app_output(app)
>
> tests/test_build.py:52:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> app = <SphinxTestApp buildername='html'>, buildername = 'html'
> filename = 'index.html', encoding = 'utf-8'
>
> def read(app, buildername="html", filename="index.html",
> encoding="utf-8"):
> content = get_sphinx_app_output(app, buildername, filename, encoding)
>
> if buildername == "html":
> soup = BeautifulSoup(content, "html.parser")
>
> # Remove output from ``pygments``, so that test only compares
> HTML of surrounding tabs
> for div in soup.find_all("div", {"class": "highlight"}):
> div.decompose()
>
> doc_div = soup.findAll("div", {"class": "documentwrapper"})[0]
> doc = doc_div.prettify()
>
> else:
> doc = content
> > file_regression.check(
> doc, extension="." + filename.split(".")[-1], encoding="utf8"
> )
> E AssertionError: FILES DIFFER:
> E
> /tmp/pytest-of-user42/pytest-10/test_conditional_assets_html_a1/test_build/test_conditional_assets_html_assets_policy_no_tabs1_.html
> E
> /tmp/pytest-of-user42/pytest-10/test_conditional_assets_html_a1/test_build/test_conditional_assets_html_assets_policy_no_tabs1_.obtained.html
> E HTML DIFF:
> /tmp/pytest-of-user42/pytest-10/test_conditional_assets_html_a1/test_build/test_conditional_assets_html_assets_policy_no_tabs1_.obtained.diff.html
> E ---
> E +++
> E @@ -18,7 +18,7 @@
> E <section id="fruits">
> E <h1>
> E Fruits
> E - <a class="headerlink" href="#fruits" title="Permalink to this
> headline">
> E + <a class="headerlink" href="#fruits" title="Permalink to this
> heading">
> E ¶
> E </a>
> E </h1>
> E @@ -54,7 +54,7 @@
> E <section id="luminaries">
> E <h1>
> E Luminaries
> E - <a class="headerlink" href="#luminaries" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#luminaries" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
> E @@ -82,7 +82,7 @@
> E <section id="code-tabs">
> E <h1>
> E Code Tabs
> E - <a class="headerlink" href="#code-tabs" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#code-tabs" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
> E @@ -182,7 +182,7 @@
> E <section id="group-tabs">
> E <h1>
> E Group Tabs
> E - <a class="headerlink" href="#group-tabs" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#group-tabs" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
>
> tests/conftest.py:93: AssertionError
> --------------------------- Captured stdout teardown
> ---------------------------
> # testroot: root
> # builder: html
> # srcdir: /tmp/pytest-of-user42/pytest-10/conditionalassets-policy
> # outdir: /tmp/pytest-of-user42/pytest-10/conditionalassets-policy/_build/html
> # status:
> [01mRunning Sphinx v5.0.2[39;49;00m
> [01mloading pickled environment... [39;49;00mdone
> [01mbuilding [mo]: [39;49;00mtargets for 0 po files that are out of date
> [01mbuilding [html]: [39;49;00mtargets for 0 source files that are out of
> date
> [01mupdating environment: [39;49;00m0 added, 0 changed, 0 removed
> [01mlooking for now-outdated files... [39;49;00mnone found
> [01mno targets are out of date.[39;49;00m
> [01mbuild succeeded.[39;49;00m
>
> The HTML pages are in
> ../../../../../../tmp/pytest-of-user42/pytest-10/conditionalassets-policy/_build/html.
>
> # warning:
>
> _____________ test_conditional_assets_html_assets_policy[no_tabs2]
> _____________
>
> app = <SphinxTestApp buildername='html'>, docname = 'no_tabs2'
> status = <_io.StringIO object at 0x7f531e7ead30>
> warning = <_io.StringIO object at 0x7f531e7eaca0>
> check_build_success = <function check_build_success.<locals>.check at
> 0x7f531e735040>
> get_sphinx_app_doctree = <function get_sphinx_app_doctree.<locals>.read at
> 0x7f531e735160>
> regress_sphinx_app_output = <function regress_sphinx_app_output.<locals>.read
> at 0x7f531e7351f0>
> check_asset_links = <function check_asset_links.<locals>.check at
> 0x7f531e735310>
>
> @pytest.mark.noautobuild
> @pytest.mark.parametrize("docname", ["index", "no_tabs1", "no_tabs2"])
> @pytest.mark.sphinx(testroot="conditionalassets-policy")
> @pytest.mark.skipif(
> sphinx.version_info[:2] < (4, 1), reason="Test uses Sphinx 4.1 config"
> )
> def test_conditional_assets_html_assets_policy(
> app,
> docname,
> status,
> warning,
> check_build_success,
> get_sphinx_app_doctree,
> regress_sphinx_app_output,
> check_asset_links,
> ):
> app.set_html_assets_policy("always")
>
> # Following lines are copied from ``auto_build_and_check`` since we
> need to
> # set a config in the build object before auto build. Because of
> this, we
> # need to use ``noautobuild``.
> app.build()
> check_build_success(status, warning)
> get_sphinx_app_doctree(app, regress=True)
> > regress_sphinx_app_output(app)
>
> tests/test_build.py:52:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> app = <SphinxTestApp buildername='html'>, buildername = 'html'
> filename = 'index.html', encoding = 'utf-8'
>
> def read(app, buildername="html", filename="index.html",
> encoding="utf-8"):
> content = get_sphinx_app_output(app, buildername, filename, encoding)
>
> if buildername == "html":
> soup = BeautifulSoup(content, "html.parser")
>
> # Remove output from ``pygments``, so that test only compares
> HTML of surrounding tabs
> for div in soup.find_all("div", {"class": "highlight"}):
> div.decompose()
>
> doc_div = soup.findAll("div", {"class": "documentwrapper"})[0]
> doc = doc_div.prettify()
>
> else:
> doc = content
> > file_regression.check(
> doc, extension="." + filename.split(".")[-1], encoding="utf8"
> )
> E AssertionError: FILES DIFFER:
> E
> /tmp/pytest-of-user42/pytest-10/test_conditional_assets_html_a2/test_build/test_conditional_assets_html_assets_policy_no_tabs2_.html
> E
> /tmp/pytest-of-user42/pytest-10/test_conditional_assets_html_a2/test_build/test_conditional_assets_html_assets_policy_no_tabs2_.obtained.html
> E HTML DIFF:
> /tmp/pytest-of-user42/pytest-10/test_conditional_assets_html_a2/test_build/test_conditional_assets_html_assets_policy_no_tabs2_.obtained.diff.html
> E ---
> E +++
> E @@ -18,7 +18,7 @@
> E <section id="fruits">
> E <h1>
> E Fruits
> E - <a class="headerlink" href="#fruits" title="Permalink to this
> headline">
> E + <a class="headerlink" href="#fruits" title="Permalink to this
> heading">
> E ¶
> E </a>
> E </h1>
> E @@ -54,7 +54,7 @@
> E <section id="luminaries">
> E <h1>
> E Luminaries
> E - <a class="headerlink" href="#luminaries" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#luminaries" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
> E @@ -82,7 +82,7 @@
> E <section id="code-tabs">
> E <h1>
> E Code Tabs
> E - <a class="headerlink" href="#code-tabs" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#code-tabs" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
> E @@ -182,7 +182,7 @@
> E <section id="group-tabs">
> E <h1>
> E Group Tabs
> E - <a class="headerlink" href="#group-tabs" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#group-tabs" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
>
> tests/conftest.py:93: AssertionError
> --------------------------- Captured stdout teardown
> ---------------------------
> # testroot: root
> # builder: html
> # srcdir: /tmp/pytest-of-user42/pytest-10/conditionalassets-policy
> # outdir: /tmp/pytest-of-user42/pytest-10/conditionalassets-policy/_build/html
> # status:
> [01mRunning Sphinx v5.0.2[39;49;00m
> [01mloading pickled environment... [39;49;00mdone
> [01mbuilding [mo]: [39;49;00mtargets for 0 po files that are out of date
> [01mbuilding [html]: [39;49;00mtargets for 0 source files that are out of
> date
> [01mupdating environment: [39;49;00m0 added, 0 changed, 0 removed
> [01mlooking for now-outdated files... [39;49;00mnone found
> [01mno targets are out of date.[39;49;00m
> [01mbuild succeeded.[39;49;00m
>
> The HTML pages are in
> ../../../../../../tmp/pytest-of-user42/pytest-10/conditionalassets-policy/_build/html.
>
> # warning:
>
> =============================== warnings summary
> ===============================
> tests/test_build.py:28
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-tabs/build/tests/test_build.py:28:
> PytestUnknownMarkWarning: Unknown pytest.mark.noautobuild - is this a typo?
> You can register custom marks to avoid this warning - for details, see
> https://docs.pytest.org/en/stable/mark.html
> @pytest.mark.noautobuild
>
> tests/test_build.py:83
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-tabs/build/tests/test_build.py:83:
> PytestUnknownMarkWarning: Unknown pytest.mark.noautobuild - is this a typo?
> You can register custom marks to avoid this warning - for details, see
> https://docs.pytest.org/en/stable/mark.html
> @pytest.mark.noautobuild
>
> .pybuild/cpython3_3.9_sphinx-tabs/build/tests/test_build.py: 13 warnings
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-tabs/build/tests/conftest.py:113:
> PendingDeprecationWarning: nodes.Node.traverse() is obsoleted by
> Node.findall().
> for node in doctree.traverse(lambda n: "source" in n):
>
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> =========================== short test summary info
> ============================
> FAILED tests/test_build.py::test_conditional_assets_html_assets_policy[index]
> FAILED
> tests/test_build.py::test_conditional_assets_html_assets_policy[no_tabs1]
> FAILED
> tests/test_build.py::test_conditional_assets_html_assets_policy[no_tabs2]
> ERROR tests/test_build.py::test_conditional_assets[index] - AssertionError:
> F...
> ERROR tests/test_build.py::test_conditional_assets[no_tabs1] -
> AssertionError...
> ERROR tests/test_build.py::test_conditional_assets[no_tabs2] -
> AssertionError...
> ERROR tests/test_build.py::test_nested_markup - AssertionError: FILES DIFFER:
> = 3 failed, 6 passed, 1 skipped, 1 deselected, 15 warnings, 4 errors in 2.88s
> ==
> E: pybuild pybuild:369: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-tabs/build; python3.9 -m pytest
> -k 'not test_rinohtype_pdf'
> I: pybuild base:239: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-tabs/build; python3.10 -m
> pytest -k 'not test_rinohtype_pdf'
> ============================= test session starts
> ==============================
> platform linux -- Python 3.10.5, pytest-6.2.5, py-1.10.0, pluggy-1.0.0
> rootdir: /<<PKGBUILDDIR>>
> plugins: regressions-2.2.0+ds, datadir-1.3.1+ds, cov-3.0.0
> collected 15 items / 1 deselected / 14 selected
>
> tests/test_build.py ..EEEFFFs.E...
> [100%]
>
> ==================================== ERRORS
> ====================================
> _______________ ERROR at setup of test_conditional_assets[index]
> _______________
>
> app = <SphinxTestApp buildername='html'>
> status = <_io.StringIO object at 0x7f26605f3ac0>
> warning = <_io.StringIO object at 0x7f26605f3a30>
> check_build_success = <function check_build_success.<locals>.check at
> 0x7f26610d7520>
> get_sphinx_app_doctree = <function get_sphinx_app_doctree.<locals>.read at
> 0x7f26610d7be0>
> regress_sphinx_app_output = <function regress_sphinx_app_output.<locals>.read
> at 0x7f26605f3880>
> request = <SubRequest 'auto_build_and_check' for <Function
> test_conditional_assets[index]>>
>
> @pytest.fixture(autouse=True)
> def auto_build_and_check(
> app,
> status,
> warning,
> check_build_success,
> get_sphinx_app_doctree,
> regress_sphinx_app_output,
> request,
> ):
> """
> Build and check build success and output regressions.
> Currently all tests start with this.
> Disable using a `noautobuild` mark.
> """
> if "noautobuild" in request.keywords:
> return
> app.build()
> check_build_success(status, warning)
> get_sphinx_app_doctree(app, regress=True)
> > regress_sphinx_app_output(app)
>
> tests/conftest.py:38:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> app = <SphinxTestApp buildername='html'>, buildername = 'html'
> filename = 'index.html', encoding = 'utf-8'
>
> def read(app, buildername="html", filename="index.html",
> encoding="utf-8"):
> content = get_sphinx_app_output(app, buildername, filename, encoding)
>
> if buildername == "html":
> soup = BeautifulSoup(content, "html.parser")
>
> # Remove output from ``pygments``, so that test only compares
> HTML of surrounding tabs
> for div in soup.find_all("div", {"class": "highlight"}):
> div.decompose()
>
> doc_div = soup.findAll("div", {"class": "documentwrapper"})[0]
> doc = doc_div.prettify()
>
> else:
> doc = content
> > file_regression.check(
> doc, extension="." + filename.split(".")[-1], encoding="utf8"
> )
> E AssertionError: FILES DIFFER:
> E
> /tmp/pytest-of-user42/pytest-11/test_conditional_assets_index_0/test_build/test_conditional_assets_index_.html
> E
> /tmp/pytest-of-user42/pytest-11/test_conditional_assets_index_0/test_build/test_conditional_assets_index_.obtained.html
> E HTML DIFF:
> /tmp/pytest-of-user42/pytest-11/test_conditional_assets_index_0/test_build/test_conditional_assets_index_.obtained.diff.html
> E ---
> E +++
> E @@ -18,7 +18,7 @@
> E <section id="fruits">
> E <h1>
> E Fruits
> E - <a class="headerlink" href="#fruits" title="Permalink to this
> headline">
> E + <a class="headerlink" href="#fruits" title="Permalink to this
> heading">
> E ¶
> E </a>
> E </h1>
> E @@ -54,7 +54,7 @@
> E <section id="luminaries">
> E <h1>
> E Luminaries
> E - <a class="headerlink" href="#luminaries" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#luminaries" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
> E @@ -82,7 +82,7 @@
> E <section id="code-tabs">
> E <h1>
> E Code Tabs
> E - <a class="headerlink" href="#code-tabs" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#code-tabs" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
> E @@ -182,7 +182,7 @@
> E <section id="group-tabs">
> E <h1>
> E Group Tabs
> E - <a class="headerlink" href="#group-tabs" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#group-tabs" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
>
> tests/conftest.py:93: AssertionError
> _____________ ERROR at setup of test_conditional_assets[no_tabs1]
> ______________
>
> app = <SphinxTestApp buildername='html'>
> status = <_io.StringIO object at 0x7f26604bcaf0>
> warning = <_io.StringIO object at 0x7f26604bc3a0>
> check_build_success = <function check_build_success.<locals>.check at
> 0x7f2660700e50>
> get_sphinx_app_doctree = <function get_sphinx_app_doctree.<locals>.read at
> 0x7f26607037f0>
> regress_sphinx_app_output = <function regress_sphinx_app_output.<locals>.read
> at 0x7f2660703880>
> request = <SubRequest 'auto_build_and_check' for <Function
> test_conditional_assets[no_tabs1]>>
>
> @pytest.fixture(autouse=True)
> def auto_build_and_check(
> app,
> status,
> warning,
> check_build_success,
> get_sphinx_app_doctree,
> regress_sphinx_app_output,
> request,
> ):
> """
> Build and check build success and output regressions.
> Currently all tests start with this.
> Disable using a `noautobuild` mark.
> """
> if "noautobuild" in request.keywords:
> return
> app.build()
> check_build_success(status, warning)
> get_sphinx_app_doctree(app, regress=True)
> > regress_sphinx_app_output(app)
>
> tests/conftest.py:38:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> app = <SphinxTestApp buildername='html'>, buildername = 'html'
> filename = 'index.html', encoding = 'utf-8'
>
> def read(app, buildername="html", filename="index.html",
> encoding="utf-8"):
> content = get_sphinx_app_output(app, buildername, filename, encoding)
>
> if buildername == "html":
> soup = BeautifulSoup(content, "html.parser")
>
> # Remove output from ``pygments``, so that test only compares
> HTML of surrounding tabs
> for div in soup.find_all("div", {"class": "highlight"}):
> div.decompose()
>
> doc_div = soup.findAll("div", {"class": "documentwrapper"})[0]
> doc = doc_div.prettify()
>
> else:
> doc = content
> > file_regression.check(
> doc, extension="." + filename.split(".")[-1], encoding="utf8"
> )
> E AssertionError: FILES DIFFER:
> E
> /tmp/pytest-of-user42/pytest-11/test_conditional_assets_no_tab0/test_build/test_conditional_assets_no_tabs1_.html
> E
> /tmp/pytest-of-user42/pytest-11/test_conditional_assets_no_tab0/test_build/test_conditional_assets_no_tabs1_.obtained.html
> E HTML DIFF:
> /tmp/pytest-of-user42/pytest-11/test_conditional_assets_no_tab0/test_build/test_conditional_assets_no_tabs1_.obtained.diff.html
> E ---
> E +++
> E @@ -18,7 +18,7 @@
> E <section id="fruits">
> E <h1>
> E Fruits
> E - <a class="headerlink" href="#fruits" title="Permalink to this
> headline">
> E + <a class="headerlink" href="#fruits" title="Permalink to this
> heading">
> E ¶
> E </a>
> E </h1>
> E @@ -54,7 +54,7 @@
> E <section id="luminaries">
> E <h1>
> E Luminaries
> E - <a class="headerlink" href="#luminaries" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#luminaries" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
> E @@ -82,7 +82,7 @@
> E <section id="code-tabs">
> E <h1>
> E Code Tabs
> E - <a class="headerlink" href="#code-tabs" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#code-tabs" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
> E @@ -182,7 +182,7 @@
> E <section id="group-tabs">
> E <h1>
> E Group Tabs
> E - <a class="headerlink" href="#group-tabs" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#group-tabs" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
>
> tests/conftest.py:93: AssertionError
> _____________ ERROR at setup of test_conditional_assets[no_tabs2]
> ______________
>
> app = <SphinxTestApp buildername='html'>
> status = <_io.StringIO object at 0x7f26604be0e0>
> warning = <_io.StringIO object at 0x7f26604be170>
> check_build_success = <function check_build_success.<locals>.check at
> 0x7f26604bea70>
> get_sphinx_app_doctree = <function get_sphinx_app_doctree.<locals>.read at
> 0x7f26604beb90>
> regress_sphinx_app_output = <function regress_sphinx_app_output.<locals>.read
> at 0x7f26604be9e0>
> request = <SubRequest 'auto_build_and_check' for <Function
> test_conditional_assets[no_tabs2]>>
>
> @pytest.fixture(autouse=True)
> def auto_build_and_check(
> app,
> status,
> warning,
> check_build_success,
> get_sphinx_app_doctree,
> regress_sphinx_app_output,
> request,
> ):
> """
> Build and check build success and output regressions.
> Currently all tests start with this.
> Disable using a `noautobuild` mark.
> """
> if "noautobuild" in request.keywords:
> return
> app.build()
> check_build_success(status, warning)
> get_sphinx_app_doctree(app, regress=True)
> > regress_sphinx_app_output(app)
>
> tests/conftest.py:38:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> app = <SphinxTestApp buildername='html'>, buildername = 'html'
> filename = 'index.html', encoding = 'utf-8'
>
> def read(app, buildername="html", filename="index.html",
> encoding="utf-8"):
> content = get_sphinx_app_output(app, buildername, filename, encoding)
>
> if buildername == "html":
> soup = BeautifulSoup(content, "html.parser")
>
> # Remove output from ``pygments``, so that test only compares
> HTML of surrounding tabs
> for div in soup.find_all("div", {"class": "highlight"}):
> div.decompose()
>
> doc_div = soup.findAll("div", {"class": "documentwrapper"})[0]
> doc = doc_div.prettify()
>
> else:
> doc = content
> > file_regression.check(
> doc, extension="." + filename.split(".")[-1], encoding="utf8"
> )
> E AssertionError: FILES DIFFER:
> E
> /tmp/pytest-of-user42/pytest-11/test_conditional_assets_no_tab1/test_build/test_conditional_assets_no_tabs2_.html
> E
> /tmp/pytest-of-user42/pytest-11/test_conditional_assets_no_tab1/test_build/test_conditional_assets_no_tabs2_.obtained.html
> E HTML DIFF:
> /tmp/pytest-of-user42/pytest-11/test_conditional_assets_no_tab1/test_build/test_conditional_assets_no_tabs2_.obtained.diff.html
> E ---
> E +++
> E @@ -18,7 +18,7 @@
> E <section id="fruits">
> E <h1>
> E Fruits
> E - <a class="headerlink" href="#fruits" title="Permalink to this
> headline">
> E + <a class="headerlink" href="#fruits" title="Permalink to this
> heading">
> E ¶
> E </a>
> E </h1>
> E @@ -54,7 +54,7 @@
> E <section id="luminaries">
> E <h1>
> E Luminaries
> E - <a class="headerlink" href="#luminaries" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#luminaries" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
> E @@ -82,7 +82,7 @@
> E <section id="code-tabs">
> E <h1>
> E Code Tabs
> E - <a class="headerlink" href="#code-tabs" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#code-tabs" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
> E @@ -182,7 +182,7 @@
> E <section id="group-tabs">
> E <h1>
> E Group Tabs
> E - <a class="headerlink" href="#group-tabs" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#group-tabs" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
>
> tests/conftest.py:93: AssertionError
> _____________________ ERROR at setup of test_nested_markup
> _____________________
>
> app = <SphinxTestApp buildername='html'>
> status = <_io.StringIO object at 0x7f26600db9a0>
> warning = <_io.StringIO object at 0x7f26600dba30>
> check_build_success = <function check_build_success.<locals>.check at
> 0x7f266109aef0>
> get_sphinx_app_doctree = <function get_sphinx_app_doctree.<locals>.read at
> 0x7f2660d00040>
> regress_sphinx_app_output = <function regress_sphinx_app_output.<locals>.read
> at 0x7f26601e5fc0>
> request = <SubRequest 'auto_build_and_check' for <Function
> test_nested_markup>>
>
> @pytest.fixture(autouse=True)
> def auto_build_and_check(
> app,
> status,
> warning,
> check_build_success,
> get_sphinx_app_doctree,
> regress_sphinx_app_output,
> request,
> ):
> """
> Build and check build success and output regressions.
> Currently all tests start with this.
> Disable using a `noautobuild` mark.
> """
> if "noautobuild" in request.keywords:
> return
> app.build()
> check_build_success(status, warning)
> get_sphinx_app_doctree(app, regress=True)
> > regress_sphinx_app_output(app)
>
> tests/conftest.py:38:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> app = <SphinxTestApp buildername='html'>, buildername = 'html'
> filename = 'index.html', encoding = 'utf-8'
>
> def read(app, buildername="html", filename="index.html",
> encoding="utf-8"):
> content = get_sphinx_app_output(app, buildername, filename, encoding)
>
> if buildername == "html":
> soup = BeautifulSoup(content, "html.parser")
>
> # Remove output from ``pygments``, so that test only compares
> HTML of surrounding tabs
> for div in soup.find_all("div", {"class": "highlight"}):
> div.decompose()
>
> doc_div = soup.findAll("div", {"class": "documentwrapper"})[0]
> doc = doc_div.prettify()
>
> else:
> doc = content
> > file_regression.check(
> doc, extension="." + filename.split(".")[-1], encoding="utf8"
> )
> E AssertionError: FILES DIFFER:
> E
> /tmp/pytest-of-user42/pytest-11/test_nested_markup0/test_build/test_nested_markup.html
> E
> /tmp/pytest-of-user42/pytest-11/test_nested_markup0/test_build/test_nested_markup.obtained.html
> E HTML DIFF:
> /tmp/pytest-of-user42/pytest-11/test_nested_markup0/test_build/test_nested_markup.obtained.diff.html
> E ---
> E +++
> E @@ -4,7 +4,7 @@
> E <section id="markup-in-tab-titles">
> E <h1>
> E Markup in Tab Titles
> E - <a class="headerlink" href="#markup-in-tab-titles"
> title="Permalink to this headline">
> E + <a class="headerlink" href="#markup-in-tab-titles"
> title="Permalink to this heading">
> E ¶
> E </a>
> E </h1>
>
> tests/conftest.py:93: AssertionError
> =================================== FAILURES
> ===================================
> ______________ test_conditional_assets_html_assets_policy[index]
> _______________
>
> app = <SphinxTestApp buildername='html'>, docname = 'index'
> status = <_io.StringIO object at 0x7f26604bf5b0>
> warning = <_io.StringIO object at 0x7f26604bfd00>
> check_build_success = <function check_build_success.<locals>.check at
> 0x7f26602c0670>
> get_sphinx_app_doctree = <function get_sphinx_app_doctree.<locals>.read at
> 0x7f26602c0700>
> regress_sphinx_app_output = <function regress_sphinx_app_output.<locals>.read
> at 0x7f26602c05e0>
> check_asset_links = <function check_asset_links.<locals>.check at
> 0x7f26602c0820>
>
> @pytest.mark.noautobuild
> @pytest.mark.parametrize("docname", ["index", "no_tabs1", "no_tabs2"])
> @pytest.mark.sphinx(testroot="conditionalassets-policy")
> @pytest.mark.skipif(
> sphinx.version_info[:2] < (4, 1), reason="Test uses Sphinx 4.1 config"
> )
> def test_conditional_assets_html_assets_policy(
> app,
> docname,
> status,
> warning,
> check_build_success,
> get_sphinx_app_doctree,
> regress_sphinx_app_output,
> check_asset_links,
> ):
> app.set_html_assets_policy("always")
>
> # Following lines are copied from ``auto_build_and_check`` since we
> need to
> # set a config in the build object before auto build. Because of
> this, we
> # need to use ``noautobuild``.
> app.build()
> check_build_success(status, warning)
> get_sphinx_app_doctree(app, regress=True)
> > regress_sphinx_app_output(app)
>
> tests/test_build.py:52:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> app = <SphinxTestApp buildername='html'>, buildername = 'html'
> filename = 'index.html', encoding = 'utf-8'
>
> def read(app, buildername="html", filename="index.html",
> encoding="utf-8"):
> content = get_sphinx_app_output(app, buildername, filename, encoding)
>
> if buildername == "html":
> soup = BeautifulSoup(content, "html.parser")
>
> # Remove output from ``pygments``, so that test only compares
> HTML of surrounding tabs
> for div in soup.find_all("div", {"class": "highlight"}):
> div.decompose()
>
> doc_div = soup.findAll("div", {"class": "documentwrapper"})[0]
> doc = doc_div.prettify()
>
> else:
> doc = content
> > file_regression.check(
> doc, extension="." + filename.split(".")[-1], encoding="utf8"
> )
> E AssertionError: FILES DIFFER:
> E
> /tmp/pytest-of-user42/pytest-11/test_conditional_assets_html_a0/test_build/test_conditional_assets_html_assets_policy_index_.html
> E
> /tmp/pytest-of-user42/pytest-11/test_conditional_assets_html_a0/test_build/test_conditional_assets_html_assets_policy_index_.obtained.html
> E HTML DIFF:
> /tmp/pytest-of-user42/pytest-11/test_conditional_assets_html_a0/test_build/test_conditional_assets_html_assets_policy_index_.obtained.diff.html
> E ---
> E +++
> E @@ -18,7 +18,7 @@
> E <section id="fruits">
> E <h1>
> E Fruits
> E - <a class="headerlink" href="#fruits" title="Permalink to this
> headline">
> E + <a class="headerlink" href="#fruits" title="Permalink to this
> heading">
> E ¶
> E </a>
> E </h1>
> E @@ -54,7 +54,7 @@
> E <section id="luminaries">
> E <h1>
> E Luminaries
> E - <a class="headerlink" href="#luminaries" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#luminaries" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
> E @@ -82,7 +82,7 @@
> E <section id="code-tabs">
> E <h1>
> E Code Tabs
> E - <a class="headerlink" href="#code-tabs" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#code-tabs" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
> E @@ -182,7 +182,7 @@
> E <section id="group-tabs">
> E <h1>
> E Group Tabs
> E - <a class="headerlink" href="#group-tabs" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#group-tabs" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
>
> tests/conftest.py:93: AssertionError
> --------------------------- Captured stdout teardown
> ---------------------------
> # testroot: root
> # builder: html
> # srcdir: /tmp/pytest-of-user42/pytest-11/conditionalassets-policy
> # outdir: /tmp/pytest-of-user42/pytest-11/conditionalassets-policy/_build/html
> # status:
> [01mRunning Sphinx v5.0.2[39;49;00m
> [01mbuilding [mo]: [39;49;00mtargets for 0 po files that are out of date
> [01mbuilding [html]: [39;49;00mtargets for 3 source files that are out of
> date
> [01mupdating environment: [39;49;00m[new config] 3 added, 0 changed, 0
> removed
> [01mreading sources... [39;49;00m[ 33%] [35mindex[39;49;00m
>
> [01mreading sources... [39;49;00m[ 66%] [35mno_tabs1[39;49;00m
>
> [01mreading sources... [39;49;00m[100%] [35mno_tabs2[39;49;00m
>
>
> [01mlooking for now-outdated files... [39;49;00mnone found
> [01mpickling environment... [39;49;00mdone
> [01mchecking consistency... [39;49;00mdone
> [01mpreparing documents... [39;49;00mdone
> [01mwriting output... [39;49;00m[ 33%] [32mindex[39;49;00m
>
> [01mwriting output... [39;49;00m[ 66%] [32mno_tabs1[39;49;00m
>
> [01mwriting output... [39;49;00m[100%] [32mno_tabs2[39;49;00m
>
>
> [01mgenerating indices... [39;49;00mgenindex done
> [01mwriting additional pages... [39;49;00msearch done
> [01mcopying static files... [39;49;00mdone
> [01mcopying extra files... [39;49;00mdone
> [01mdumping search index in English (code: en)... [39;49;00mdone
> [01mdumping object inventory... [39;49;00mdone
> [01mbuild succeeded.[39;49;00m
>
> The HTML pages are in
> ../../../../../../tmp/pytest-of-user42/pytest-11/conditionalassets-policy/_build/html.
>
> # warning:
>
> _____________ test_conditional_assets_html_assets_policy[no_tabs1]
> _____________
>
> app = <SphinxTestApp buildername='html'>, docname = 'no_tabs1'
> status = <_io.StringIO object at 0x7f26601e44c0>
> warning = <_io.StringIO object at 0x7f26601e4670>
> check_build_success = <function check_build_success.<locals>.check at
> 0x7f26601e4ee0>
> get_sphinx_app_doctree = <function get_sphinx_app_doctree.<locals>.read at
> 0x7f26601e5090>
> regress_sphinx_app_output = <function regress_sphinx_app_output.<locals>.read
> at 0x7f26601e5360>
> check_asset_links = <function check_asset_links.<locals>.check at
> 0x7f26601e5ea0>
>
> @pytest.mark.noautobuild
> @pytest.mark.parametrize("docname", ["index", "no_tabs1", "no_tabs2"])
> @pytest.mark.sphinx(testroot="conditionalassets-policy")
> @pytest.mark.skipif(
> sphinx.version_info[:2] < (4, 1), reason="Test uses Sphinx 4.1 config"
> )
> def test_conditional_assets_html_assets_policy(
> app,
> docname,
> status,
> warning,
> check_build_success,
> get_sphinx_app_doctree,
> regress_sphinx_app_output,
> check_asset_links,
> ):
> app.set_html_assets_policy("always")
>
> # Following lines are copied from ``auto_build_and_check`` since we
> need to
> # set a config in the build object before auto build. Because of
> this, we
> # need to use ``noautobuild``.
> app.build()
> check_build_success(status, warning)
> get_sphinx_app_doctree(app, regress=True)
> > regress_sphinx_app_output(app)
>
> tests/test_build.py:52:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> app = <SphinxTestApp buildername='html'>, buildername = 'html'
> filename = 'index.html', encoding = 'utf-8'
>
> def read(app, buildername="html", filename="index.html",
> encoding="utf-8"):
> content = get_sphinx_app_output(app, buildername, filename, encoding)
>
> if buildername == "html":
> soup = BeautifulSoup(content, "html.parser")
>
> # Remove output from ``pygments``, so that test only compares
> HTML of surrounding tabs
> for div in soup.find_all("div", {"class": "highlight"}):
> div.decompose()
>
> doc_div = soup.findAll("div", {"class": "documentwrapper"})[0]
> doc = doc_div.prettify()
>
> else:
> doc = content
> > file_regression.check(
> doc, extension="." + filename.split(".")[-1], encoding="utf8"
> )
> E AssertionError: FILES DIFFER:
> E
> /tmp/pytest-of-user42/pytest-11/test_conditional_assets_html_a1/test_build/test_conditional_assets_html_assets_policy_no_tabs1_.html
> E
> /tmp/pytest-of-user42/pytest-11/test_conditional_assets_html_a1/test_build/test_conditional_assets_html_assets_policy_no_tabs1_.obtained.html
> E HTML DIFF:
> /tmp/pytest-of-user42/pytest-11/test_conditional_assets_html_a1/test_build/test_conditional_assets_html_assets_policy_no_tabs1_.obtained.diff.html
> E ---
> E +++
> E @@ -18,7 +18,7 @@
> E <section id="fruits">
> E <h1>
> E Fruits
> E - <a class="headerlink" href="#fruits" title="Permalink to this
> headline">
> E + <a class="headerlink" href="#fruits" title="Permalink to this
> heading">
> E ¶
> E </a>
> E </h1>
> E @@ -54,7 +54,7 @@
> E <section id="luminaries">
> E <h1>
> E Luminaries
> E - <a class="headerlink" href="#luminaries" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#luminaries" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
> E @@ -82,7 +82,7 @@
> E <section id="code-tabs">
> E <h1>
> E Code Tabs
> E - <a class="headerlink" href="#code-tabs" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#code-tabs" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
> E @@ -182,7 +182,7 @@
> E <section id="group-tabs">
> E <h1>
> E Group Tabs
> E - <a class="headerlink" href="#group-tabs" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#group-tabs" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
>
> tests/conftest.py:93: AssertionError
> --------------------------- Captured stdout teardown
> ---------------------------
> # testroot: root
> # builder: html
> # srcdir: /tmp/pytest-of-user42/pytest-11/conditionalassets-policy
> # outdir: /tmp/pytest-of-user42/pytest-11/conditionalassets-policy/_build/html
> # status:
> [01mRunning Sphinx v5.0.2[39;49;00m
> [01mloading pickled environment... [39;49;00mdone
> [01mbuilding [mo]: [39;49;00mtargets for 0 po files that are out of date
> [01mbuilding [html]: [39;49;00mtargets for 0 source files that are out of
> date
> [01mupdating environment: [39;49;00m0 added, 0 changed, 0 removed
> [01mlooking for now-outdated files... [39;49;00mnone found
> [01mno targets are out of date.[39;49;00m
> [01mbuild succeeded.[39;49;00m
>
> The HTML pages are in
> ../../../../../../tmp/pytest-of-user42/pytest-11/conditionalassets-policy/_build/html.
>
> # warning:
>
> _____________ test_conditional_assets_html_assets_policy[no_tabs2]
> _____________
>
> app = <SphinxTestApp buildername='html'>, docname = 'no_tabs2'
> status = <_io.StringIO object at 0x7f26602c0a60>
> warning = <_io.StringIO object at 0x7f26602c3520>
> check_build_success = <function check_build_success.<locals>.check at
> 0x7f26601e6680>
> get_sphinx_app_doctree = <function get_sphinx_app_doctree.<locals>.read at
> 0x7f26601e65f0>
> regress_sphinx_app_output = <function regress_sphinx_app_output.<locals>.read
> at 0x7f26601e63b0>
> check_asset_links = <function check_asset_links.<locals>.check at
> 0x7f26601e68c0>
>
> @pytest.mark.noautobuild
> @pytest.mark.parametrize("docname", ["index", "no_tabs1", "no_tabs2"])
> @pytest.mark.sphinx(testroot="conditionalassets-policy")
> @pytest.mark.skipif(
> sphinx.version_info[:2] < (4, 1), reason="Test uses Sphinx 4.1 config"
> )
> def test_conditional_assets_html_assets_policy(
> app,
> docname,
> status,
> warning,
> check_build_success,
> get_sphinx_app_doctree,
> regress_sphinx_app_output,
> check_asset_links,
> ):
> app.set_html_assets_policy("always")
>
> # Following lines are copied from ``auto_build_and_check`` since we
> need to
> # set a config in the build object before auto build. Because of
> this, we
> # need to use ``noautobuild``.
> app.build()
> check_build_success(status, warning)
> get_sphinx_app_doctree(app, regress=True)
> > regress_sphinx_app_output(app)
>
> tests/test_build.py:52:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> app = <SphinxTestApp buildername='html'>, buildername = 'html'
> filename = 'index.html', encoding = 'utf-8'
>
> def read(app, buildername="html", filename="index.html",
> encoding="utf-8"):
> content = get_sphinx_app_output(app, buildername, filename, encoding)
>
> if buildername == "html":
> soup = BeautifulSoup(content, "html.parser")
>
> # Remove output from ``pygments``, so that test only compares
> HTML of surrounding tabs
> for div in soup.find_all("div", {"class": "highlight"}):
> div.decompose()
>
> doc_div = soup.findAll("div", {"class": "documentwrapper"})[0]
> doc = doc_div.prettify()
>
> else:
> doc = content
> > file_regression.check(
> doc, extension="." + filename.split(".")[-1], encoding="utf8"
> )
> E AssertionError: FILES DIFFER:
> E
> /tmp/pytest-of-user42/pytest-11/test_conditional_assets_html_a2/test_build/test_conditional_assets_html_assets_policy_no_tabs2_.html
> E
> /tmp/pytest-of-user42/pytest-11/test_conditional_assets_html_a2/test_build/test_conditional_assets_html_assets_policy_no_tabs2_.obtained.html
> E HTML DIFF:
> /tmp/pytest-of-user42/pytest-11/test_conditional_assets_html_a2/test_build/test_conditional_assets_html_assets_policy_no_tabs2_.obtained.diff.html
> E ---
> E +++
> E @@ -18,7 +18,7 @@
> E <section id="fruits">
> E <h1>
> E Fruits
> E - <a class="headerlink" href="#fruits" title="Permalink to this
> headline">
> E + <a class="headerlink" href="#fruits" title="Permalink to this
> heading">
> E ¶
> E </a>
> E </h1>
> E @@ -54,7 +54,7 @@
> E <section id="luminaries">
> E <h1>
> E Luminaries
> E - <a class="headerlink" href="#luminaries" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#luminaries" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
> E @@ -82,7 +82,7 @@
> E <section id="code-tabs">
> E <h1>
> E Code Tabs
> E - <a class="headerlink" href="#code-tabs" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#code-tabs" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
> E @@ -182,7 +182,7 @@
> E <section id="group-tabs">
> E <h1>
> E Group Tabs
> E - <a class="headerlink" href="#group-tabs" title="Permalink to
> this headline">
> E + <a class="headerlink" href="#group-tabs" title="Permalink to
> this heading">
> E ¶
> E </a>
> E </h1>
>
> tests/conftest.py:93: AssertionError
> --------------------------- Captured stdout teardown
> ---------------------------
> # testroot: root
> # builder: html
> # srcdir: /tmp/pytest-of-user42/pytest-11/conditionalassets-policy
> # outdir: /tmp/pytest-of-user42/pytest-11/conditionalassets-policy/_build/html
> # status:
> [01mRunning Sphinx v5.0.2[39;49;00m
> [01mloading pickled environment... [39;49;00mdone
> [01mbuilding [mo]: [39;49;00mtargets for 0 po files that are out of date
> [01mbuilding [html]: [39;49;00mtargets for 0 source files that are out of
> date
> [01mupdating environment: [39;49;00m0 added, 0 changed, 0 removed
> [01mlooking for now-outdated files... [39;49;00mnone found
> [01mno targets are out of date.[39;49;00m
> [01mbuild succeeded.[39;49;00m
>
> The HTML pages are in
> ../../../../../../tmp/pytest-of-user42/pytest-11/conditionalassets-policy/_build/html.
>
> # warning:
>
> =============================== warnings summary
> ===============================
> tests/test_build.py:28
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-tabs/build/tests/test_build.py:28:
> PytestUnknownMarkWarning: Unknown pytest.mark.noautobuild - is this a typo?
> You can register custom marks to avoid this warning - for details, see
> https://docs.pytest.org/en/stable/mark.html
> @pytest.mark.noautobuild
>
> tests/test_build.py:83
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-tabs/build/tests/test_build.py:83:
> PytestUnknownMarkWarning: Unknown pytest.mark.noautobuild - is this a typo?
> You can register custom marks to avoid this warning - for details, see
> https://docs.pytest.org/en/stable/mark.html
> @pytest.mark.noautobuild
>
> .pybuild/cpython3_3.10_sphinx-tabs/build/tests/test_build.py: 13 warnings
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-tabs/build/tests/conftest.py:113:
> PendingDeprecationWarning: nodes.Node.traverse() is obsoleted by
> Node.findall().
> for node in doctree.traverse(lambda n: "source" in n):
>
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> =========================== short test summary info
> ============================
> FAILED tests/test_build.py::test_conditional_assets_html_assets_policy[index]
> FAILED
> tests/test_build.py::test_conditional_assets_html_assets_policy[no_tabs1]
> FAILED
> tests/test_build.py::test_conditional_assets_html_assets_policy[no_tabs2]
> ERROR tests/test_build.py::test_conditional_assets[index] - AssertionError:
> F...
> ERROR tests/test_build.py::test_conditional_assets[no_tabs1] -
> AssertionError...
> ERROR tests/test_build.py::test_conditional_assets[no_tabs2] -
> AssertionError...
> ERROR tests/test_build.py::test_nested_markup - AssertionError: FILES DIFFER:
> = 3 failed, 6 passed, 1 skipped, 1 deselected, 15 warnings, 4 errors in 3.24s
> ==
> E: pybuild pybuild:369: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_sphinx-tabs/build; python3.10 -m
> pytest -k 'not test_rinohtype_pdf'
> 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-tabs_3.2.0-3_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 [email protected] on reply.
[1]: https://www.sphinx-doc.org/en/master/changes.html
[2]:
https://repo.or.cz/docutils.git/blob/refs/tags/docutils-0.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;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=sphinx5.0&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
--- End Message ---