Skip to content

0.4.3: + master [c3684ca9]: pytest is failing with sphinx 6.1.3 #57

@kloczek

Description

@kloczek

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-isolation
  • because I'm calling build with --no-isolation I'm using during all processes only locally installed modules
  • install .whl file in </install/prefix>
  • run pytest with $PYTHONPATH pointing to sitearch and sitelib inside </install/prefix>
  • build is performed in env which is cut off from access to the public network (pytest is executed with -m "not network")

Here is pytest output:

Details
+ 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 -m 'not network'
==================================================================================== test session starts ====================================================================================
platform linux -- Python 3.8.16, pytest-7.2.2, pluggy-1.0.0
Test session started at 20:19:41
rootdir: /home/tkloczko/rpmbuild/BUILD/extras_require-0.4.3, configfile: tox.ini
plugins: datadir-1.4.1, regressions-2.4.2, timeout-2.1.0
timeout: 300.0s
timeout method: signal
timeout func_only: False
collected 108 items

tests/test_directive.py .....................................................EEEEEEEE.......                                                                                          [ 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%]

========================================================================================== ERRORS ===========================================================================================
__________________________________________________________________________________ ERROR at setup of test ___________________________________________________________________________________

test_params = {'shared_result': None}, app_params = app_params(args=[], kwargs={'srcdir': path('/tmp/pytest-of-tkloczko/pytest-8/root')})
make_app = <function make_app.<locals>.make at 0x7f3a985e85e0>, shared_result = <sphinx.testing.fixtures.SharedResult object at 0x7f3a985e90d0>

    @pytest.fixture(scope='function')
    def app(test_params: dict, app_params: tuple[dict, dict], make_app: Callable,
            shared_result: SharedResult) -> Generator[SphinxTestApp, None, None]:
        """
        Provides the 'sphinx.application.Sphinx' object
        """
        args, kwargs = app_params
>       app_ = make_app(*args, **kwargs)

/usr/lib/python3.8/site-packages/sphinx/testing/fixtures.py:132:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/sphinx/testing/fixtures.py:178: in make
    app_: Any = SphinxTestApp(*args, **kwargs)
/usr/lib/python3.8/site-packages/sphinx/testing/util.py:136: in __init__
    super().__init__(srcdir, confdir, outdir, doctreedir,
/usr/lib/python3.8/site-packages/sphinx/application.py:219: in __init__
    self.setup_extension(extension)
/usr/lib/python3.8/site-packages/sphinx/application.py:398: in setup_extension
    self.registry.load_extension(self, extname)
/usr/lib/python3.8/site-packages/sphinx/registry.py:443: in load_extension
    mod = import_module(extname)
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
/usr/lib/python3.8/site-packages/sphinxcontrib/htmlhelp/__init__.py:26: in <module>
    from sphinx.util import progress_message
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <sphinx.deprecation._ModuleWrapper object at 0x7f3a99bcc970>, name = 'progress_message'

    def __getattr__(self, name: str) -> Any:
        if name not in self._objects:
            return getattr(self._module, name)

        canonical_name = self._names.get(name, None)
        if canonical_name is not None:
>           warnings.warn(f"The alias '{self._modname}.{name}' is deprecated, "
                          f"use '{canonical_name}' instead. "
                          "Check CHANGES for Sphinx API modifications.",
                          self._warning, stacklevel=3)
E           sphinx.deprecation.RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is deprecated, use 'sphinx.util.display.progress_message' instead. Check CHANGES for Sphinx API modifications.

/usr/lib/python3.8/site-packages/sphinx/deprecation.py:46: RemovedInSphinx80Warning
_______________________________________________________________________ ERROR at setup of test_output[flit_demo.html] _______________________________________________________________________

test_params = {'shared_result': None}, app_params = app_params(args=[], kwargs={'srcdir': path('/tmp/pytest-of-tkloczko/pytest-8/root')})
make_app = <function make_app.<locals>.make at 0x7f3a97cbd550>, shared_result = <sphinx.testing.fixtures.SharedResult object at 0x7f3a98fabc40>

    @pytest.fixture(scope='function')
    def app(test_params: dict, app_params: tuple[dict, dict], make_app: Callable,
            shared_result: SharedResult) -> Generator[SphinxTestApp, None, None]:
        """
        Provides the 'sphinx.application.Sphinx' object
        """
        args, kwargs = app_params
>       app_ = make_app(*args, **kwargs)

/usr/lib/python3.8/site-packages/sphinx/testing/fixtures.py:132:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/sphinx/testing/fixtures.py:178: in make
    app_: Any = SphinxTestApp(*args, **kwargs)
/usr/lib/python3.8/site-packages/sphinx/testing/util.py:136: in __init__
    super().__init__(srcdir, confdir, outdir, doctreedir,
/usr/lib/python3.8/site-packages/sphinx/application.py:219: in __init__
    self.setup_extension(extension)
/usr/lib/python3.8/site-packages/sphinx/application.py:398: in setup_extension
    self.registry.load_extension(self, extname)
/usr/lib/python3.8/site-packages/sphinx/registry.py:443: in load_extension
    mod = import_module(extname)
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
/usr/lib/python3.8/site-packages/sphinxcontrib/htmlhelp/__init__.py:26: in <module>
    from sphinx.util import progress_message
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <sphinx.deprecation._ModuleWrapper object at 0x7f3a99bcc970>, name = 'progress_message'

    def __getattr__(self, name: str) -> Any:
        if name not in self._objects:
            return getattr(self._module, name)

        canonical_name = self._names.get(name, None)
        if canonical_name is not None:
>           warnings.warn(f"The alias '{self._modname}.{name}' is deprecated, "
                          f"use '{canonical_name}' instead. "
                          "Check CHANGES for Sphinx API modifications.",
                          self._warning, stacklevel=3)
E           sphinx.deprecation.RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is deprecated, use 'sphinx.util.display.progress_message' instead. Check CHANGES for Sphinx API modifications.

/usr/lib/python3.8/site-packages/sphinx/deprecation.py:46: RemovedInSphinx80Warning
______________________________________________________________________ ERROR at setup of test_output[scopes_demo.html] ______________________________________________________________________

test_params = {'shared_result': None}, app_params = app_params(args=[], kwargs={'srcdir': path('/tmp/pytest-of-tkloczko/pytest-8/root')})
make_app = <function make_app.<locals>.make at 0x7f3a97dc3160>, shared_result = <sphinx.testing.fixtures.SharedResult object at 0x7f3a97bb56d0>

    @pytest.fixture(scope='function')
    def app(test_params: dict, app_params: tuple[dict, dict], make_app: Callable,
            shared_result: SharedResult) -> Generator[SphinxTestApp, None, None]:
        """
        Provides the 'sphinx.application.Sphinx' object
        """
        args, kwargs = app_params
>       app_ = make_app(*args, **kwargs)

/usr/lib/python3.8/site-packages/sphinx/testing/fixtures.py:132:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/sphinx/testing/fixtures.py:178: in make
    app_: Any = SphinxTestApp(*args, **kwargs)
/usr/lib/python3.8/site-packages/sphinx/testing/util.py:136: in __init__
    super().__init__(srcdir, confdir, outdir, doctreedir,
/usr/lib/python3.8/site-packages/sphinx/application.py:219: in __init__
    self.setup_extension(extension)
/usr/lib/python3.8/site-packages/sphinx/application.py:398: in setup_extension
    self.registry.load_extension(self, extname)
/usr/lib/python3.8/site-packages/sphinx/registry.py:443: in load_extension
    mod = import_module(extname)
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
/usr/lib/python3.8/site-packages/sphinxcontrib/htmlhelp/__init__.py:26: in <module>
    from sphinx.util import progress_message
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <sphinx.deprecation._ModuleWrapper object at 0x7f3a99bcc970>, name = 'progress_message'

    def __getattr__(self, name: str) -> Any:
        if name not in self._objects:
            return getattr(self._module, name)

        canonical_name = self._names.get(name, None)
        if canonical_name is not None:
>           warnings.warn(f"The alias '{self._modname}.{name}' is deprecated, "
                          f"use '{canonical_name}' instead. "
                          "Check CHANGES for Sphinx API modifications.",
                          self._warning, stacklevel=3)
E           sphinx.deprecation.RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is deprecated, use 'sphinx.util.display.progress_message' instead. Check CHANGES for Sphinx API modifications.

/usr/lib/python3.8/site-packages/sphinx/deprecation.py:46: RemovedInSphinx80Warning
____________________________________________________________________ ERROR at setup of test_output[setup_cfg_demo.html] _____________________________________________________________________

test_params = {'shared_result': None}, app_params = app_params(args=[], kwargs={'srcdir': path('/tmp/pytest-of-tkloczko/pytest-8/root')})
make_app = <function make_app.<locals>.make at 0x7f3a97d57790>, shared_result = <sphinx.testing.fixtures.SharedResult object at 0x7f3a97d01ca0>

    @pytest.fixture(scope='function')
    def app(test_params: dict, app_params: tuple[dict, dict], make_app: Callable,
            shared_result: SharedResult) -> Generator[SphinxTestApp, None, None]:
        """
        Provides the 'sphinx.application.Sphinx' object
        """
        args, kwargs = app_params
>       app_ = make_app(*args, **kwargs)

/usr/lib/python3.8/site-packages/sphinx/testing/fixtures.py:132:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/sphinx/testing/fixtures.py:178: in make
    app_: Any = SphinxTestApp(*args, **kwargs)
/usr/lib/python3.8/site-packages/sphinx/testing/util.py:136: in __init__
    super().__init__(srcdir, confdir, outdir, doctreedir,
/usr/lib/python3.8/site-packages/sphinx/application.py:219: in __init__
    self.setup_extension(extension)
/usr/lib/python3.8/site-packages/sphinx/application.py:398: in setup_extension
    self.registry.load_extension(self, extname)
/usr/lib/python3.8/site-packages/sphinx/registry.py:443: in load_extension
    mod = import_module(extname)
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
/usr/lib/python3.8/site-packages/sphinxcontrib/htmlhelp/__init__.py:26: in <module>
    from sphinx.util import progress_message
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <sphinx.deprecation._ModuleWrapper object at 0x7f3a99bcc970>, name = 'progress_message'

    def __getattr__(self, name: str) -> Any:
        if name not in self._objects:
            return getattr(self._module, name)

        canonical_name = self._names.get(name, None)
        if canonical_name is not None:
>           warnings.warn(f"The alias '{self._modname}.{name}' is deprecated, "
                          f"use '{canonical_name}' instead. "
                          "Check CHANGES for Sphinx API modifications.",
                          self._warning, stacklevel=3)
E           sphinx.deprecation.RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is deprecated, use 'sphinx.util.display.progress_message' instead. Check CHANGES for Sphinx API modifications.

/usr/lib/python3.8/site-packages/sphinx/deprecation.py:46: RemovedInSphinx80Warning
________________________________________________________________ ERROR at setup of test_output[requirements_file_demo.html] _________________________________________________________________

test_params = {'shared_result': None}, app_params = app_params(args=[], kwargs={'srcdir': path('/tmp/pytest-of-tkloczko/pytest-8/root')})
make_app = <function make_app.<locals>.make at 0x7f3a97d2e700>, shared_result = <sphinx.testing.fixtures.SharedResult object at 0x7f3a97b6e1f0>

    @pytest.fixture(scope='function')
    def app(test_params: dict, app_params: tuple[dict, dict], make_app: Callable,
            shared_result: SharedResult) -> Generator[SphinxTestApp, None, None]:
        """
        Provides the 'sphinx.application.Sphinx' object
        """
        args, kwargs = app_params
>       app_ = make_app(*args, **kwargs)

/usr/lib/python3.8/site-packages/sphinx/testing/fixtures.py:132:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/sphinx/testing/fixtures.py:178: in make
    app_: Any = SphinxTestApp(*args, **kwargs)
/usr/lib/python3.8/site-packages/sphinx/testing/util.py:136: in __init__
    super().__init__(srcdir, confdir, outdir, doctreedir,
/usr/lib/python3.8/site-packages/sphinx/application.py:219: in __init__
    self.setup_extension(extension)
/usr/lib/python3.8/site-packages/sphinx/application.py:398: in setup_extension
    self.registry.load_extension(self, extname)
/usr/lib/python3.8/site-packages/sphinx/registry.py:443: in load_extension
    mod = import_module(extname)
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
/usr/lib/python3.8/site-packages/sphinxcontrib/htmlhelp/__init__.py:26: in <module>
    from sphinx.util import progress_message
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <sphinx.deprecation._ModuleWrapper object at 0x7f3a99bcc970>, name = 'progress_message'

    def __getattr__(self, name: str) -> Any:
        if name not in self._objects:
            return getattr(self._module, name)

        canonical_name = self._names.get(name, None)
        if canonical_name is not None:
>           warnings.warn(f"The alias '{self._modname}.{name}' is deprecated, "
                          f"use '{canonical_name}' instead. "
                          "Check CHANGES for Sphinx API modifications.",
                          self._warning, stacklevel=3)
E           sphinx.deprecation.RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is deprecated, use 'sphinx.util.display.progress_message' instead. Check CHANGES for Sphinx API modifications.

/usr/lib/python3.8/site-packages/sphinx/deprecation.py:46: RemovedInSphinx80Warning
_____________________________________________________________________ ERROR at setup of test_output[pkginfo_demo.html] ______________________________________________________________________

test_params = {'shared_result': None}, app_params = app_params(args=[], kwargs={'srcdir': path('/tmp/pytest-of-tkloczko/pytest-8/root')})
make_app = <function make_app.<locals>.make at 0x7f3a97ccb820>, shared_result = <sphinx.testing.fixtures.SharedResult object at 0x7f3a97b7da00>

    @pytest.fixture(scope='function')
    def app(test_params: dict, app_params: tuple[dict, dict], make_app: Callable,
            shared_result: SharedResult) -> Generator[SphinxTestApp, None, None]:
        """
        Provides the 'sphinx.application.Sphinx' object
        """
        args, kwargs = app_params
>       app_ = make_app(*args, **kwargs)

/usr/lib/python3.8/site-packages/sphinx/testing/fixtures.py:132:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/sphinx/testing/fixtures.py:178: in make
    app_: Any = SphinxTestApp(*args, **kwargs)
/usr/lib/python3.8/site-packages/sphinx/testing/util.py:136: in __init__
    super().__init__(srcdir, confdir, outdir, doctreedir,
/usr/lib/python3.8/site-packages/sphinx/application.py:219: in __init__
    self.setup_extension(extension)
/usr/lib/python3.8/site-packages/sphinx/application.py:398: in setup_extension
    self.registry.load_extension(self, extname)
/usr/lib/python3.8/site-packages/sphinx/registry.py:443: in load_extension
    mod = import_module(extname)
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
/usr/lib/python3.8/site-packages/sphinxcontrib/htmlhelp/__init__.py:26: in <module>
    from sphinx.util import progress_message
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <sphinx.deprecation._ModuleWrapper object at 0x7f3a99bcc970>, name = 'progress_message'

    def __getattr__(self, name: str) -> Any:
        if name not in self._objects:
            return getattr(self._module, name)

        canonical_name = self._names.get(name, None)
        if canonical_name is not None:
>           warnings.warn(f"The alias '{self._modname}.{name}' is deprecated, "
                          f"use '{canonical_name}' instead. "
                          "Check CHANGES for Sphinx API modifications.",
                          self._warning, stacklevel=3)
E           sphinx.deprecation.RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is deprecated, use 'sphinx.util.display.progress_message' instead. Check CHANGES for Sphinx API modifications.

/usr/lib/python3.8/site-packages/sphinx/deprecation.py:46: RemovedInSphinx80Warning
______________________________________________________________________ ERROR at setup of test_output[manual_demo.html] ______________________________________________________________________

test_params = {'shared_result': None}, app_params = app_params(args=[], kwargs={'srcdir': path('/tmp/pytest-of-tkloczko/pytest-8/root')})
make_app = <function make_app.<locals>.make at 0x7f3a97d2e700>, shared_result = <sphinx.testing.fixtures.SharedResult object at 0x7f3a97be34f0>

    @pytest.fixture(scope='function')
    def app(test_params: dict, app_params: tuple[dict, dict], make_app: Callable,
            shared_result: SharedResult) -> Generator[SphinxTestApp, None, None]:
        """
        Provides the 'sphinx.application.Sphinx' object
        """
        args, kwargs = app_params
>       app_ = make_app(*args, **kwargs)

/usr/lib/python3.8/site-packages/sphinx/testing/fixtures.py:132:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/sphinx/testing/fixtures.py:178: in make
    app_: Any = SphinxTestApp(*args, **kwargs)
/usr/lib/python3.8/site-packages/sphinx/testing/util.py:136: in __init__
    super().__init__(srcdir, confdir, outdir, doctreedir,
/usr/lib/python3.8/site-packages/sphinx/application.py:219: in __init__
    self.setup_extension(extension)
/usr/lib/python3.8/site-packages/sphinx/application.py:398: in setup_extension
    self.registry.load_extension(self, extname)
/usr/lib/python3.8/site-packages/sphinx/registry.py:443: in load_extension
    mod = import_module(extname)
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
/usr/lib/python3.8/site-packages/sphinxcontrib/htmlhelp/__init__.py:26: in <module>
    from sphinx.util import progress_message
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <sphinx.deprecation._ModuleWrapper object at 0x7f3a99bcc970>, name = 'progress_message'

    def __getattr__(self, name: str) -> Any:
        if name not in self._objects:
            return getattr(self._module, name)

        canonical_name = self._names.get(name, None)
        if canonical_name is not None:
>           warnings.warn(f"The alias '{self._modname}.{name}' is deprecated, "
                          f"use '{canonical_name}' instead. "
                          "Check CHANGES for Sphinx API modifications.",
                          self._warning, stacklevel=3)
E           sphinx.deprecation.RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is deprecated, use 'sphinx.util.display.progress_message' instead. Check CHANGES for Sphinx API modifications.

/usr/lib/python3.8/site-packages/sphinx/deprecation.py:46: RemovedInSphinx80Warning
__________________________________________________________ ERROR at setup of test_no_requirements_demo[no_requirements_demo.html] ___________________________________________________________

test_params = {'shared_result': None}, app_params = app_params(args=[], kwargs={'srcdir': path('/tmp/pytest-of-tkloczko/pytest-8/root')})
make_app = <function make_app.<locals>.make at 0x7f3a97cbdd30>, shared_result = <sphinx.testing.fixtures.SharedResult object at 0x7f3a97b4c880>

    @pytest.fixture(scope='function')
    def app(test_params: dict, app_params: tuple[dict, dict], make_app: Callable,
            shared_result: SharedResult) -> Generator[SphinxTestApp, None, None]:
        """
        Provides the 'sphinx.application.Sphinx' object
        """
        args, kwargs = app_params
>       app_ = make_app(*args, **kwargs)

/usr/lib/python3.8/site-packages/sphinx/testing/fixtures.py:132:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/sphinx/testing/fixtures.py:178: in make
    app_: Any = SphinxTestApp(*args, **kwargs)
/usr/lib/python3.8/site-packages/sphinx/testing/util.py:136: in __init__
    super().__init__(srcdir, confdir, outdir, doctreedir,
/usr/lib/python3.8/site-packages/sphinx/application.py:219: in __init__
    self.setup_extension(extension)
/usr/lib/python3.8/site-packages/sphinx/application.py:398: in setup_extension
    self.registry.load_extension(self, extname)
/usr/lib/python3.8/site-packages/sphinx/registry.py:443: in load_extension
    mod = import_module(extname)
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
/usr/lib/python3.8/site-packages/sphinxcontrib/htmlhelp/__init__.py:26: in <module>
    from sphinx.util import progress_message
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <sphinx.deprecation._ModuleWrapper object at 0x7f3a99bcc970>, name = 'progress_message'

    def __getattr__(self, name: str) -> Any:
        if name not in self._objects:
            return getattr(self._module, name)

        canonical_name = self._names.get(name, None)
        if canonical_name is not None:
>           warnings.warn(f"The alias '{self._modname}.{name}' is deprecated, "
                          f"use '{canonical_name}' instead. "
                          "Check CHANGES for Sphinx API modifications.",
                          self._warning, stacklevel=3)
E           sphinx.deprecation.RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is deprecated, use 'sphinx.util.display.progress_message' instead. Check CHANGES for Sphinx API modifications.

/usr/lib/python3.8/site-packages/sphinx/deprecation.py:46: RemovedInSphinx80Warning
===================================================================================== warnings summary ======================================================================================
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:238: 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.10s setup    tests/test_directive.py::test
0.02s 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_errors[extra_c =\n    faker\n    pytest\n    tox; python<=3.6\n-test-expects1]
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 setup    tests/test_directive.py::test_output[flit_demo.html]
0.01s setup    tests/test_directive.py::test_output[manual_demo.html]
0.01s setup    tests/test_directive.py::test_output[scopes_demo.html]
0.01s setup    tests/test_directive.py::test_no_requirements_demo[no_requirements_demo.html]
0.01s setup    tests/test_directive.py::test_output[setup_cfg_demo.html]
0.01s setup    tests/test_directive.py::test_output[requirements_file_demo.html]
0.01s setup    tests/test_directive.py::test_output[pkginfo_demo.html]

(12 durations < 0.005s hidden.  Use -vv to show these durations.)
================================================================================== short test summary info ==================================================================================
ERROR tests/test_directive.py::test - sphinx.deprecation.RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is deprecated, use 'sphinx.util.display.progress_message' instead. Check CHANGES for Sphinx API mo...
ERROR tests/test_directive.py::test_output[flit_demo.html] - sphinx.deprecation.RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is deprecated, use 'sphinx.util.display.progress_message' instead. Check CHANGES for Sphinx API mo...
ERROR tests/test_directive.py::test_output[scopes_demo.html] - sphinx.deprecation.RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is deprecated, use 'sphinx.util.display.progress_message' instead. Check CHANGES for Sphinx API mo...
ERROR tests/test_directive.py::test_output[setup_cfg_demo.html] - sphinx.deprecation.RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is deprecated, use 'sphinx.util.display.progress_message' instead. Check CHANGES for Sphinx API mo...
ERROR tests/test_directive.py::test_output[requirements_file_demo.html] - sphinx.deprecation.RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is deprecated, use 'sphinx.util.display.progress_message' instead. Check CHANGES for Sphinx API mo...
ERROR tests/test_directive.py::test_output[pkginfo_demo.html] - sphinx.deprecation.RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is deprecated, use 'sphinx.util.display.progress_message' instead. Check CHANGES for Sphinx API mo...
ERROR tests/test_directive.py::test_output[manual_demo.html] - sphinx.deprecation.RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is deprecated, use 'sphinx.util.display.progress_message' instead. Check CHANGES for Sphinx API mo...
ERROR tests/test_directive.py::test_no_requirements_demo[no_requirements_demo.html] - sphinx.deprecation.RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is deprecated, use 'sphinx.util.display.progress_message' instead. Check CHANGES for Sphinx API mo...
========================================================================= 100 passed, 5 warnings, 8 errors in 1.33s =========================================================================

Here is list of installed modules in build env

Details
Package                       Version
----------------------------- -----------------
alabaster                     0.7.13
apeye                         1.3.0
apeye-core                    1.1.1
attrs                         22.2.0
autodocsumm                   0.2.10
Babel                         2.12.1
beautifulsoup4                4.11.2
build                         0.10.0
CacheControl                  0.12.11
charset-normalizer            3.1.0
click                         8.1.3
coincidence                   0.6.4
consolekit                    1.4.1
cssutils                      2.6.0
default-values                0.5.1
deprecation                   2.1.0
deprecation-alias             0.3.1
dict2css                      0.3.0
diskcache                     5.4.0
dist-meta                     0.7.0
distro                        1.8.0
docutils                      0.19
dom_toml                      0.6.0
domdf-python-tools            3.3.0
exceptiongroup                1.0.0
extras                        1.0.0
fixtures                      4.0.1
gpg                           1.18.0-unknown
handy-archives                0.1.2
html-section                  0.3.0
html5lib                      1.1
idna                          3.4
imagesize                     1.4.1
importlib-metadata            6.0.0
iniconfig                     2.0.0
Jinja2                        3.1.2
libcomps                      0.1.19
lockfile                      0.12.2
MarkupSafe                    2.1.2
mistletoe                     1.0.1
more-itertools                9.1.0
msgpack                       1.0.4
natsort                       8.0.2
packaging                     23.0
pbr                           5.11.1
pip                           22.3.1
platformdirs                  2.6.0
pluggy                        1.0.0
pychoosealicense              2022.7.25
Pygments                      2.14.0
pypi-json                     0.3.0
pyproject_hooks               1.0.0
pyproject-parser              0.5.0
pytest                        7.2.2
pytest-datadir                1.4.1
pytest-regressions            2.4.2
pytest-timeout                2.1.0
python-dateutil               2.8.2
python-frontmatter            1.0.0
pytz                          2022.4
PyYAML                        6.0
requests                      2.28.2
rpm                           4.17.0
ruamel.yaml                   0.17.21
ruamel.yaml.clib              0.2.6
seed-intersphinx-mapping      1.2.0
setuptools                    65.6.3
shippinglabel                 1.4.1
six                           1.16.0
snowballstemmer               2.2.0
soupsieve                     2.4
Sphinx                        6.1.3
sphinx_autodoc_typehints      1.19.4
sphinx-copybutton             0.5.1
sphinx-debuginfo              0.2.2
sphinx-jinja2-compat          0.2.0
sphinx-licenseinfo            0.3.1
sphinx-notfound-page          0.8.3
sphinx-prompt                 1.5.0
sphinx-pyproject              0.1.0
sphinx-tabs                   3.4.1
sphinx-toolbox                3.3.0
sphinxcontrib-applehelp       1.0.4
sphinxcontrib-devhelp         1.0.2.dev20230202
sphinxcontrib-htmlhelp        2.0.0
sphinxcontrib-jsmath          1.0.1.dev20230128
sphinxcontrib-qthelp          1.0.3.dev20230128
sphinxcontrib-serializinghtml 1.1.5
sphinxemoji                   0.2.0
tabulate                      0.9.0
testtools                     2.5.0
toctree-plus                  0.6.0
toml                          0.10.2
tomli                         2.0.1
typing_extensions             4.4.0
urllib3                       1.26.12
webencodings                  0.5.1
wheel                         0.38.4
whey                          0.0.23
zipp                          3.15.0

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingstale

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions