+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-extras-require-0.4.3-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-extras-require-0.4.3-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.13, pytest-7.1.2, pluggy-1.0.0
Test session started at 05:09:33
rootdir: /home/tkloczko/rpmbuild/BUILD/extras_require-0.4.3, configfile: tox.ini
plugins: datadir-1.3.1, regressions-2.3.1, timeout-2.1.0
timeout: 300.0s
timeout method: signal
timeout func_only: False
collected 108 items
tests/test_directive.py ......................................................FFFFFFF....... [ 62%]
tests/test_flag.py .................. [ 79%]
tests/test_from___pkginfo__.py .... [ 83%]
tests/test_from_file.py .... [ 87%]
tests/test_from_flit.py .... [ 90%]
tests/test_from_pyproject.py .... [ 94%]
tests/test_from_setup_cfg.py ..... [ 99%]
tests/test_setup.py . [100%]
================================================================================= FAILURES =================================================================================
_______________________________________________________________________ test_output[flit_demo.html] ________________________________________________________________________
page = <!DOCTYPE html>
<html lang="en"><head>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scal...
</div>
</div>
<div class="clearer"></div>
</div>
</body></html>
html_regression = <sphinx_toolbox.testing.HTMLRegressionFixture object at 0x7f54aeccd670>
@pytest.mark.parametrize(
"page",
[
"flit_demo.html",
"scopes_demo.html",
"setup_cfg_demo.html",
"requirements_file_demo.html",
"pkginfo_demo.html",
"manual_demo.html",
],
indirect=True
)
def test_output(page: BeautifulSoup, html_regression: HTMLRegressionFixture) -> None:
> html_regression.check(page, jinja2=True)
E AssertionError: FILES DIFFER:
E /tmp/pytest-of-tkloczko/pytest-83/test_output_flit_demo_html_0/test_directive_/test_output_flit_demo_html_.html
E /tmp/pytest-of-tkloczko/pytest-83/test_output_flit_demo_html_0/test_directive_/test_output_flit_demo_html_.obtained.html
E HTML DIFF: /tmp/pytest-of-tkloczko/pytest-83/test_output_flit_demo_html_0/test_directive_/test_output_flit_demo_html_.obtained.diff.html
E ---
E +++
E @@ -1,9 +1,9 @@
E <!DOCTYPE html>
E -<html>
E +<html lang="en">
E <head>
E <meta charset="utf-8"/>
E <meta content="width=device-width, initial-scale=1.0" name="viewport"/>
E - <meta content="Docutils 0.17.1: http://docutils.sourceforge.net/" name="generator"/>
E + <meta content="Docutils 0.18.1: http://docutils.sourceforge.net/" name="generator"/>
E <title>
E flit Demo — Python documentation
E </title>
E @@ -12,6 +12,8 @@
E <script src="_static/jquery.js">
E </script>
E <script src="_static/underscore.js">
E + </script>
E + <script src="_static/_sphinx_javascript_frameworks_compat.js">
E </script>
E <script src="_static/doctools.js">
E </script>
E @@ -25,7 +27,7 @@
E <section id="flit-demo">
E <h1>
E flit Demo
E - <a class="headerlink" href="#flit-demo" title="Permalink to this headline">
E + <a class="headerlink" href="#flit-demo" title="Permalink to this heading">
E ¶
E </a>
E </h1>
tests/test_directive.py:234: AssertionError
------------------------------------------------------------------------- Captured stdout teardown -------------------------------------------------------------------------
# testroot: root
# builder: html
# srcdir: /tmp/pytest-of-tkloczko/pytest-83/root
# outdir: /tmp/pytest-of-tkloczko/pytest-83/root/_build/html
# status:
Running Sphinx v5.1.1
loading pickled environment... done
building [mo]: all of 0 po files
building [html]: all source files
updating environment: 0 added, 0 changed, 0 removed
looking for now-outdated files... none found
preparing documents... done
writing output... [100%] setup_cfg_demo
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-tkloczko/pytest-83/root/_build/html.
# warning:
______________________________________________________________________ test_output[scopes_demo.html] _______________________________________________________________________
page = <!DOCTYPE html>
<html lang="en"><head>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scal...
</div>
</div>
<div class="clearer"></div>
</div>
</body></html>
html_regression = <sphinx_toolbox.testing.HTMLRegressionFixture object at 0x7f54aecad5e0>
@pytest.mark.parametrize(
"page",
[
"flit_demo.html",
"scopes_demo.html",
"setup_cfg_demo.html",
"requirements_file_demo.html",
"pkginfo_demo.html",
"manual_demo.html",
],
indirect=True
)
def test_output(page: BeautifulSoup, html_regression: HTMLRegressionFixture) -> None:
> html_regression.check(page, jinja2=True)
E AssertionError: FILES DIFFER:
E /tmp/pytest-of-tkloczko/pytest-83/test_output_scopes_demo_html_0/test_directive_/test_output_scopes_demo_html_.html
E /tmp/pytest-of-tkloczko/pytest-83/test_output_scopes_demo_html_0/test_directive_/test_output_scopes_demo_html_.obtained.html
E HTML DIFF: /tmp/pytest-of-tkloczko/pytest-83/test_output_scopes_demo_html_0/test_directive_/test_output_scopes_demo_html_.obtained.diff.html
E ---
E +++
E @@ -1,9 +1,9 @@
E <!DOCTYPE html>
E -<html>
E +<html lang="en">
E <head>
E <meta charset="utf-8"/>
E <meta content="width=device-width, initial-scale=1.0" name="viewport"/>
E - <meta content="Docutils 0.17.1: http://docutils.sourceforge.net/" name="generator"/>
E + <meta content="Docutils 0.18.1: http://docutils.sourceforge.net/" name="generator"/>
E <title>
E Scopes Demo — Python documentation
E </title>
E @@ -12,6 +12,8 @@
E <script src="_static/jquery.js">
E </script>
E <script src="_static/underscore.js">
E + </script>
E + <script src="_static/_sphinx_javascript_frameworks_compat.js">
E </script>
E <script src="_static/doctools.js">
E </script>
E @@ -25,7 +27,7 @@
E <section id="scopes-demo">
E <h1>
E Scopes Demo
E - <a class="headerlink" href="#scopes-demo" title="Permalink to this headline">
E + <a class="headerlink" href="#scopes-demo" title="Permalink to this heading">
E ¶
E </a>
E </h1>
tests/test_directive.py:234: AssertionError
------------------------------------------------------------------------- Captured stdout teardown -------------------------------------------------------------------------
# testroot: root
# builder: html
# srcdir: /tmp/pytest-of-tkloczko/pytest-83/root
# outdir: /tmp/pytest-of-tkloczko/pytest-83/root/_build/html
# status:
Running Sphinx v5.1.1
loading pickled environment... done
building [mo]: all of 0 po files
building [html]: all source files
updating environment: 0 added, 0 changed, 0 removed
looking for now-outdated files... none found
preparing documents... done
writing output... [100%] setup_cfg_demo
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-tkloczko/pytest-83/root/_build/html.
# warning:
_____________________________________________________________________ test_output[setup_cfg_demo.html] _____________________________________________________________________
page = <!DOCTYPE html>
<html lang="en"><head>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scal...
</div>
</div>
<div class="clearer"></div>
</div>
</body></html>
html_regression = <sphinx_toolbox.testing.HTMLRegressionFixture object at 0x7f54aeb30eb0>
@pytest.mark.parametrize(
"page",
[
"flit_demo.html",
"scopes_demo.html",
"setup_cfg_demo.html",
"requirements_file_demo.html",
"pkginfo_demo.html",
"manual_demo.html",
],
indirect=True
)
def test_output(page: BeautifulSoup, html_regression: HTMLRegressionFixture) -> None:
> html_regression.check(page, jinja2=True)
E AssertionError: FILES DIFFER:
E /tmp/pytest-of-tkloczko/pytest-83/test_output_setup_cfg_demo_htm0/test_directive_/test_output_setup_cfg_demo_html_.html
E /tmp/pytest-of-tkloczko/pytest-83/test_output_setup_cfg_demo_htm0/test_directive_/test_output_setup_cfg_demo_html_.obtained.html
E HTML DIFF: /tmp/pytest-of-tkloczko/pytest-83/test_output_setup_cfg_demo_htm0/test_directive_/test_output_setup_cfg_demo_html_.obtained.diff.html
E ---
E +++
E @@ -1,9 +1,9 @@
E <!DOCTYPE html>
E -<html>
E +<html lang="en">
E <head>
E <meta charset="utf-8"/>
E <meta content="width=device-width, initial-scale=1.0" name="viewport"/>
E - <meta content="Docutils 0.17.1: http://docutils.sourceforge.net/" name="generator"/>
E + <meta content="Docutils 0.18.1: http://docutils.sourceforge.net/" name="generator"/>
E <title>
E setup.cfg Demo — Python documentation
E </title>
E @@ -12,6 +12,8 @@
E <script src="_static/jquery.js">
E </script>
E <script src="_static/underscore.js">
E + </script>
E + <script src="_static/_sphinx_javascript_frameworks_compat.js">
E </script>
E <script src="_static/doctools.js">
E </script>
E @@ -25,7 +27,7 @@
E <section id="setup-cfg-demo">
E <h1>
E setup.cfg Demo
E - <a class="headerlink" href="#setup-cfg-demo" title="Permalink to this headline">
E + <a class="headerlink" href="#setup-cfg-demo" title="Permalink to this heading">
E ¶
E </a>
E </h1>
tests/test_directive.py:234: AssertionError
------------------------------------------------------------------------- Captured stdout teardown -------------------------------------------------------------------------
# testroot: root
# builder: html
# srcdir: /tmp/pytest-of-tkloczko/pytest-83/root
# outdir: /tmp/pytest-of-tkloczko/pytest-83/root/_build/html
# status:
Running Sphinx v5.1.1
loading pickled environment... done
building [mo]: all of 0 po files
building [html]: all source files
updating environment: 0 added, 0 changed, 0 removed
looking for now-outdated files... none found
preparing documents... done
writing output... [100%] setup_cfg_demo
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-tkloczko/pytest-83/root/_build/html.
# warning:
_________________________________________________________________ test_output[requirements_file_demo.html] _________________________________________________________________
page = <!DOCTYPE html>
<html lang="en"><head>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scal...
</div>
</div>
<div class="clearer"></div>
</div>
</body></html>
html_regression = <sphinx_toolbox.testing.HTMLRegressionFixture object at 0x7f54ae94b580>
@pytest.mark.parametrize(
"page",
[
"flit_demo.html",
"scopes_demo.html",
"setup_cfg_demo.html",
"requirements_file_demo.html",
"pkginfo_demo.html",
"manual_demo.html",
],
indirect=True
)
def test_output(page: BeautifulSoup, html_regression: HTMLRegressionFixture) -> None:
> html_regression.check(page, jinja2=True)
E AssertionError: FILES DIFFER:
E /tmp/pytest-of-tkloczko/pytest-83/test_output_requirements_file_0/test_directive_/test_output_requirements_file_demo_html_.html
E /tmp/pytest-of-tkloczko/pytest-83/test_output_requirements_file_0/test_directive_/test_output_requirements_file_demo_html_.obtained.html
E HTML DIFF: /tmp/pytest-of-tkloczko/pytest-83/test_output_requirements_file_0/test_directive_/test_output_requirements_file_demo_html_.obtained.diff.html
E ---
E +++
E @@ -1,9 +1,9 @@
E <!DOCTYPE html>
E -<html>
E +<html lang="en">
E <head>
E <meta charset="utf-8"/>
E <meta content="width=device-width, initial-scale=1.0" name="viewport"/>
E - <meta content="Docutils 0.17.1: http://docutils.sourceforge.net/" name="generator"/>
E + <meta content="Docutils 0.18.1: http://docutils.sourceforge.net/" name="generator"/>
E <title>
E requirements.txt Demo — Python documentation
E </title>
E @@ -12,6 +12,8 @@
E <script src="_static/jquery.js">
E </script>
E <script src="_static/underscore.js">
E + </script>
E + <script src="_static/_sphinx_javascript_frameworks_compat.js">
E </script>
E <script src="_static/doctools.js">
E </script>
E @@ -25,7 +27,7 @@
E <section id="requirements-txt-demo">
E <h1>
E requirements.txt Demo
E - <a class="headerlink" href="#requirements-txt-demo" title="Permalink to this headline">
E + <a class="headerlink" href="#requirements-txt-demo" title="Permalink to this heading">
E ¶
E </a>
E </h1>
tests/test_directive.py:234: AssertionError
------------------------------------------------------------------------- Captured stdout teardown -------------------------------------------------------------------------
# testroot: root
# builder: html
# srcdir: /tmp/pytest-of-tkloczko/pytest-83/root
# outdir: /tmp/pytest-of-tkloczko/pytest-83/root/_build/html
# status:
Running Sphinx v5.1.1
loading pickled environment... done
building [mo]: all of 0 po files
building [html]: all source files
updating environment: 0 added, 0 changed, 0 removed
looking for now-outdated files... none found
preparing documents... done
writing output... [100%] setup_cfg_demo
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-tkloczko/pytest-83/root/_build/html.
# warning:
______________________________________________________________________ test_output[pkginfo_demo.html] ______________________________________________________________________
page = <!DOCTYPE html>
<html lang="en"><head>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scal...
</div>
</div>
<div class="clearer"></div>
</div>
</body></html>
html_regression = <sphinx_toolbox.testing.HTMLRegressionFixture object at 0x7f54aeae3490>
@pytest.mark.parametrize(
"page",
[
"flit_demo.html",
"scopes_demo.html",
"setup_cfg_demo.html",
"requirements_file_demo.html",
"pkginfo_demo.html",
"manual_demo.html",
],
indirect=True
)
def test_output(page: BeautifulSoup, html_regression: HTMLRegressionFixture) -> None:
> html_regression.check(page, jinja2=True)
E AssertionError: FILES DIFFER:
E /tmp/pytest-of-tkloczko/pytest-83/test_output_pkginfo_demo_html_0/test_directive_/test_output_pkginfo_demo_html_.html
E /tmp/pytest-of-tkloczko/pytest-83/test_output_pkginfo_demo_html_0/test_directive_/test_output_pkginfo_demo_html_.obtained.html
E HTML DIFF: /tmp/pytest-of-tkloczko/pytest-83/test_output_pkginfo_demo_html_0/test_directive_/test_output_pkginfo_demo_html_.obtained.diff.html
E ---
E +++
E @@ -1,9 +1,9 @@
E <!DOCTYPE html>
E -<html>
E +<html lang="en">
E <head>
E <meta charset="utf-8"/>
E <meta content="width=device-width, initial-scale=1.0" name="viewport"/>
E - <meta content="Docutils 0.17.1: http://docutils.sourceforge.net/" name="generator"/>
E + <meta content="Docutils 0.18.1: http://docutils.sourceforge.net/" name="generator"/>
E <title>
E __pkginfo__ Demo — Python documentation
E </title>
E @@ -12,6 +12,8 @@
E <script src="_static/jquery.js">
E </script>
E <script src="_static/underscore.js">
E + </script>
E + <script src="_static/_sphinx_javascript_frameworks_compat.js">
E </script>
E <script src="_static/doctools.js">
E </script>
E @@ -25,7 +27,7 @@
E <section id="pkginfo-demo">
E <h1>
E __pkginfo__ Demo
E - <a class="headerlink" href="#pkginfo-demo" title="Permalink to this headline">
E + <a class="headerlink" href="#pkginfo-demo" title="Permalink to this heading">
E ¶
E </a>
E </h1>
tests/test_directive.py:234: AssertionError
------------------------------------------------------------------------- Captured stdout teardown -------------------------------------------------------------------------
# testroot: root
# builder: html
# srcdir: /tmp/pytest-of-tkloczko/pytest-83/root
# outdir: /tmp/pytest-of-tkloczko/pytest-83/root/_build/html
# status:
Running Sphinx v5.1.1
loading pickled environment... done
building [mo]: all of 0 po files
building [html]: all source files
updating environment: 0 added, 0 changed, 0 removed
looking for now-outdated files... none found
preparing documents... done
writing output... [100%] setup_cfg_demo
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-tkloczko/pytest-83/root/_build/html.
# warning:
______________________________________________________________________ test_output[manual_demo.html] _______________________________________________________________________
page = <!DOCTYPE html>
<html lang="en"><head>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scal...
</div>
</div>
<div class="clearer"></div>
</div>
</body></html>
html_regression = <sphinx_toolbox.testing.HTMLRegressionFixture object at 0x7f54aea011c0>
@pytest.mark.parametrize(
"page",
[
"flit_demo.html",
"scopes_demo.html",
"setup_cfg_demo.html",
"requirements_file_demo.html",
"pkginfo_demo.html",
"manual_demo.html",
],
indirect=True
)
def test_output(page: BeautifulSoup, html_regression: HTMLRegressionFixture) -> None:
> html_regression.check(page, jinja2=True)
E AssertionError: FILES DIFFER:
E /tmp/pytest-of-tkloczko/pytest-83/test_output_manual_demo_html_0/test_directive_/test_output_manual_demo_html_.html
E /tmp/pytest-of-tkloczko/pytest-83/test_output_manual_demo_html_0/test_directive_/test_output_manual_demo_html_.obtained.html
E HTML DIFF: /tmp/pytest-of-tkloczko/pytest-83/test_output_manual_demo_html_0/test_directive_/test_output_manual_demo_html_.obtained.diff.html
E ---
E +++
E @@ -1,9 +1,9 @@
E <!DOCTYPE html>
E -<html>
E +<html lang="en">
E <head>
E <meta charset="utf-8"/>
E <meta content="width=device-width, initial-scale=1.0" name="viewport"/>
E - <meta content="Docutils 0.17.1: http://docutils.sourceforge.net/" name="generator"/>
E + <meta content="Docutils 0.18.1: http://docutils.sourceforge.net/" name="generator"/>
E <title>
E Manual Demo — Python documentation
E </title>
E @@ -12,6 +12,8 @@
E <script src="_static/jquery.js">
E </script>
E <script src="_static/underscore.js">
E + </script>
E + <script src="_static/_sphinx_javascript_frameworks_compat.js">
E </script>
E <script src="_static/doctools.js">
E </script>
E @@ -25,7 +27,7 @@
E <section id="manual-demo">
E <h1>
E Manual Demo
E - <a class="headerlink" href="#manual-demo" title="Permalink to this headline">
E + <a class="headerlink" href="#manual-demo" title="Permalink to this heading">
E ¶
E </a>
E </h1>
tests/test_directive.py:234: AssertionError
------------------------------------------------------------------------- Captured stdout teardown -------------------------------------------------------------------------
# testroot: root
# builder: html
# srcdir: /tmp/pytest-of-tkloczko/pytest-83/root
# outdir: /tmp/pytest-of-tkloczko/pytest-83/root/_build/html
# status:
Running Sphinx v5.1.1
loading pickled environment... done
building [mo]: all of 0 po files
building [html]: all source files
updating environment: 0 added, 0 changed, 0 removed
looking for now-outdated files... none found
preparing documents... done
writing output... [100%] setup_cfg_demo
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-tkloczko/pytest-83/root/_build/html.
# warning:
___________________________________________________________ test_no_requirements_demo[no_requirements_demo.html] ___________________________________________________________
page = <!DOCTYPE html>
<html lang="en"><head>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scal...
</div>
</div>
<div class="clearer"></div>
</div>
</body></html>
html_regression = <sphinx_toolbox.testing.HTMLRegressionFixture object at 0x7f54ae8695b0>
@pytest.mark.parametrize("page", ["no_requirements_demo.html"], indirect=True)
def test_no_requirements_demo(
page: BeautifulSoup,
html_regression: HTMLRegressionFixture,
) -> None:
# Make sure the page title is what you expect
title = page.find("h1").contents[0].strip()
assert "No Requirements Demo" == title
# Now test the directive
for div in page.findAll("div"):
assert not div.get("id", '').startswith("extras_require")
> html_regression.check(page, jinja2=True)
E AssertionError: FILES DIFFER:
E /tmp/pytest-of-tkloczko/pytest-83/test_no_requirements_demo_no_r0/test_directive_/test_no_requirements_demo_no_requirements_demo_html_.html
E /tmp/pytest-of-tkloczko/pytest-83/test_no_requirements_demo_no_r0/test_directive_/test_no_requirements_demo_no_requirements_demo_html_.obtained.html
E HTML DIFF: /tmp/pytest-of-tkloczko/pytest-83/test_no_requirements_demo_no_r0/test_directive_/test_no_requirements_demo_no_requirements_demo_html_.obtained.diff.html
E ---
E +++
E @@ -1,9 +1,9 @@
E <!DOCTYPE html>
E -<html>
E +<html lang="en">
E <head>
E <meta charset="utf-8"/>
E <meta content="width=device-width, initial-scale=1.0" name="viewport"/>
E - <meta content="Docutils 0.17.1: http://docutils.sourceforge.net/" name="generator"/>
E + <meta content="Docutils 0.18.1: http://docutils.sourceforge.net/" name="generator"/>
E <title>
E No Requirements Demo — Python documentation
E </title>
E @@ -12,6 +12,8 @@
E <script src="_static/jquery.js">
E </script>
E <script src="_static/underscore.js">
E + </script>
E + <script src="_static/_sphinx_javascript_frameworks_compat.js">
E </script>
E <script src="_static/doctools.js">
E </script>
E @@ -25,7 +27,7 @@
E <section id="no-requirements-demo">
E <h1>
E No Requirements Demo
E - <a class="headerlink" href="#no-requirements-demo" title="Permalink to this headline">
E + <a class="headerlink" href="#no-requirements-demo" title="Permalink to this heading">
E ¶
E </a>
E </h1>
tests/test_directive.py:250: AssertionError
------------------------------------------------------------------------- Captured stdout teardown -------------------------------------------------------------------------
# testroot: root
# builder: html
# srcdir: /tmp/pytest-of-tkloczko/pytest-83/root
# outdir: /tmp/pytest-of-tkloczko/pytest-83/root/_build/html
# status:
Running Sphinx v5.1.1
loading pickled environment... done
building [mo]: all of 0 po files
building [html]: all source files
updating environment: 0 added, 0 changed, 0 removed
looking for now-outdated files... none found
preparing documents... done
writing output... [100%] setup_cfg_demo
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-tkloczko/pytest-83/root/_build/html.
# warning:
============================================================================= warnings summary =============================================================================
tests/test_directive.py::test
tests/test_from_setup_cfg.py::test_from_setup_cfg[extra_c = faker; pytest; tox-extra_c-expects0]
tests/test_from_setup_cfg.py::test_from_setup_cfg[extra_c =\n faker\n pytest\n tox; python<=3.6\n-extra_c-expects1]
tests/test_from_setup_cfg.py::test_from_setup_cfg_errors[extra_c = faker; pytest; tox-extra-expects0]
tests/test_from_setup_cfg.py::test_from_setup_cfg_errors[extra_c =\n faker\n pytest\n tox; python<=3.6\n-test-expects1]
tests/test_from_setup_cfg.py::test_from_setup_cfg_missing_section
/home/tkloczko/rpmbuild/BUILD/extras_require-0.4.3/sphinxcontrib/extras_require/sources.py:235: SetuptoolsDeprecationWarning: As setuptools moves its configuration towards `pyproject.toml`,
`setuptools.config.read_configuration` became deprecated.
For the time being, you can use the `setuptools.config.setupcfg` module
to access a backward compatible API, but this module is provisional
and might be removed in the future.
setup_cfg = read_configuration(setup_cfg_file)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================================================================== slowest 25 durations ===========================================================================
0.32s call tests/test_directive.py::test
0.28s setup tests/test_directive.py::test_output[setup_cfg_demo.html]
0.23s setup tests/test_directive.py::test_output[scopes_demo.html]
0.23s setup tests/test_directive.py::test_output[flit_demo.html]
0.23s setup tests/test_directive.py::test_output[requirements_file_demo.html]
0.23s setup tests/test_directive.py::test_output[manual_demo.html]
0.23s setup tests/test_directive.py::test_output[pkginfo_demo.html]
0.22s setup tests/test_directive.py::test_no_requirements_demo[no_requirements_demo.html]
0.16s setup tests/test_directive.py::test
0.01s call tests/test_from_setup_cfg.py::test_from_setup_cfg[extra_c = faker; pytest; tox-extra_c-expects0]
0.01s call tests/test_from_setup_cfg.py::test_from_setup_cfg_missing_section
0.01s call tests/test_from_setup_cfg.py::test_from_setup_cfg_errors[extra_c = faker; pytest; tox-extra-expects0]
0.01s call tests/test_from_setup_cfg.py::test_from_setup_cfg[extra_c =\n faker\n pytest\n tox; python<=3.6\n-extra_c-expects1]
0.01s call tests/test_from_setup_cfg.py::test_from_setup_cfg_errors[extra_c =\n faker\n pytest\n tox; python<=3.6\n-test-expects1]
0.01s call tests/test_directive.py::test_output[scopes_demo.html]
0.01s call tests/test_directive.py::test_output[flit_demo.html]
0.01s call tests/test_directive.py::test_output[requirements_file_demo.html]
0.01s call tests/test_directive.py::test_output[setup_cfg_demo.html]
0.01s call tests/test_directive.py::test_output[pkginfo_demo.html]
0.01s call tests/test_directive.py::test_output[manual_demo.html]
0.01s call tests/test_directive.py::test_no_requirements_demo[no_requirements_demo.html]
(4 durations < 0.005s hidden. Use -vv to show these durations.)
========================================================================= short test summary info ==========================================================================
FAILED tests/test_directive.py::test_output[flit_demo.html] - AssertionError: FILES DIFFER:
FAILED tests/test_directive.py::test_output[scopes_demo.html] - AssertionError: FILES DIFFER:
FAILED tests/test_directive.py::test_output[setup_cfg_demo.html] - AssertionError: FILES DIFFER:
FAILED tests/test_directive.py::test_output[requirements_file_demo.html] - AssertionError: FILES DIFFER:
FAILED tests/test_directive.py::test_output[pkginfo_demo.html] - AssertionError: FILES DIFFER:
FAILED tests/test_directive.py::test_output[manual_demo.html] - AssertionError: FILES DIFFER:
FAILED tests/test_directive.py::test_no_requirements_demo[no_requirements_demo.html] - AssertionError: FILES DIFFER:
================================================================ 7 failed, 101 passed, 6 warnings in 2.97s =================================================================
I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.
python3 -sBm build -w --no-isolationbuildwith--no-isolationI'm using during all processes only locally installed modulesI'm not sure but probably
extras-requireneeds to be updated frosphinx5.x.Here is pytest output:
Details
Here is list of modules installed in build env:
Details