Dear maintainer(s),
[This issue is blocking src:linux from migrating (via src:alabaster),
hence I file it already.]
With a recent upload of flit the autopkgtest of dh-python fails in
testing when that autopkgtest is run with the binary packages of flit
from unstable. It passes when run with only packages from testing. In
tabular form:
pass fail
flit from testing 4.1.0-4
dh-python from testing 7.20260623
all others from testing from testing
I copied some of the output at the bottom of this report.
Currently this regression is blocking the migration of flit to testing
[1]. Due to the nature of this issue, I filed this bug report against
both packages. Can you please investigate the situation and reassign the
bug to the right package?
More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation
Paul
[1] https://qa.debian.org/excuses.php?package=flit
https://ci.debian.net/data/autopkgtest/testing/amd64/d/dh-python/76250697/log.gz
269s dh_clean
269s make[2]: Leaving directory
'/tmp/autopkgtest.91hYRY/autopkgtest_tmp/tests/tpb02'
269s debian/rules binary
269s make[2]: Entering directory
'/tmp/autopkgtest.91hYRY/autopkgtest_tmp/tests/tpb02'
269s dh binary
269s dh_update_autotools_config
269s dh_autoreconf
269s dh_auto_configure
269s debian/rules override_dh_auto_build
269s make[3]: Entering directory
'/tmp/autopkgtest.91hYRY/autopkgtest_tmp/tests/tpb02'
269s pybuild --build --verbose
269s D: pybuild pybuild:580: version: 7.20260623
269s D: pybuild pybuild:581: ['/usr/bin/pybuild', '--build', '--verbose']
269s D: pybuild pybuild:54: cfg: PybuildOptions(verbose=True,
quiet=False, really_quiet=False, detect_only=False, clean_only=False,
configure_only=False, build_only=True, install_only=False,
test_only=False, autopkgtest_only=False, list_systems=False,
print_args=[], before_clean=None, clean_args=None, after_clean=None,
before_configure=None, configure_args=None, after_configure=None,
before_build=None, build_args=None, after_build=None,
before_install=None, install_args=None, after_install=None,
before_test=None, test_args=None, after_test=None, test_nose=False,
test_nose2=False, test_pytest=False, test_tox=False, test_stestr=False,
test_unittest=False, test_custom=False,
dir='/tmp/autopkgtest.91hYRY/autopkgtest_tmp/tests/tpb02', destdir=None,
ext_destdir=None, ext_pattern='\\.so(\\.[^/]*)?$', ext_sub_pattern=None,
ext_sub_repl=None, install_dir='/usr/lib/python{version}/dist-packages',
name='foo', system=None, versions=[], interpreter=['python{version}'],
disable=None, parallel=1, custom_tests=False)
269s D: pybuild tools:297: invoking: /usr/bin/dpkg-architecture
269s D: pybuild debhelper:229: source=foo, binary packages=['python3-foo']
269s D: pybuild pybuild:174: detected build system: pyproject
(certainty: 99%)
269s D: pybuild pybuild:198: defaulting to all supported Python 3.X versions
269s I: pybuild plugin_pyproject:142: Building wheel for python3.14 with
"build" module
269s I: pybuild base:385: python3.14 -m build --skip-dependency-check
--no-isolation --wheel --outdir
/tmp/autopkgtest.91hYRY/autopkgtest_tmp/tests/tpb02/.pybuild/cpython3_3.14_foo
269s D: pybuild tools:297: invoking: python3.14 -m build
--skip-dependency-check --no-isolation --wheel --outdir
/tmp/autopkgtest.91hYRY/autopkgtest_tmp/tests/tpb02/.pybuild/cpython3_3.14_foo
270s * Building wheel...
270s Traceback (most recent call last):
270s File
"/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py",
line 389, in <module>
270s main()
270s ~~~~^^
270s File
"/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py",
line 373, in main
270s json_out["return_val"] = hook(**hook_input["kwargs"])
270s ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
270s File
"/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py",
line 280, in build_wheel
270s return _build_backend().build_wheel(
270s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
270s wheel_directory, config_settings, metadata_directory
270s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
270s )
270s ^
270s File "/usr/lib/python3/dist-packages/flit_core/buildapi.py", line
74, in build_wheel
270s info = make_wheel_in(pyproj_toml, Path(wheel_directory))
270s File "/usr/lib/python3/dist-packages/flit_core/wheel.py", line
222, in make_wheel_in
270s wb = WheelBuilder.from_ini_path(ini_path, fp)
270s File "/usr/lib/python3/dist-packages/flit_core/wheel.py", line
86, in from_ini_path
270s ini_info = read_flit_config(ini_path)
270s File "/usr/lib/python3/dist-packages/flit_core/config.py", line
75, in read_flit_config
270s return prep_toml_config(d, path)
270s File "/usr/lib/python3/dist-packages/flit_core/config.py", line
91, in prep_toml_config
270s raise ConfigError(
270s ...<3 lines>...
270s )
270s flit_core.config.ConfigError: The [tool.flit.metadata] table is no
longer supported. Switch to the standard [project] table or require
flit_core<4 to build this package.
270s TIP pass --env-dir and --sdist-extract-dir to keep the build
environment and sources, then see
https://build.pypa.io/en/stable/how-to/troubleshooting.html#debug-a-failed-build
for help debugging a failed build
270s ERROR Backend subprocess exited when trying to invoke build_wheel
270s 270s E: pybuild pybuild:485: build: plugin pyproject failed with:
exit code=1: python3.14 -m build --skip-dependency-check --no-isolation
--wheel --outdir
/tmp/autopkgtest.91hYRY/autopkgtest_tmp/tests/tpb02/.pybuild/cpython3_3.14_foo
270s Traceback (most recent call last):
270s File "/usr/bin/pybuild", line 483, in main
270s run(func, i, version, c)
270s ~~~^^^^^^^^^^^^^^^^^^^^^
270s File "/usr/bin/pybuild", line 407, in run
270s func(context, args)
270s ~~~~^^^^^^^^^^^^^^^
270s File "/usr/share/dh-python/dhpython/build/plugin_pyproject.py",
line 116, in build
270s self.build_wheel(context, args)
270s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
270s File "/usr/share/dh-python/dhpython/build/base.py", line 446, in
wrapped_func
270s raise Exception(msg)
270s Exception: exit code=1: python3.14 -m build --skip-dependency-check
--no-isolation --wheel --outdir
/tmp/autopkgtest.91hYRY/autopkgtest_tmp/tests/tpb02/.pybuild/cpython3_3.14_foo
270s make[3]: *** [debian/rules:9: override_dh_auto_build] Error 13
270s make[3]: Leaving directory
'/tmp/autopkgtest.91hYRY/autopkgtest_tmp/tests/tpb02'
270s make[2]: *** [debian/rules:6: binary] Error 2
270s make[2]: Leaving directory
'/tmp/autopkgtest.91hYRY/autopkgtest_tmp/tests/tpb02'
270s dpkg-buildpackage: error: debian/rules binary subprocess failed
with exit status 2
270s make[1]: *** [../common.mk:14: run] Error 2
270s make: *** [Makefile:10: testpb02] Error 2
270s make[1]: Leaving directory
'/tmp/autopkgtest.91hYRY/autopkgtest_tmp/tests/tpb02'
270s autopkgtest [04:57:37]: test pybuild