>>> py3-sphinxcontrib-apidoc: Building testing/py3-sphinxcontrib-apidoc 0.3.0-r2 (using abuild 3.10.0_rc1-r2) started Thu, 24 Nov 2022 01:05:09 +0000 >>> py3-sphinxcontrib-apidoc: Checking sanity of /home/buildozer/aports/testing/py3-sphinxcontrib-apidoc/APKBUILD... >>> py3-sphinxcontrib-apidoc: Analyzing dependencies... >>> py3-sphinxcontrib-apidoc: Installing for build: build-base py3-sphinx py3-pbr py3-setuptools py3-pytest (1/39) Installing libbz2 (1.0.8-r4) (2/39) Installing libffi (3.4.4-r0) (3/39) Installing gdbm (1.23-r0) (4/39) Installing xz-libs (5.2.8-r0) (5/39) Installing mpdecimal (2.5.1-r1) (6/39) Installing readline (8.2.0-r0) (7/39) Installing sqlite-libs (3.40.0-r0) (8/39) Installing python3 (3.11.0-r2) (9/39) Installing py3-tz (2022.6-r1) (10/39) Installing py3-babel (2.11.0-r1) (11/39) Installing py3-docutils (0.19-r2) (12/39) Installing py3-imagesize (1.4.1-r1) (13/39) Installing py3-markupsafe (2.1.1-r2) (14/39) Installing py3-jinja2 (3.1.2-r1) (15/39) Installing py3-parsing (3.0.9-r1) (16/39) Installing py3-packaging (21.3-r3) (17/39) Installing py3-pygments (2.13.0-r1) (18/39) Installing py3-certifi (2022.9.24-r1) (19/39) Installing py3-charset-normalizer (3.0.1-r1) (20/39) Installing py3-idna (3.4-r3) (21/39) Installing py3-urllib3 (1.26.12-r1) (22/39) Installing py3-requests (2.28.1-r2) (23/39) Installing py3-snowballstemmer (2.2.0-r1) (24/39) Installing py3-alabaster (0.7.12-r6) (25/39) Installing py3-sphinxcontrib-applehelp (1.0.2-r4) (26/39) Installing py3-sphinxcontrib-devhelp (1.0.2-r4) (27/39) Installing py3-sphinxcontrib-htmlhelp (2.0.0-r3) (28/39) Installing py3-sphinxcontrib-jsmath (1.0.1-r4) (29/39) Installing py3-sphinxcontrib-serializinghtml (1.1.5-r3) (30/39) Installing py3-sphinxcontrib-qthelp (1.0.3-r4) (31/39) Installing py3-sphinx (5.3.0-r1) (32/39) Installing py3-pbr (5.11.0-r1) (33/39) Installing py3-setuptools (65.6.2-r0) (34/39) Installing py3-attrs (22.1.0-r1) (35/39) Installing py3-iniconfig (1.1.1-r4) (36/39) Installing py3-pluggy (1.0.0-r2) (37/39) Installing py3-py (1.11.0-r1) (38/39) Installing py3-pytest (7.2.0-r2) (39/39) Installing .makedepends-py3-sphinxcontrib-apidoc (20221124.010510) Executing busybox-1.35.0-r29.trigger OK: 524 MiB in 137 packages >>> py3-sphinxcontrib-apidoc: Cleaning up srcdir >>> py3-sphinxcontrib-apidoc: Cleaning up pkgdir >>> py3-sphinxcontrib-apidoc: Fetching https://distfiles.alpinelinux.org/distfiles/edge//sphinxcontrib-apidoc-0.3.0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15396 100 15396 0 0 40942 0 --:--:-- --:--:-- --:--:-- 41056 >>> py3-sphinxcontrib-apidoc: Fetching https://distfiles.alpinelinux.org/distfiles/edge//sphinxcontrib-apidoc-0.3.0.tar.gz >>> py3-sphinxcontrib-apidoc: Checking sha512sums... sphinxcontrib-apidoc-0.3.0.tar.gz: OK >>> py3-sphinxcontrib-apidoc: Unpacking /var/cache/distfiles/edge/sphinxcontrib-apidoc-0.3.0.tar.gz... /usr/lib/python3.11/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( /usr/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( /usr/lib/python3.11/site-packages/setuptools/dist.py:285: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated, consider using implicit namespaces instead (PEP 420). warnings.warn(msg, SetuptoolsDeprecationWarning) running build running build_py creating build creating build/lib creating build/lib/sphinxcontrib copying sphinxcontrib/__init__.py -> build/lib/sphinxcontrib creating build/lib/sphinxcontrib/apidoc copying sphinxcontrib/apidoc/__init__.py -> build/lib/sphinxcontrib/apidoc copying sphinxcontrib/apidoc/ext.py -> build/lib/sphinxcontrib/apidoc running egg_info writing sphinxcontrib_apidoc.egg-info/PKG-INFO writing dependency_links to sphinxcontrib_apidoc.egg-info/dependency_links.txt writing namespace_packages to sphinxcontrib_apidoc.egg-info/namespace_packages.txt writing requirements to sphinxcontrib_apidoc.egg-info/requires.txt writing top-level names to sphinxcontrib_apidoc.egg-info/top_level.txt [pbr] Reusing existing SOURCES.txt ============================= test session starts ============================== platform linux -- Python 3.11.0, pytest-7.2.0, pluggy-1.0.0 rootdir: /home/buildozer/aports/testing/py3-sphinxcontrib-apidoc/src/sphinxcontrib-apidoc-0.3.0 collected 5 items tests/test_ext.py EEEEE [100%] ==================================== ERRORS ==================================== ________________________ ERROR at setup of test_basics _________________________ self = app = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3ff9c367bd0> extname = 'sphinxcontrib.apidoc' def load_extension(self, app: "Sphinx", extname: str) -> None: """Load a Sphinx extension.""" if extname in app.extensions: # already loaded return if extname in EXTENSION_BLACKLIST: logger.warning(__('the extension %r was already merged with Sphinx since ' 'version %s; this extension is ignored.'), extname, EXTENSION_BLACKLIST[extname]) return # update loading context prefix = __('while setting up extension %s:') % extname with prefixed_warnings(prefix): try: > mod = import_module(extname) /usr/lib/python3.11/site-packages/sphinx/registry.py:459: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'sphinxcontrib.apidoc', package = None def import_module(name, package=None): """Import a module. The 'package' argument is required when performing a relative import. It specifies the package to use as the anchor point from which to resolve the relative import to an absolute import. """ level = 0 if name.startswith('.'): if not package: msg = ("the 'package' argument is required to perform a relative " "import for {!r}") raise TypeError(msg.format(name)) for character in name: if character != '.': break level += 1 > return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.11/importlib/__init__.py:126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'sphinxcontrib.apidoc', package = None, level = 0 > ??? :1206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'sphinxcontrib.apidoc', import_ = > ??? :1178: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'sphinxcontrib.apidoc', import_ = > ??? E ModuleNotFoundError: No module named 'sphinxcontrib.apidoc' :1142: ModuleNotFoundError The above exception was the direct cause of the following exception: test_params = {'shared_result': None} app_params = app_params(args=['html'], kwargs={'srcdir': path('/tmp/apidoc-nxgti0n3/basics')}) make_app = .make at 0x3ff9c46cae0> shared_result = @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.11/site-packages/sphinx/testing/fixtures.py:131: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/sphinx/testing/fixtures.py:177: in make app_: Any = SphinxTestApp(*args, **kwargs) /usr/lib/python3.11/site-packages/sphinx/testing/util.py:134: in __init__ super().__init__(srcdir, confdir, outdir, doctreedir, /usr/lib/python3.11/site-packages/sphinx/application.py:223: in __init__ self.setup_extension(extension) /usr/lib/python3.11/site-packages/sphinx/application.py:398: in setup_extension self.registry.load_extension(self, extname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = app = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3ff9c367bd0> extname = 'sphinxcontrib.apidoc' def load_extension(self, app: "Sphinx", extname: str) -> None: """Load a Sphinx extension.""" if extname in app.extensions: # already loaded return if extname in EXTENSION_BLACKLIST: logger.warning(__('the extension %r was already merged with Sphinx since ' 'version %s; this extension is ignored.'), extname, EXTENSION_BLACKLIST[extname]) return # update loading context prefix = __('while setting up extension %s:') % extname with prefixed_warnings(prefix): try: mod = import_module(extname) except ImportError as err: logger.verbose(__('Original exception:\n') + traceback.format_exc()) > raise ExtensionError(__('Could not import extension %s') % extname, err) from err E sphinx.errors.ExtensionError: Could not import extension sphinxcontrib.apidoc (exception: No module named 'sphinxcontrib.apidoc') /usr/lib/python3.11/site-packages/sphinx/registry.py:462: ExtensionError _______________________ ERROR at setup of test_advanced ________________________ self = app = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3ff9b9a4690> extname = 'sphinxcontrib.apidoc' def load_extension(self, app: "Sphinx", extname: str) -> None: """Load a Sphinx extension.""" if extname in app.extensions: # already loaded return if extname in EXTENSION_BLACKLIST: logger.warning(__('the extension %r was already merged with Sphinx since ' 'version %s; this extension is ignored.'), extname, EXTENSION_BLACKLIST[extname]) return # update loading context prefix = __('while setting up extension %s:') % extname with prefixed_warnings(prefix): try: > mod = import_module(extname) /usr/lib/python3.11/site-packages/sphinx/registry.py:459: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'sphinxcontrib.apidoc', package = None def import_module(name, package=None): """Import a module. The 'package' argument is required when performing a relative import. It specifies the package to use as the anchor point from which to resolve the relative import to an absolute import. """ level = 0 if name.startswith('.'): if not package: msg = ("the 'package' argument is required to perform a relative " "import for {!r}") raise TypeError(msg.format(name)) for character in name: if character != '.': break level += 1 > return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.11/importlib/__init__.py:126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'sphinxcontrib.apidoc', package = None, level = 0 > ??? :1206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'sphinxcontrib.apidoc', import_ = > ??? :1178: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'sphinxcontrib.apidoc', import_ = > ??? E ModuleNotFoundError: No module named 'sphinxcontrib.apidoc' :1142: ModuleNotFoundError The above exception was the direct cause of the following exception: test_params = {'shared_result': None} app_params = app_params(args=['html'], kwargs={'srcdir': path('/tmp/apidoc-nxgti0n3/advanced')}) make_app = .make at 0x3ff9baddf80> shared_result = @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.11/site-packages/sphinx/testing/fixtures.py:131: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/sphinx/testing/fixtures.py:177: in make app_: Any = SphinxTestApp(*args, **kwargs) /usr/lib/python3.11/site-packages/sphinx/testing/util.py:134: in __init__ super().__init__(srcdir, confdir, outdir, doctreedir, /usr/lib/python3.11/site-packages/sphinx/application.py:223: in __init__ self.setup_extension(extension) /usr/lib/python3.11/site-packages/sphinx/application.py:398: in setup_extension self.registry.load_extension(self, extname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = app = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3ff9b9a4690> extname = 'sphinxcontrib.apidoc' def load_extension(self, app: "Sphinx", extname: str) -> None: """Load a Sphinx extension.""" if extname in app.extensions: # already loaded return if extname in EXTENSION_BLACKLIST: logger.warning(__('the extension %r was already merged with Sphinx since ' 'version %s; this extension is ignored.'), extname, EXTENSION_BLACKLIST[extname]) return # update loading context prefix = __('while setting up extension %s:') % extname with prefixed_warnings(prefix): try: mod = import_module(extname) except ImportError as err: logger.verbose(__('Original exception:\n') + traceback.format_exc()) > raise ExtensionError(__('Could not import extension %s') % extname, err) from err E sphinx.errors.ExtensionError: Could not import extension sphinxcontrib.apidoc (exception: No module named 'sphinxcontrib.apidoc') /usr/lib/python3.11/site-packages/sphinx/registry.py:462: ExtensionError ___________________ ERROR at setup of test_advanced_negative ___________________ self = app = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3ff9b919710> extname = 'sphinxcontrib.apidoc' def load_extension(self, app: "Sphinx", extname: str) -> None: """Load a Sphinx extension.""" if extname in app.extensions: # already loaded return if extname in EXTENSION_BLACKLIST: logger.warning(__('the extension %r was already merged with Sphinx since ' 'version %s; this extension is ignored.'), extname, EXTENSION_BLACKLIST[extname]) return # update loading context prefix = __('while setting up extension %s:') % extname with prefixed_warnings(prefix): try: > mod = import_module(extname) /usr/lib/python3.11/site-packages/sphinx/registry.py:459: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'sphinxcontrib.apidoc', package = None def import_module(name, package=None): """Import a module. The 'package' argument is required when performing a relative import. It specifies the package to use as the anchor point from which to resolve the relative import to an absolute import. """ level = 0 if name.startswith('.'): if not package: msg = ("the 'package' argument is required to perform a relative " "import for {!r}") raise TypeError(msg.format(name)) for character in name: if character != '.': break level += 1 > return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.11/importlib/__init__.py:126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'sphinxcontrib.apidoc', package = None, level = 0 > ??? :1206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'sphinxcontrib.apidoc', import_ = > ??? :1178: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'sphinxcontrib.apidoc', import_ = > ??? E ModuleNotFoundError: No module named 'sphinxcontrib.apidoc' :1142: ModuleNotFoundError The above exception was the direct cause of the following exception: test_params = {'shared_result': None} app_params = app_params(args=['html'], kwargs={'srcdir': path('/tmp/apidoc-nxgti0n3/advanced-negative')}) make_app = .make at 0x3ff9badfa60> shared_result = @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.11/site-packages/sphinx/testing/fixtures.py:131: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/sphinx/testing/fixtures.py:177: in make app_: Any = SphinxTestApp(*args, **kwargs) /usr/lib/python3.11/site-packages/sphinx/testing/util.py:134: in __init__ super().__init__(srcdir, confdir, outdir, doctreedir, /usr/lib/python3.11/site-packages/sphinx/application.py:223: in __init__ self.setup_extension(extension) /usr/lib/python3.11/site-packages/sphinx/application.py:398: in setup_extension self.registry.load_extension(self, extname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = app = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3ff9b919710> extname = 'sphinxcontrib.apidoc' def load_extension(self, app: "Sphinx", extname: str) -> None: """Load a Sphinx extension.""" if extname in app.extensions: # already loaded return if extname in EXTENSION_BLACKLIST: logger.warning(__('the extension %r was already merged with Sphinx since ' 'version %s; this extension is ignored.'), extname, EXTENSION_BLACKLIST[extname]) return # update loading context prefix = __('while setting up extension %s:') % extname with prefixed_warnings(prefix): try: mod = import_module(extname) except ImportError as err: logger.verbose(__('Original exception:\n') + traceback.format_exc()) > raise ExtensionError(__('Could not import extension %s') % extname, err) from err E sphinx.errors.ExtensionError: Could not import extension sphinxcontrib.apidoc (exception: No module named 'sphinxcontrib.apidoc') /usr/lib/python3.11/site-packages/sphinx/registry.py:462: ExtensionError _________________ ERROR at setup of test_missing_configuration _________________ self = app = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3ff9b839c90> extname = 'sphinxcontrib.apidoc' def load_extension(self, app: "Sphinx", extname: str) -> None: """Load a Sphinx extension.""" if extname in app.extensions: # already loaded return if extname in EXTENSION_BLACKLIST: logger.warning(__('the extension %r was already merged with Sphinx since ' 'version %s; this extension is ignored.'), extname, EXTENSION_BLACKLIST[extname]) return # update loading context prefix = __('while setting up extension %s:') % extname with prefixed_warnings(prefix): try: > mod = import_module(extname) /usr/lib/python3.11/site-packages/sphinx/registry.py:459: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'sphinxcontrib.apidoc', package = None def import_module(name, package=None): """Import a module. The 'package' argument is required when performing a relative import. It specifies the package to use as the anchor point from which to resolve the relative import to an absolute import. """ level = 0 if name.startswith('.'): if not package: msg = ("the 'package' argument is required to perform a relative " "import for {!r}") raise TypeError(msg.format(name)) for character in name: if character != '.': break level += 1 > return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.11/importlib/__init__.py:126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'sphinxcontrib.apidoc', package = None, level = 0 > ??? :1206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'sphinxcontrib.apidoc', import_ = > ??? :1178: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'sphinxcontrib.apidoc', import_ = > ??? E ModuleNotFoundError: No module named 'sphinxcontrib.apidoc' :1142: ModuleNotFoundError The above exception was the direct cause of the following exception: test_params = {'shared_result': None} app_params = app_params(args=['html'], kwargs={'srcdir': path('/tmp/apidoc-nxgti0n3/missing-configuration')}) make_app = .make at 0x3ff9c46c5e0> shared_result = @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.11/site-packages/sphinx/testing/fixtures.py:131: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/sphinx/testing/fixtures.py:177: in make app_: Any = SphinxTestApp(*args, **kwargs) /usr/lib/python3.11/site-packages/sphinx/testing/util.py:134: in __init__ super().__init__(srcdir, confdir, outdir, doctreedir, /usr/lib/python3.11/site-packages/sphinx/application.py:223: in __init__ self.setup_extension(extension) /usr/lib/python3.11/site-packages/sphinx/application.py:398: in setup_extension self.registry.load_extension(self, extname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = app = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3ff9b839c90> extname = 'sphinxcontrib.apidoc' def load_extension(self, app: "Sphinx", extname: str) -> None: """Load a Sphinx extension.""" if extname in app.extensions: # already loaded return if extname in EXTENSION_BLACKLIST: logger.warning(__('the extension %r was already merged with Sphinx since ' 'version %s; this extension is ignored.'), extname, EXTENSION_BLACKLIST[extname]) return # update loading context prefix = __('while setting up extension %s:') % extname with prefixed_warnings(prefix): try: mod = import_module(extname) except ImportError as err: logger.verbose(__('Original exception:\n') + traceback.format_exc()) > raise ExtensionError(__('Could not import extension %s') % extname, err) from err E sphinx.errors.ExtensionError: Could not import extension sphinxcontrib.apidoc (exception: No module named 'sphinxcontrib.apidoc') /usr/lib/python3.11/site-packages/sphinx/registry.py:462: ExtensionError ___________________ ERROR at setup of test_invalid_directory ___________________ self = app = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3ff9b8fc950> extname = 'sphinxcontrib.apidoc' def load_extension(self, app: "Sphinx", extname: str) -> None: """Load a Sphinx extension.""" if extname in app.extensions: # already loaded return if extname in EXTENSION_BLACKLIST: logger.warning(__('the extension %r was already merged with Sphinx since ' 'version %s; this extension is ignored.'), extname, EXTENSION_BLACKLIST[extname]) return # update loading context prefix = __('while setting up extension %s:') % extname with prefixed_warnings(prefix): try: > mod = import_module(extname) /usr/lib/python3.11/site-packages/sphinx/registry.py:459: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'sphinxcontrib.apidoc', package = None def import_module(name, package=None): """Import a module. The 'package' argument is required when performing a relative import. It specifies the package to use as the anchor point from which to resolve the relative import to an absolute import. """ level = 0 if name.startswith('.'): if not package: msg = ("the 'package' argument is required to perform a relative " "import for {!r}") raise TypeError(msg.format(name)) for character in name: if character != '.': break level += 1 > return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.11/importlib/__init__.py:126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'sphinxcontrib.apidoc', package = None, level = 0 > ??? :1206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'sphinxcontrib.apidoc', import_ = > ??? :1178: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'sphinxcontrib.apidoc', import_ = > ??? E ModuleNotFoundError: No module named 'sphinxcontrib.apidoc' :1142: ModuleNotFoundError The above exception was the direct cause of the following exception: test_params = {'shared_result': None} app_params = app_params(args=['html'], kwargs={'srcdir': path('/tmp/apidoc-nxgti0n3/invalid-directory')}) make_app = .make at 0x3ff9badeca0> shared_result = @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.11/site-packages/sphinx/testing/fixtures.py:131: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/sphinx/testing/fixtures.py:177: in make app_: Any = SphinxTestApp(*args, **kwargs) /usr/lib/python3.11/site-packages/sphinx/testing/util.py:134: in __init__ super().__init__(srcdir, confdir, outdir, doctreedir, /usr/lib/python3.11/site-packages/sphinx/application.py:223: in __init__ self.setup_extension(extension) /usr/lib/python3.11/site-packages/sphinx/application.py:398: in setup_extension self.registry.load_extension(self, extname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = app = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3ff9b8fc950> extname = 'sphinxcontrib.apidoc' def load_extension(self, app: "Sphinx", extname: str) -> None: """Load a Sphinx extension.""" if extname in app.extensions: # already loaded return if extname in EXTENSION_BLACKLIST: logger.warning(__('the extension %r was already merged with Sphinx since ' 'version %s; this extension is ignored.'), extname, EXTENSION_BLACKLIST[extname]) return # update loading context prefix = __('while setting up extension %s:') % extname with prefixed_warnings(prefix): try: mod = import_module(extname) except ImportError as err: logger.verbose(__('Original exception:\n') + traceback.format_exc()) > raise ExtensionError(__('Could not import extension %s') % extname, err) from err E sphinx.errors.ExtensionError: Could not import extension sphinxcontrib.apidoc (exception: No module named 'sphinxcontrib.apidoc') /usr/lib/python3.11/site-packages/sphinx/registry.py:462: ExtensionError =============================== warnings summary =============================== tests/test_ext.py::test_basics /usr/lib/python3.11/site-packages/sphinx/util/images.py:4: DeprecationWarning: 'imghdr' is deprecated and slated for removal in Python 3.13 import imghdr -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ ERROR tests/test_ext.py::test_basics - sphinx.errors.ExtensionError: Could no... ERROR tests/test_ext.py::test_advanced - sphinx.errors.ExtensionError: Could ... ERROR tests/test_ext.py::test_advanced_negative - sphinx.errors.ExtensionErro... ERROR tests/test_ext.py::test_missing_configuration - sphinx.errors.Extension... ERROR tests/test_ext.py::test_invalid_directory - sphinx.errors.ExtensionErro... ========================= 1 warning, 5 errors in 0.42s ========================= >>> ERROR: py3-sphinxcontrib-apidoc: check failed >>> py3-sphinxcontrib-apidoc: Uninstalling dependencies... (1/39) Purging .makedepends-py3-sphinxcontrib-apidoc (20221124.010510) (2/39) Purging py3-sphinx (5.3.0-r1) (3/39) Purging py3-babel (2.11.0-r1) (4/39) Purging py3-tz (2022.6-r1) (5/39) Purging py3-docutils (0.19-r2) (6/39) Purging py3-imagesize (1.4.1-r1) (7/39) Purging py3-jinja2 (3.1.2-r1) (8/39) Purging py3-markupsafe (2.1.1-r2) (9/39) Purging py3-pygments (2.13.0-r1) (10/39) Purging py3-requests (2.28.1-r2) (11/39) Purging py3-certifi (2022.9.24-r1) (12/39) Purging py3-charset-normalizer (3.0.1-r1) (13/39) Purging py3-idna (3.4-r3) (14/39) Purging py3-urllib3 (1.26.12-r1) (15/39) Purging py3-snowballstemmer (2.2.0-r1) (16/39) Purging py3-alabaster (0.7.12-r6) (17/39) Purging py3-sphinxcontrib-applehelp (1.0.2-r4) (18/39) Purging py3-sphinxcontrib-devhelp (1.0.2-r4) (19/39) Purging py3-sphinxcontrib-htmlhelp (2.0.0-r3) (20/39) Purging py3-sphinxcontrib-jsmath (1.0.1-r4) (21/39) Purging py3-sphinxcontrib-serializinghtml (1.1.5-r3) (22/39) Purging py3-sphinxcontrib-qthelp (1.0.3-r4) (23/39) Purging py3-pbr (5.11.0-r1) (24/39) Purging py3-setuptools (65.6.2-r0) (25/39) Purging py3-pytest (7.2.0-r2) (26/39) Purging py3-attrs (22.1.0-r1) (27/39) Purging py3-iniconfig (1.1.1-r4) (28/39) Purging py3-packaging (21.3-r3) (29/39) Purging py3-parsing (3.0.9-r1) (30/39) Purging py3-pluggy (1.0.0-r2) (31/39) Purging py3-py (1.11.0-r1) (32/39) Purging python3 (3.11.0-r2) (33/39) Purging libbz2 (1.0.8-r4) (34/39) Purging libffi (3.4.4-r0) (35/39) Purging gdbm (1.23-r0) (36/39) Purging xz-libs (5.2.8-r0) (37/39) Purging mpdecimal (2.5.1-r1) (38/39) Purging readline (8.2.0-r0) (39/39) Purging sqlite-libs (3.40.0-r0) Executing busybox-1.35.0-r29.trigger OK: 368 MiB in 98 packages