Your message dated Tue, 06 Dec 2022 11:35:11 +0000
with message-id <[email protected]>
and subject line Bug#1013391: fixed in sphinx-tabs 3.4.1-1
has caused the Debian Bug report #1013391,
regarding sphinx-tabs: FTBFS with Sphinx 5.0, docutils 0.18: dh_auto_test: 
error: pybuild --test --test-pytest -i python{version} -p "3.9 3.10" returned 
exit code 13
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1013391: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1013391
Debian Bug Tracking System
Contact [email protected] with problems
--- 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: 
> Running Sphinx v5.0.2
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 3 source files that are out of 
> date
> updating environment: [new config] 3 added, 0 changed, 0 
> removed
> reading sources... [ 33%] index               
>                                  
> reading sources... [ 66%] no_tabs1            
>                                  
> reading sources... [100%] no_tabs2            
>                                  
> 
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> writing output... [ 33%] index                
>                                  
> writing output... [ 66%] no_tabs1             
>                                  
> writing output... [100%] no_tabs2             
>                                  
> 
> 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 
> ../../../../../../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: 
> Running Sphinx v5.0.2
> loading pickled environment... done
> 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.
> 
> 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: 
> Running Sphinx v5.0.2
> loading pickled environment... done
> 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.
> 
> 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: 
> Running Sphinx v5.0.2
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 3 source files that are out of 
> date
> updating environment: [new config] 3 added, 0 changed, 0 
> removed
> reading sources... [ 33%] index               
>                                  
> reading sources... [ 66%] no_tabs1            
>                                  
> reading sources... [100%] no_tabs2            
>                                  
> 
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> writing output... [ 33%] index                
>                                  
> writing output... [ 66%] no_tabs1             
>                                  
> writing output... [100%] no_tabs2             
>                                  
> 
> 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 
> ../../../../../../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: 
> Running Sphinx v5.0.2
> loading pickled environment... done
> 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.
> 
> 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: 
> Running Sphinx v5.0.2
> loading pickled environment... done
> 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.
> 
> 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 ---
--- Begin Message ---
Source: sphinx-tabs
Source-Version: 3.4.1-1
Done: Dmitry Shachnev <[email protected]>

We believe that the bug you reported is fixed in the latest version of
sphinx-tabs, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dmitry Shachnev <[email protected]> (supplier of updated sphinx-tabs package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 06 Dec 2022 12:47:12 +0300
Source: sphinx-tabs
Architecture: source
Version: 3.4.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Dmitry Shachnev <[email protected]>
Closes: 1013391
Changes:
 sphinx-tabs (3.4.1-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream release.
     - Tests pass with Sphinx 5 (closes: #1013391).
   * Drop all patches, included in the new release.
   * Depend on sphinx ≥ 5 and pytest ≥ 7.1 for testing.
   * debian/tests/python3-sphinx-tabs: Test all supported Python versions.
   * Fix built-using-field-on-arch-all-package Lintian warning.
Checksums-Sha1:
 8cb1a62455520b56c88dddbb62c67e0f9fdce454 2506 sphinx-tabs_3.4.1-1.dsc
 e83c6fc0c2a78ab567064d44be365838c898613e 524071 sphinx-tabs_3.4.1.orig.tar.gz
 0f87513e8bae49e6f37a6c93054c7691f54e43b2 18400 
sphinx-tabs_3.4.1-1.debian.tar.xz
 0e37d6cda43595d70cbd2cb45c778cb836b2a027 8403 
sphinx-tabs_3.4.1-1_source.buildinfo
Checksums-Sha256:
 3b0e75aca6523f4ff92253f2b85a2ea67f6997fae95b0ce9d0b307b8b10b3a93 2506 
sphinx-tabs_3.4.1-1.dsc
 a7ccc8fe4adf0c7957e84a59a5b536ef07da73fcebaf2f727adc3bee9062289d 524071 
sphinx-tabs_3.4.1.orig.tar.gz
 d104c28fc03d34488daf1d1c8986b7a979e9de0be0f336ff0ae1a575b179bd25 18400 
sphinx-tabs_3.4.1-1.debian.tar.xz
 2d568f54dfa6bd1e19e8c05ec15c69b6bfca3a79ae4546ab35c252e668cb3376 8403 
sphinx-tabs_3.4.1-1_source.buildinfo
Files:
 4da4593926b9420977d52f1c149366b2 2506 python optional sphinx-tabs_3.4.1-1.dsc
 6a28c5ba54ceccda65c1a03ac4d2f87c 524071 python optional 
sphinx-tabs_3.4.1.orig.tar.gz
 b18eef6187bdb71e6fbcadd9a50d4a8f 18400 python optional 
sphinx-tabs_3.4.1-1.debian.tar.xz
 4c9a64e1d6dd8621e05f016b9062394a 8403 python optional 
sphinx-tabs_3.4.1-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEE5688gqe4PSusUZcLZkYmW1hrg8sFAmOPJO8THG1pdHlhNTdA
ZGViaWFuLm9yZwAKCRBmRiZbWGuDy4doD/0e3WaAUcgueAjIrIqXEt+KvdRAh1q7
PfRmSmP3c1OkHWQX0f4i5pkzF3TgmhB4hC6LQdrHThylOVW64gbvE1bRywcbNDm8
NvFqO8H6zKyWzMdJhWtP8ieZh3kPfKSeQgm/tmGNq/bpSxA/LmhskK51/sTj4F3E
C+JHNCo3K4OYsZl+H9o8Ak3Jnw/XxqDMDqCXFjl4C4bK+iydvWYlx0pZQdCmqCaq
jHcQPgWzpEH/ZRMnrZBrLed2Aqvy2kr6pgBlys17cRuOUOJA9ZFsn3NIWQmEKCos
9ZD7uMVQiN+NVzXnnJuaP3YBtHpQW5Jw7Ebe/FbTW5fEX2ChAu1l+RdzfXgNDHAJ
7F+RXdbZPa+DTFYwMqHaN0+adp/y6D8Wsh5pfHH54XVgxTAw4Qm9JYoi3HXTFPJX
tPDh6udZBDof0tn1iSZ9+6vEWqmL8s4Ff8v44vkPYHOATYB5gY07oof7PXgBLF5K
zAawvVCnFGVdwU9A1aF/wYxbf7CpZLyamqGxBGMuOPfmDuEoCDl1SvgAEvdHnWSC
LpxyVbnGYR+6tEzc8haxc7BDfXep3P2ka7MEeFQzO4W2fobJT3F0L3nX0+S8MbjR
gUeTxBAmCtD7Bm0LIUFbUmzs8TEqxo1dqu2Gnllx684NfU5rCk77888BcxGLwSmY
0OnVdwGZxC+WlA==
=Jgrd
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to