Package: src:python-repoze.sphinx.autointerface Version: 1.0.0-1 Severity: serious Tags: ftbfs
Dear maintainer: During a rebuild of all packages in unstable, your package failed to build: -------------------------------------------------------------------------------- [...] debian/rules binary dh binary --with python3 --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild I: pybuild base:310: python3.12 setup.py config /usr/lib/python3/dist-packages/setuptools/dist.py:946: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated. !! ******************************************************************************** Please replace its usage with implicit namespaces (PEP 420). See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages for details. ******************************************************************************** !! ep.load()(self, ep.name, value) running config I: pybuild base:310: python3.11 setup.py config /usr/lib/python3/dist-packages/setuptools/dist.py:946: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated. !! ******************************************************************************** Please replace its usage with implicit namespaces (PEP 420). See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages for details. ******************************************************************************** !! ep.load()(self, ep.name, value) running config dh_auto_build -O--buildsystem=pybuild I: pybuild base:310: /usr/bin/python3.12 setup.py build /usr/lib/python3/dist-packages/setuptools/dist.py:946: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated. !! ******************************************************************************** Please replace its usage with implicit namespaces (PEP 420). See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages for details. ******************************************************************************** !! ep.load()(self, ep.name, value) running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_repoze.sphinx.autointerface/build/repoze copying repoze/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_repoze.sphinx.autointerface/build/repoze creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_repoze.sphinx.autointerface/build/repoze/sphinx copying repoze/sphinx/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_repoze.sphinx.autointerface/build/repoze/sphinx copying repoze/sphinx/autointerface.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_repoze.sphinx.autointerface/build/repoze/sphinx creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_repoze.sphinx.autointerface/build/repoze/sphinx/tests copying repoze/sphinx/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_repoze.sphinx.autointerface/build/repoze/sphinx/tests copying repoze/sphinx/tests/test_autointerface.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_repoze.sphinx.autointerface/build/repoze/sphinx/tests copying repoze/sphinx/tests/util.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_repoze.sphinx.autointerface/build/repoze/sphinx/tests running egg_info creating repoze.sphinx.autointerface.egg-info writing repoze.sphinx.autointerface.egg-info/PKG-INFO writing dependency_links to repoze.sphinx.autointerface.egg-info/dependency_links.txt writing namespace_packages to repoze.sphinx.autointerface.egg-info/namespace_packages.txt writing requirements to repoze.sphinx.autointerface.egg-info/requires.txt writing top-level names to repoze.sphinx.autointerface.egg-info/top_level.txt writing manifest file 'repoze.sphinx.autointerface.egg-info/SOURCES.txt' reading manifest file 'repoze.sphinx.autointerface.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '.travis.yml' warning: no directories found matching '.github' warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.py[cod]' found anywhere in distribution warning: no previously-included files matching '.DS_Store' found anywhere in distribution adding license file 'LICENSE.txt' writing manifest file 'repoze.sphinx.autointerface.egg-info/SOURCES.txt' /usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: _Warning: Package 'repoze.sphinx.tests.root' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'repoze.sphinx.tests.root' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'repoze.sphinx.tests.root' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'repoze.sphinx.tests.root' to be distributed and are already explicitly excluding 'repoze.sphinx.tests.root' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_repoze.sphinx.autointerface/build/repoze/sphinx/tests/root copying repoze/sphinx/tests/root/conf.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_repoze.sphinx.autointerface/build/repoze/sphinx/tests/root I: pybuild base:310: /usr/bin/python3 setup.py build /usr/lib/python3/dist-packages/setuptools/dist.py:946: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated. !! ******************************************************************************** Please replace its usage with implicit namespaces (PEP 420). See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages for details. ******************************************************************************** !! ep.load()(self, ep.name, value) running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_repoze.sphinx.autointerface/build/repoze copying repoze/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_repoze.sphinx.autointerface/build/repoze creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_repoze.sphinx.autointerface/build/repoze/sphinx copying repoze/sphinx/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_repoze.sphinx.autointerface/build/repoze/sphinx copying repoze/sphinx/autointerface.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_repoze.sphinx.autointerface/build/repoze/sphinx creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_repoze.sphinx.autointerface/build/repoze/sphinx/tests copying repoze/sphinx/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_repoze.sphinx.autointerface/build/repoze/sphinx/tests copying repoze/sphinx/tests/test_autointerface.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_repoze.sphinx.autointerface/build/repoze/sphinx/tests copying repoze/sphinx/tests/util.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_repoze.sphinx.autointerface/build/repoze/sphinx/tests running egg_info writing repoze.sphinx.autointerface.egg-info/PKG-INFO writing dependency_links to repoze.sphinx.autointerface.egg-info/dependency_links.txt writing namespace_packages to repoze.sphinx.autointerface.egg-info/namespace_packages.txt writing requirements to repoze.sphinx.autointerface.egg-info/requires.txt writing top-level names to repoze.sphinx.autointerface.egg-info/top_level.txt reading manifest file 'repoze.sphinx.autointerface.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '.travis.yml' warning: no directories found matching '.github' warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.py[cod]' found anywhere in distribution warning: no previously-included files matching '.DS_Store' found anywhere in distribution adding license file 'LICENSE.txt' writing manifest file 'repoze.sphinx.autointerface.egg-info/SOURCES.txt' /usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: _Warning: Package 'repoze.sphinx.tests.root' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'repoze.sphinx.tests.root' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'repoze.sphinx.tests.root' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'repoze.sphinx.tests.root' to be distributed and are already explicitly excluding 'repoze.sphinx.tests.root' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_repoze.sphinx.autointerface/build/repoze/sphinx/tests/root copying repoze/sphinx/tests/root/conf.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_repoze.sphinx.autointerface/build/repoze/sphinx/tests/root dh_auto_test -O--buildsystem=pybuild I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_repoze.sphinx.autointerface/build; python3.12 -m unittest discover -v test_all_members (repoze.sphinx.tests.test_autointerface.TestAutoInterface.test_all_members) ... ERROR test_restricted_members (repoze.sphinx.tests.test_autointerface.TestAutoInterface.test_restricted_members) ... ERROR ====================================================================== ERROR: test_all_members (repoze.sphinx.tests.test_autointerface.TestAutoInterface.test_all_members) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_repoze.sphinx.autointerface/build/repoze/sphinx/tests/test_autointerface.py", line 118, in test_all_members all_results = self.assertResultContains(' .. method:: smoothTheDinglebop(schleem)') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_repoze.sphinx.autointerface/build/repoze/sphinx/tests/test_autointerface.py", line 103, in assertResultContains inst.generate(**kw) File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/__init__.py", line 1898, in generate return super().generate(more_content=more_content, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/__init__.py", line 952, in generate self.add_directive_header(sig) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_repoze.sphinx.autointerface/build/repoze/sphinx/autointerface.py", line 35, in add_directive_header autodoc.Documenter.add_directive_header(self, sig) File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/__init__.py", line 536, in add_directive_header if self.options.no_index or self.options.noindex: ^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Options' object has no attribute 'no_index'. Did you mean: 'noindex'? ====================================================================== ERROR: test_restricted_members (repoze.sphinx.tests.test_autointerface.TestAutoInterface.test_restricted_members) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_repoze.sphinx.autointerface/build/repoze/sphinx/tests/test_autointerface.py", line 113, in test_restricted_members all_results = self.assertResultContains(' .. method:: smoothTheDinglebop(schleem)') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_repoze.sphinx.autointerface/build/repoze/sphinx/tests/test_autointerface.py", line 103, in assertResultContains inst.generate(**kw) File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/__init__.py", line 1898, in generate return super().generate(more_content=more_content, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/__init__.py", line 952, in generate self.add_directive_header(sig) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_repoze.sphinx.autointerface/build/repoze/sphinx/autointerface.py", line 35, in add_directive_header autodoc.Documenter.add_directive_header(self, sig) File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/__init__.py", line 536, in add_directive_header if self.options.no_index or self.options.noindex: ^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Options' object has no attribute 'no_index'. Did you mean: 'noindex'? ---------------------------------------------------------------------- Ran 2 tests in 0.126s FAILED (errors=2) E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_repoze.sphinx.autointerface/build; python3.12 -m unittest discover -v I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_repoze.sphinx.autointerface/build; python3.11 -m unittest discover -v test_all_members (repoze.sphinx.tests.test_autointerface.TestAutoInterface.test_all_members) ... ERROR test_restricted_members (repoze.sphinx.tests.test_autointerface.TestAutoInterface.test_restricted_members) ... ERROR ====================================================================== ERROR: test_all_members (repoze.sphinx.tests.test_autointerface.TestAutoInterface.test_all_members) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_repoze.sphinx.autointerface/build/repoze/sphinx/tests/test_autointerface.py", line 118, in test_all_members all_results = self.assertResultContains(' .. method:: smoothTheDinglebop(schleem)') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_repoze.sphinx.autointerface/build/repoze/sphinx/tests/test_autointerface.py", line 103, in assertResultContains inst.generate(**kw) File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/__init__.py", line 1898, in generate return super().generate(more_content=more_content, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/__init__.py", line 952, in generate self.add_directive_header(sig) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_repoze.sphinx.autointerface/build/repoze/sphinx/autointerface.py", line 35, in add_directive_header autodoc.Documenter.add_directive_header(self, sig) File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/__init__.py", line 536, in add_directive_header if self.options.no_index or self.options.noindex: ^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Options' object has no attribute 'no_index' ====================================================================== ERROR: test_restricted_members (repoze.sphinx.tests.test_autointerface.TestAutoInterface.test_restricted_members) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_repoze.sphinx.autointerface/build/repoze/sphinx/tests/test_autointerface.py", line 113, in test_restricted_members all_results = self.assertResultContains(' .. method:: smoothTheDinglebop(schleem)') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_repoze.sphinx.autointerface/build/repoze/sphinx/tests/test_autointerface.py", line 103, in assertResultContains inst.generate(**kw) File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/__init__.py", line 1898, in generate return super().generate(more_content=more_content, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/__init__.py", line 952, in generate self.add_directive_header(sig) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_repoze.sphinx.autointerface/build/repoze/sphinx/autointerface.py", line 35, in add_directive_header autodoc.Documenter.add_directive_header(self, sig) File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/__init__.py", line 536, in add_directive_header if self.options.no_index or self.options.noindex: ^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Options' object has no attribute 'no_index' ---------------------------------------------------------------------- Ran 2 tests in 0.122s FAILED (errors=2) E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_repoze.sphinx.autointerface/build; python3.11 -m unittest discover -v dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.11" returned exit code 13 make: *** [debian/rules:7: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- The above is just how the build ends and not necessarily the most relevant part. If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202312/ About the archive rebuild: The build was made using virtual machines from AWS, with enough memory, enough disk, and either one or two CPUs, using 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 affects, so that this is still visible in the BTS web page for this package. Thanks.