Your message dated Wed, 1 Oct 2025 18:11:20 +0100
with message-id <[email protected]>
and subject line Re: *diag FTBFS: pytest 8.4 rejects yield tests
has caused the Debian Bug report #1114371,
regarding seqdiag: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i
python{version} -p 3.13 returned exit code 13
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1114371: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1114371
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:seqdiag
Version: 3.0.0+dfsg-3
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:seqdiag, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --buildsystem=pybuild
dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:311: python3.13 setup.py clean
/usr/lib/python3/dist-packages/setuptools/dist.py:599:
SetuptoolsDeprecationWarning: Invalid dash-separated key 'build-base' in
'build' (setup.cfg), please use the underscore name 'build_base' instead.
!!
********************************************************************************
Usage of dash-separated 'build-base' will not be supported in future
versions. Please use the underscore name 'build_base' instead.
By 2026-Mar-03, you need to update your project and remove deprecated
calls
or your builds will no longer be supported.
See
https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for
details.
********************************************************************************
!!
opt = self._enforce_underscore(opt, section)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning:
Unknown distribution option: 'test_suite'
warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/dist.py:599:
SetuptoolsDeprecationWarning: Invalid dash-separated key 'build-base' in
'build' (setup.cfg), please use the underscore name 'build_base' instead.
!!
********************************************************************************
Usage of dash-separated 'build-base' will not be supported in future
versions. Please use the underscore name 'build_base' instead.
(Affected: seqdiag).
By 2026-Mar-03, you need to update your project and remove deprecated
calls
or your builds will no longer be supported.
See
https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for
details.
********************************************************************************
!!
opt = self._enforce_underscore(opt, section)
/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 :: Apache Software License
See
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
for details.
********************************************************************************
!!
self._finalize_license_expression()
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_seqdiag/build' (and
everything under it)
'_build/bdist.linux-x86_64' does not exist -- can't clean it
'_build/scripts-3.13' does not exist -- can't clean it
dh_autoreconf_clean -O--buildsystem=pybuild
dh_clean -O--buildsystem=pybuild
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
I: pybuild base:311: python3.13 setup.py config
/usr/lib/python3/dist-packages/setuptools/dist.py:599:
SetuptoolsDeprecationWarning: Invalid dash-separated key 'build-base' in
'build' (setup.cfg), please use the underscore name 'build_base' instead.
!!
********************************************************************************
Usage of dash-separated 'build-base' will not be supported in future
versions. Please use the underscore name 'build_base' instead.
By 2026-Mar-03, you need to update your project and remove deprecated
calls
or your builds will no longer be supported.
See
https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for
details.
********************************************************************************
!!
opt = self._enforce_underscore(opt, section)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning:
Unknown distribution option: 'test_suite'
warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/dist.py:599:
SetuptoolsDeprecationWarning: Invalid dash-separated key 'build-base' in
'build' (setup.cfg), please use the underscore name 'build_base' instead.
!!
********************************************************************************
Usage of dash-separated 'build-base' will not be supported in future
versions. Please use the underscore name 'build_base' instead.
(Affected: seqdiag).
By 2026-Mar-03, you need to update your project and remove deprecated
calls
or your builds will no longer be supported.
See
https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for
details.
********************************************************************************
!!
opt = self._enforce_underscore(opt, section)
/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 :: Apache Software License
See
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
for details.
********************************************************************************
!!
self._finalize_license_expression()
running config
dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3 setup.py build
/usr/lib/python3/dist-packages/setuptools/dist.py:599:
SetuptoolsDeprecationWarning: Invalid dash-separated key 'build-base' in
'build' (setup.cfg), please use the underscore name 'build_base' instead.
!!
********************************************************************************
Usage of dash-separated 'build-base' will not be supported in future
versions. Please use the underscore name 'build_base' instead.
By 2026-Mar-03, you need to update your project and remove deprecated
calls
or your builds will no longer be supported.
See
https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for
details.
********************************************************************************
!!
opt = self._enforce_underscore(opt, section)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning:
Unknown distribution option: 'test_suite'
warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/dist.py:599:
SetuptoolsDeprecationWarning: Invalid dash-separated key 'build-base' in
'build' (setup.cfg), please use the underscore name 'build_base' instead.
!!
********************************************************************************
Usage of dash-separated 'build-base' will not be supported in future
versions. Please use the underscore name 'build_base' instead.
(Affected: seqdiag).
By 2026-Mar-03, you need to update your project and remove deprecated
calls
or your builds will no longer be supported.
See
https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for
details.
********************************************************************************
!!
opt = self._enforce_underscore(opt, section)
/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 :: Apache Software License
See
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
for details.
********************************************************************************
!!
self._finalize_license_expression()
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_seqdiag/build/seqdiag
copying src/seqdiag/elements.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_seqdiag/build/seqdiag
copying src/seqdiag/command.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_seqdiag/build/seqdiag
copying src/seqdiag/metrics.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_seqdiag/build/seqdiag
copying src/seqdiag/parser.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_seqdiag/build/seqdiag
copying src/seqdiag/builder.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_seqdiag/build/seqdiag
copying src/seqdiag/drawer.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_seqdiag/build/seqdiag
copying src/seqdiag/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_seqdiag/build/seqdiag
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_seqdiag/build/seqdiag/utils
copying src/seqdiag/utils/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_seqdiag/build/seqdiag/utils
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_seqdiag/build/seqdiag/utils/rst
copying src/seqdiag/utils/rst/nodes.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_seqdiag/build/seqdiag/utils/rst
copying src/seqdiag/utils/rst/directives.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_seqdiag/build/seqdiag/utils/rst
copying src/seqdiag/utils/rst/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_seqdiag/build/seqdiag/utils/rst
running egg_info
creating src/seqdiag.egg-info
writing src/seqdiag.egg-info/PKG-INFO
writing dependency_links to src/seqdiag.egg-info/dependency_links.txt
writing entry points to src/seqdiag.egg-info/entry_points.txt
writing requirements to src/seqdiag.egg-info/requires.txt
writing top-level names to src/seqdiag.egg-info/top_level.txt
writing manifest file 'src/seqdiag.egg-info/SOURCES.txt'
reading manifest file 'src/seqdiag.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'src/seqdiag/tests/VLGothic/*'
warning: no files found matching '*.gif' under directory 'src'
warning: no previously-included files found matching '.drone.io.sh'
warning: no previously-included files found matching 'examples/update.sh'
adding license file 'LICENSE'
writing manifest file 'src/seqdiag.egg-info/SOURCES.txt'
/usr/lib/python3/dist-packages/setuptools/command/build_py.py:212: _Warning:
Package 'seqdiag.tests' is absent from the `packages` configuration.
!!
********************************************************************************
############################
# Package would be ignored #
############################
Python recognizes 'seqdiag.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 'seqdiag.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 'seqdiag.tests' to be distributed and are
already explicitly excluding 'seqdiag.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)
/usr/lib/python3/dist-packages/setuptools/command/build_py.py:212: _Warning:
Package 'seqdiag.tests.diagrams' is absent from the `packages` configuration.
!!
********************************************************************************
############################
# Package would be ignored #
############################
Python recognizes 'seqdiag.tests.diagrams' 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 'seqdiag.tests.diagrams' 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 'seqdiag.tests.diagrams' to be distributed and are
already explicitly excluding 'seqdiag.tests.diagrams' 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.13_seqdiag/build/seqdiag/tests
copying src/seqdiag/tests/test_generate_diagram.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_seqdiag/build/seqdiag/tests
copying src/seqdiag/tests/test_rst_directives.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_seqdiag/build/seqdiag/tests
creating
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_seqdiag/build/seqdiag/tests/diagrams
copying src/seqdiag/tests/diagrams/alt_block.diag ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_seqdiag/build/seqdiag/tests/diagrams
copying src/seqdiag/tests/diagrams/altblock.diag ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_seqdiag/build/seqdiag/tests/diagrams
copying src/seqdiag/tests/diagrams/diagram_class.diag ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_seqdiag/build/seqdiag/tests/diagrams
copying src/seqdiag/tests/diagrams/diagram_edge_length.diag ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_seqdiag/build/seqdiag/tests/diagrams
copying src/seqdiag/tests/diagrams/nested_altblock.diag ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_seqdiag/build/seqdiag/tests/diagrams
copying src/seqdiag/tests/diagrams/node_activated.diag ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_seqdiag/build/seqdiag/tests/diagrams
copying src/seqdiag/tests/diagrams/node_fontsize.diag ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_seqdiag/build/seqdiag/tests/diagrams
copying src/seqdiag/tests/diagrams/node_notes.diag ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_seqdiag/build/seqdiag/tests/diagrams
copying src/seqdiag/tests/diagrams/plugin_autoclass.diag ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_seqdiag/build/seqdiag/tests/diagrams
copying src/seqdiag/tests/diagrams/separators.diag ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_seqdiag/build/seqdiag/tests/diagrams
copying src/seqdiag/tests/diagrams/separators_in_subedge.diag ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_seqdiag/build/seqdiag/tests/diagrams
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_seqdiag/build;
python3.13 -m pytest
============================= test session starts ==============================
platform linux -- Python 3.13.7, pytest-8.4.1, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>
plugins: typeguard-4.4.4
collected 44 items / 1 error
==================================== ERRORS ====================================
_ ERROR collecting
.pybuild/cpython3_3.13_seqdiag/build/seqdiag/tests/test_generate_diagram.py _
'yield' keyword is allowed in fixtures, but not in tests (testcase_generator)
=============================== warnings summary ===============================
../../../../../../usr/lib/python3/dist-packages/blockdiag/noderenderer/__init__.py:18
/usr/lib/python3/dist-packages/blockdiag/noderenderer/__init__.py:18:
DeprecationWarning: pkg_resources is deprecated as an API. See
https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
ERROR seqdiag/tests/test_generate_diagram.py - Failed: 'yield' keyword is all...
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
========================= 1 warning, 1 error in 0.16s ==========================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=2: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_seqdiag/build; python3.13 -m pytest
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13
returned exit code 13
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
--- End Message ---
--- Begin Message ---
Now fixed.
--- End Message ---