Bug#1115803: zope.hookable: FTBFS: dh_auto_test: error: pybuild --test -i python{version} -p 3.13 returned exit code 13
Source: zope.hookable
Version: 8.0-1
Severity: serious
Justification: FTBFS
Tags: forky sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20250919 ftbfs-forky
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
The full build log is available from:
http://qa-logs.debian.net/2025/09/19/zope.hookable_8.0-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250919;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250919&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
--
Relevant part of the build log (hopefully):
> debian/rules binary
> dh binary --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 /build/reproducible-path/zope.hookable-8.0/.pybuild/cpython3_3.13_zope.hookable
> * Building wheel...
> /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
> !!
>
> ********************************************************************************
> Please consider removing the following classifiers in favor of a SPDX license expression:
>
> License :: OSI Approved :: Zope Public License
>
> See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
> ********************************************************************************
>
> !!
> self._finalize_license_expression()
> running bdist_wheel
> running build
> running build_py
> creating build/lib.linux-x86_64-cpython-313/zope/hookable
> copying src/zope/hookable/__init__.py -> build/lib.linux-x86_64-cpython-313/zope/hookable
> running egg_info
> creating src/zope.hookable.egg-info
> writing src/zope.hookable.egg-info/PKG-INFO
> writing dependency_links to src/zope.hookable.egg-info/dependency_links.txt
> writing requirements to src/zope.hookable.egg-info/requires.txt
> writing top-level names to src/zope.hookable.egg-info/top_level.txt
> writing manifest file 'src/zope.hookable.egg-info/SOURCES.txt'
> reading manifest file 'src/zope.hookable.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE.txt'
> writing manifest file 'src/zope.hookable.egg-info/SOURCES.txt'
> /usr/lib/python3/dist-packages/setuptools/command/build_py.py:212: _Warning: Package 'zope.hookable.tests' is absent from the `packages` configuration.
> !!
>
> ********************************************************************************
> ############################
> # Package would be ignored #
> ############################
> Python recognizes 'zope.hookable.tests' 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 'zope.hookable.tests' 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 'zope.hookable.tests' to be distributed and are
> already explicitly excluding 'zope.hookable.tests' 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)
> copying src/zope/hookable/_zope_hookable.c -> build/lib.linux-x86_64-cpython-313/zope/hookable
> creating build/lib.linux-x86_64-cpython-313/zope/hookable/tests
> copying src/zope/hookable/tests/__init__.py -> build/lib.linux-x86_64-cpython-313/zope/hookable/tests
> copying src/zope/hookable/tests/test_compile_flags.py -> build/lib.linux-x86_64-cpython-313/zope/hookable/tests
> copying src/zope/hookable/tests/test_hookable.py -> build/lib.linux-x86_64-cpython-313/zope/hookable/tests
> running build_ext
> building 'zope.hookable._zope_hookable' extension
> creating build/temp.linux-x86_64-cpython-313/src/zope/hookable
> x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/zope.hookable-8.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.13 -c src/zope/hookable/_zope_hookable.c -o build/temp.linux-x86_64-cpython-313/src/zope/hookable/_zope_hookable.o
> x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/zope.hookable-8.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-cpython-313/src/zope/hookable/_zope_hookable.o -L/usr/lib/x86_64-linux-gnu -o build/lib.linux-x86_64-cpython-313/zope/hookable/_zope_hookable.cpython-313-x86_64-linux-gnu.so
> installing to build/bdist.linux-x86_64/wheel
> running install
> running install_lib
> creating build/bdist.linux-x86_64/wheel
> creating build/bdist.linux-x86_64/wheel/zope
> creating build/bdist.linux-x86_64/wheel/zope/hookable
> copying build/lib.linux-x86_64-cpython-313/zope/hookable/__init__.py -> build/bdist.linux-x86_64/wheel/./zope/hookable
> creating build/bdist.linux-x86_64/wheel/zope/hookable/tests
> copying build/lib.linux-x86_64-cpython-313/zope/hookable/tests/__init__.py -> build/bdist.linux-x86_64/wheel/./zope/hookable/tests
> copying build/lib.linux-x86_64-cpython-313/zope/hookable/tests/test_compile_flags.py -> build/bdist.linux-x86_64/wheel/./zope/hookable/tests
> copying build/lib.linux-x86_64-cpython-313/zope/hookable/tests/test_hookable.py -> build/bdist.linux-x86_64/wheel/./zope/hookable/tests
> copying build/lib.linux-x86_64-cpython-313/zope/hookable/_zope_hookable.c -> build/bdist.linux-x86_64/wheel/./zope/hookable
> copying build/lib.linux-x86_64-cpython-313/zope/hookable/_zope_hookable.cpython-313-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel/./zope/hookable
> running install_egg_info
> Copying src/zope.hookable.egg-info to build/bdist.linux-x86_64/wheel/./zope.hookable-8.0.egg-info
> running install_scripts
> creating build/bdist.linux-x86_64/wheel/zope_hookable-8.0.dist-info/WHEEL
> creating '/build/reproducible-path/zope.hookable-8.0/.pybuild/cpython3_3.13_zope.hookable/.tmp-48s0eb61/zope_hookable-8.0-cp313-cp313-linux_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
> adding 'zope/hookable/__init__.py'
> adding 'zope/hookable/_zope_hookable.c'
> adding 'zope/hookable/_zope_hookable.cpython-313-x86_64-linux-gnu.so'
> adding 'zope/hookable/tests/__init__.py'
> adding 'zope/hookable/tests/test_compile_flags.py'
> adding 'zope/hookable/tests/test_hookable.py'
> adding 'zope_hookable-8.0.dist-info/licenses/LICENSE.txt'
> adding 'zope_hookable-8.0.dist-info/METADATA'
> adding 'zope_hookable-8.0.dist-info/WHEEL'
> adding 'zope_hookable-8.0.dist-info/top_level.txt'
> adding 'zope_hookable-8.0.dist-info/RECORD'
> removing build/bdist.linux-x86_64/wheel
> Successfully built zope_hookable-8.0-cp313-cp313-linux_x86_64.whl
> I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with "installer" module
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild pybuild:308: touch /build/reproducible-path/zope.hookable-8.0/.pybuild/cpython3_3.13_zope.hookable/build/zope/__init__.py
> I: pybuild base:311: cd /build/reproducible-path/zope.hookable-8.0/.pybuild/cpython3_3.13_zope.hookable/build; PYTHONPATH=. python3.13 -m zope.testrunner --test-path . --package zope.hookable -vv
> /usr/bin/python3.13: No module named zope.testrunner
> E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /build/reproducible-path/zope.hookable-8.0/.pybuild/cpython3_3.13_zope.hookable/build; PYTHONPATH=. {interpreter} -m zope.testrunner --test-path . --package zope.hookable -vv
> dh_auto_test: error: pybuild --test -i python{version} -p 3.13 returned exit code 13
Reply to: