Package: src:python-repoze.sphinx.autointerface
Version: 1.0.0-2
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-repoze.sphinx.autointerface, so that 
this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean  --with python3 --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 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
   dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" 
module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation 
--wheel --outdir 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_repoze.sphinx.autointerface  
* Building wheel...
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: 
Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/dist.py:806: 
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 bdist_wheel
running build
running build_py
creating build/lib/repoze
copying repoze/__init__.py -> build/lib/repoze
creating build/lib/repoze/sphinx
copying repoze/sphinx/autointerface.py -> build/lib/repoze/sphinx
copying repoze/sphinx/__init__.py -> build/lib/repoze/sphinx
creating build/lib/repoze/sphinx/tests
copying repoze/sphinx/tests/test_autointerface.py -> 
build/lib/repoze/sphinx/tests
copying repoze/sphinx/tests/util.py -> build/lib/repoze/sphinx/tests
copying repoze/sphinx/tests/__init__.py -> build/lib/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:212: _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 build/lib/repoze/sphinx/tests/root
copying repoze/sphinx/tests/root/conf.py -> build/lib/repoze/sphinx/tests/root
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
Skipping installation of build/bdist.linux-x86_64/wheel/./repoze/__init__.py 
(namespace package)
copying repoze/sphinx/autointerface.py -> 
build/bdist.linux-x86_64/wheel/./repoze/sphinx
Skipping installation of 
build/bdist.linux-x86_64/wheel/./repoze/sphinx/__init__.py (namespace package)
copying repoze/sphinx/tests/test_autointerface.py -> 
build/bdist.linux-x86_64/wheel/./repoze/sphinx/tests
copying repoze/sphinx/tests/util.py -> 
build/bdist.linux-x86_64/wheel/./repoze/sphinx/tests
copying repoze/sphinx/tests/__init__.py -> 
build/bdist.linux-x86_64/wheel/./repoze/sphinx/tests
copying repoze/sphinx/tests/root/conf.py -> 
build/bdist.linux-x86_64/wheel/./repoze/sphinx/tests/root
running install_egg_info
Copying repoze.sphinx.autointerface.egg-info to 
build/bdist.linux-x86_64/wheel/./repoze.sphinx.autointerface-1.0.0.egg-info
Installing 
build/bdist.linux-x86_64/wheel/./repoze.sphinx.autointerface-1.0.0-nspkg.pth
running install_scripts
creating 
build/bdist.linux-x86_64/wheel/repoze_sphinx_autointerface-1.0.0.dist-info/WHEEL
creating 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_repoze.sphinx.autointerface/.tmp-6bmznwgm/repoze_sphinx_autointerface-1.0.0-py3-none-any.whl'
 and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'repoze.sphinx.autointerface-1.0.0-nspkg.pth'
adding 'repoze/sphinx/autointerface.py'
adding 'repoze/sphinx/tests/__init__.py'
adding 'repoze/sphinx/tests/test_autointerface.py'
adding 'repoze/sphinx/tests/util.py'
adding 'repoze/sphinx/tests/root/conf.py'
adding 'repoze_sphinx_autointerface-1.0.0.dist-info/licenses/LICENSE.txt'
adding 'repoze_sphinx_autointerface-1.0.0.dist-info/METADATA'
adding 'repoze_sphinx_autointerface-1.0.0.dist-info/WHEEL'
adding 'repoze_sphinx_autointerface-1.0.0.dist-info/namespace_packages.txt'
adding 'repoze_sphinx_autointerface-1.0.0.dist-info/top_level.txt'
adding 'repoze_sphinx_autointerface-1.0.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built repoze_sphinx_autointerface-1.0.0-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with 
"installer" module
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_repoze.sphinx.autointerface/build; 
python3.13 -m unittest discover -v -s repoze/sphinx/tests -t .
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.13_repoze.sphinx.autointerface/build/repoze/sphinx/tests/test_autointerface.py",
 line 119, in test_all_members
    all_results = self.assertResultContains('   .. method:: 
smoothTheDinglebop(schleem)')
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_repoze.sphinx.autointerface/build/repoze/sphinx/tests/test_autointerface.py",
 line 104, in assertResultContains
    inst.generate(**kw)
    ~~~~~~~~~~~~~^^^^^^
  File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/__init__.py", line 
2133, in generate
    return super().generate(
           ~~~~~~~~~~~~~~~~^
        more_content=more_content,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^
        check_module=check_module,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^
        all_members=all_members,
        ^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/__init__.py", line 
1034, in generate
    self._generate(more_content, real_modname, check_module, all_members)
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/__init__.py", line 
1111, in _generate
    self.add_directive_header(sig)
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_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 
619, in add_directive_header
    if self.options.no_index_entry:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Options' object has no attribute 'no_index_entry'

======================================================================
ERROR: test_restricted_members 
(repoze.sphinx.tests.test_autointerface.TestAutoInterface.test_restricted_members)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_repoze.sphinx.autointerface/build/repoze/sphinx/tests/test_autointerface.py",
 line 114, in test_restricted_members
    all_results = self.assertResultContains('   .. method:: 
smoothTheDinglebop(schleem)')
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_repoze.sphinx.autointerface/build/repoze/sphinx/tests/test_autointerface.py",
 line 104, in assertResultContains
    inst.generate(**kw)
    ~~~~~~~~~~~~~^^^^^^
  File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/__init__.py", line 
2133, in generate
    return super().generate(
           ~~~~~~~~~~~~~~~~^
        more_content=more_content,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^
        check_module=check_module,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^
        all_members=all_members,
        ^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/__init__.py", line 
1034, in generate
    self._generate(more_content, real_modname, check_module, all_members)
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/__init__.py", line 
1111, in _generate
    self.add_directive_header(sig)
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_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 
619, in add_directive_header
    if self.options.no_index_entry:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Options' object has no attribute 'no_index_entry'

----------------------------------------------------------------------
Ran 2 tests in 0.133s

FAILED (errors=2)
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_repoze.sphinx.autointerface/build; 
python3.13 -m unittest discover -v -s repoze/sphinx/tests -t .
dh_auto_test: error: pybuild --test -i python{version} -p 3.13 returned exit 
code 13
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to