Package: src:python-sphinx-code-include Version: 1.1.1-4 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, your package failed to build. Below you will find how the build ends (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202509/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you could not reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:python-sphinx-code-include, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean make: pyversions: No such file or directory py3versions: no X-Python3-Version in control file, using supported versions dh clean --buildsystem=pybuild --with python3,sphinxdoc debian/rules override_dh_auto_clean make[1]: Entering directory '/<<PKGBUILDDIR>>' make[1]: pyversions: No such file or directory py3versions: no X-Python3-Version in control file, using supported versions rm -rf build .stestr src/*.egg-info .pybuild find . -iname '*.pyc' -delete for i in $(find . -type d -iname __pycache__) ; do rm -rf $i ; done make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild [... snipped ...] File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/tests/common.py", line 92, in load_cache return intersphinx.fetch_inventory(MockApplication(), "", path) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/sphinx/ext/intersphinx/_load.py", line 308, in fetch_inventory config=_InvConfig.from_config(app.config), ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/sphinx/ext/intersphinx/_load.py", line 218, in from_config intersphinx_cache_limit=config.intersphinx_cache_limit, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'MockConfiguration' object has no attribute 'intersphinx_cache_limit' ====================================================================== ERROR: test_function (tests.unittests.test_tag.RenderText.test_function) Check that a module's function is read properly. ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/tests/unittests/test_code_include.py", line 391, in test_function self._test(data, content, expected) # pylint: disable=no-value-for-parameter ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/unittest/mock.py", line 1426, in patched return func(*newargs, **newkeywargs) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/tests/unittests/test_code_include.py", line 272, in _test cache = common.load_cache(os.path.join(_CURRENT_DIRECTORY, "fake_project", "objects.inv")) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/code_include/helper.py", line 33, in __call__ return self[args] ~~~~^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/code_include/helper.py", line 36, in __missing__ ret = self[key] = self.function(*key) ~~~~~~~~~~~~~^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/tests/common.py", line 92, in load_cache return intersphinx.fetch_inventory(MockApplication(), "", path) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/sphinx/ext/intersphinx/_load.py", line 308, in fetch_inventory config=_InvConfig.from_config(app.config), ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/sphinx/ext/intersphinx/_load.py", line 218, in from_config intersphinx_cache_limit=config.intersphinx_cache_limit, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'MockConfiguration' object has no attribute 'intersphinx_cache_limit' ====================================================================== ERROR: test_get_from_html (tests.unittests.test_tag.RenderText.test_get_from_html) Check that a basic HTML file can be read. ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/tests/unittests/test_code_include.py", line 310, in test_get_from_html self._test(data, content, expected) # pylint: disable=no-value-for-parameter ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/unittest/mock.py", line 1426, in patched return func(*newargs, **newkeywargs) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/tests/unittests/test_code_include.py", line 272, in _test cache = common.load_cache(os.path.join(_CURRENT_DIRECTORY, "fake_project", "objects.inv")) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/code_include/helper.py", line 33, in __call__ return self[args] ~~~~^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/code_include/helper.py", line 36, in __missing__ ret = self[key] = self.function(*key) ~~~~~~~~~~~~~^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/tests/common.py", line 92, in load_cache return intersphinx.fetch_inventory(MockApplication(), "", path) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/sphinx/ext/intersphinx/_load.py", line 308, in fetch_inventory config=_InvConfig.from_config(app.config), ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/sphinx/ext/intersphinx/_load.py", line 218, in from_config intersphinx_cache_limit=config.intersphinx_cache_limit, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'MockConfiguration' object has no attribute 'intersphinx_cache_limit' ====================================================================== ERROR: test_module (tests.unittests.test_tag.RenderText.test_module) Check that a module is read properly. ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/tests/unittests/test_code_include.py", line 562, in test_module self._test(data, content, expected) # pylint: disable=no-value-for-parameter ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/unittest/mock.py", line 1426, in patched return func(*newargs, **newkeywargs) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/tests/unittests/test_code_include.py", line 272, in _test cache = common.load_cache(os.path.join(_CURRENT_DIRECTORY, "fake_project", "objects.inv")) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/code_include/helper.py", line 33, in __call__ return self[args] ~~~~^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/code_include/helper.py", line 36, in __missing__ ret = self[key] = self.function(*key) ~~~~~~~~~~~~~^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/tests/common.py", line 92, in load_cache return intersphinx.fetch_inventory(MockApplication(), "", path) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/sphinx/ext/intersphinx/_load.py", line 308, in fetch_inventory config=_InvConfig.from_config(app.config), ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/sphinx/ext/intersphinx/_load.py", line 218, in from_config intersphinx_cache_limit=config.intersphinx_cache_limit, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'MockConfiguration' object has no attribute 'intersphinx_cache_limit' ====================================================================== ERROR: test_private_function (tests.unittests.test_tag.RenderText.test_private_function) Check that a module's function is read properly. ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/tests/unittests/test_code_include.py", line 421, in test_private_function self._test(data, content, expected) # pylint: disable=no-value-for-parameter ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/unittest/mock.py", line 1426, in patched return func(*newargs, **newkeywargs) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/tests/unittests/test_code_include.py", line 272, in _test cache = common.load_cache(os.path.join(_CURRENT_DIRECTORY, "fake_project", "objects.inv")) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/code_include/helper.py", line 33, in __call__ return self[args] ~~~~^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/code_include/helper.py", line 36, in __missing__ ret = self[key] = self.function(*key) ~~~~~~~~~~~~~^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/tests/common.py", line 92, in load_cache return intersphinx.fetch_inventory(MockApplication(), "", path) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/sphinx/ext/intersphinx/_load.py", line 308, in fetch_inventory config=_InvConfig.from_config(app.config), ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/sphinx/ext/intersphinx/_load.py", line 218, in from_config intersphinx_cache_limit=config.intersphinx_cache_limit, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'MockConfiguration' object has no attribute 'intersphinx_cache_limit' ====================================================================== ERROR: test_class (tests.unittests.test_tag.RenderTextNested.test_class) Check that a class is read properly. ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/tests/unittests/test_code_include.py", line 643, in test_class self._test(data, content, expected) # pylint: disable=no-value-for-parameter ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/unittest/mock.py", line 1426, in patched return func(*newargs, **newkeywargs) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/tests/unittests/test_code_include.py", line 272, in _test cache = common.load_cache(os.path.join(_CURRENT_DIRECTORY, "fake_project", "objects.inv")) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/code_include/helper.py", line 33, in __call__ return self[args] ~~~~^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/code_include/helper.py", line 36, in __missing__ ret = self[key] = self.function(*key) ~~~~~~~~~~~~~^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/tests/common.py", line 92, in load_cache return intersphinx.fetch_inventory(MockApplication(), "", path) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/sphinx/ext/intersphinx/_load.py", line 308, in fetch_inventory config=_InvConfig.from_config(app.config), ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/sphinx/ext/intersphinx/_load.py", line 218, in from_config intersphinx_cache_limit=config.intersphinx_cache_limit, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'MockConfiguration' object has no attribute 'intersphinx_cache_limit' ====================================================================== ERROR: test_function (tests.unittests.test_tag.RenderTextNested.test_function) Check that a module's function is read properly. ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/tests/unittests/test_code_include.py", line 674, in test_function self._test(data, content, expected) # pylint: disable=no-value-for-parameter ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/unittest/mock.py", line 1426, in patched return func(*newargs, **newkeywargs) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/tests/unittests/test_code_include.py", line 272, in _test cache = common.load_cache(os.path.join(_CURRENT_DIRECTORY, "fake_project", "objects.inv")) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/code_include/helper.py", line 33, in __call__ return self[args] ~~~~^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/code_include/helper.py", line 36, in __missing__ ret = self[key] = self.function(*key) ~~~~~~~~~~~~~^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/tests/common.py", line 92, in load_cache return intersphinx.fetch_inventory(MockApplication(), "", path) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/sphinx/ext/intersphinx/_load.py", line 308, in fetch_inventory config=_InvConfig.from_config(app.config), ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/sphinx/ext/intersphinx/_load.py", line 218, in from_config intersphinx_cache_limit=config.intersphinx_cache_limit, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'MockConfiguration' object has no attribute 'intersphinx_cache_limit' ====================================================================== ERROR: test_get_from_html (tests.unittests.test_tag.RenderTextNested.test_get_from_html) Check that a basic HTML file can be read. ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/tests/unittests/test_code_include.py", line 590, in test_get_from_html self._test(data, content, expected) # pylint: disable=no-value-for-parameter ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/unittest/mock.py", line 1426, in patched return func(*newargs, **newkeywargs) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/tests/unittests/test_code_include.py", line 272, in _test cache = common.load_cache(os.path.join(_CURRENT_DIRECTORY, "fake_project", "objects.inv")) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/code_include/helper.py", line 33, in __call__ return self[args] ~~~~^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/code_include/helper.py", line 36, in __missing__ ret = self[key] = self.function(*key) ~~~~~~~~~~~~~^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/tests/common.py", line 92, in load_cache return intersphinx.fetch_inventory(MockApplication(), "", path) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/sphinx/ext/intersphinx/_load.py", line 308, in fetch_inventory config=_InvConfig.from_config(app.config), ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/sphinx/ext/intersphinx/_load.py", line 218, in from_config intersphinx_cache_limit=config.intersphinx_cache_limit, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'MockConfiguration' object has no attribute 'intersphinx_cache_limit' ====================================================================== ERROR: test_module (tests.unittests.test_tag.RenderTextNested.test_module) Check that a module is read properly. ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/tests/unittests/test_code_include.py", line 848, in test_module self._test(data, content, expected) # pylint: disable=no-value-for-parameter ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/unittest/mock.py", line 1426, in patched return func(*newargs, **newkeywargs) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/tests/unittests/test_code_include.py", line 272, in _test cache = common.load_cache(os.path.join(_CURRENT_DIRECTORY, "fake_project", "objects.inv")) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/code_include/helper.py", line 33, in __call__ return self[args] ~~~~^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/code_include/helper.py", line 36, in __missing__ ret = self[key] = self.function(*key) ~~~~~~~~~~~~~^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/tests/common.py", line 92, in load_cache return intersphinx.fetch_inventory(MockApplication(), "", path) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/sphinx/ext/intersphinx/_load.py", line 308, in fetch_inventory config=_InvConfig.from_config(app.config), ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/sphinx/ext/intersphinx/_load.py", line 218, in from_config intersphinx_cache_limit=config.intersphinx_cache_limit, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'MockConfiguration' object has no attribute 'intersphinx_cache_limit' ====================================================================== ERROR: test_private_function (tests.unittests.test_tag.RenderTextNested.test_private_function) Check that a module's function is read properly. ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/tests/unittests/test_code_include.py", line 705, in test_private_function self._test(data, content, expected) # pylint: disable=no-value-for-parameter ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/unittest/mock.py", line 1426, in patched return func(*newargs, **newkeywargs) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/tests/unittests/test_code_include.py", line 272, in _test cache = common.load_cache(os.path.join(_CURRENT_DIRECTORY, "fake_project", "objects.inv")) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/code_include/helper.py", line 33, in __call__ return self[args] ~~~~^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/code_include/helper.py", line 36, in __missing__ ret = self[key] = self.function(*key) ~~~~~~~~~~~~~^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build/tests/common.py", line 92, in load_cache return intersphinx.fetch_inventory(MockApplication(), "", path) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/sphinx/ext/intersphinx/_load.py", line 308, in fetch_inventory config=_InvConfig.from_config(app.config), ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/sphinx/ext/intersphinx/_load.py", line 218, in from_config intersphinx_cache_limit=config.intersphinx_cache_limit, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'MockConfiguration' object has no attribute 'intersphinx_cache_limit' ---------------------------------------------------------------------- Ran 31 tests in 0.028s FAILED (errors=31) E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-code-include/build; python3.13 -m unittest discover -v dh_auto_test: error: pybuild --test -i python{version} -p 3.13 returned exit code 13 make: *** [debian/rules:9: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

