#1148893 dh-python: autopkgtest fail with new python3-flit in unstable

Package:
dh-python
Source:
dh-python
Submitter:
Alexandre Detiste
Date:
2026-10-19 20:39:03 UTC
Severity:
normal
Tags:
#1148893#5
Date:
2026-09-24 18:32:26 UTC
From:
To:
Dear dh-python Maintainers,

The tests need some tweaking to play along with the new src:flit release

Greetings

Alexandre


316s     )
316s 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.
316s 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
316s ERROR Backend subprocess exited when trying to invoke build_wheel
316s
316s 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.38A9J3/autopkgtest_tmp/tests/tpb02/.pybuild/cpython3_3.14_foo
316s Traceback (most recent call last):
316s   File "/usr/bin/pybuild", line 483, in main
316s     run(func, i, version, c)
316s     ~~~^^^^^^^^^^^^^^^^^^^^^
316s   File "/usr/bin/pybuild", line 407, in run
316s     func(context, args)
316s     ~~~~^^^^^^^^^^^^^^^
316s   File "/usr/share/dh-python/dhpython/build/plugin_pyproject.py", line 116, in build
316s     self.build_wheel(context, args)
316s     ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
316s   File "/usr/share/dh-python/dhpython/build/base.py", line 446, in wrapped_func
316s     raise Exception(msg)
316s Exception: exit code=1: python3.14 -m build --skip-dependency-check --no-isolation --wheel --

#1148893#14
Date:
2026-09-27 15:36:18 UTC
From:
To:
Hello,

Bug #1148893 in dh-python reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/python-team/tools/dh-python/-/commit/034b6087a4b00d5afdbc1cbf6f5d52c3543afdb4
------------------------------------------------------------------------
autopkgtest: update tpb02 scenario for Flit 4 (Closes: #1148893)
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1148893

#1148893#23
Date:
2026-10-19 20:36:30 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
dh-python, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1148893@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stefano Rivera <stefanor@debian.org> (supplier of updated dh-python package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 19 Oct 2026 19:12:55 +0200
Source: dh-python
Architecture: source
Version: 7.20261019
Distribution: unstable
Urgency: medium
Maintainer: Piotr Ożarowski <piotr@debian.org>
Changed-By: Stefano Rivera <stefanor@debian.org>
Closes: 1148887 1148893
Changes:
 dh-python (7.20261019) unstable; urgency=medium
 .
   [ Maximiliano Curia ]
   * Replace deprecated glob.glob1 with glob.glob(root_dir=...)
   * Fix minor version extraction from SOABI tag in Interpreter.check_extname
   * Add test cases for Python 3.15 in test_interpreter and test_fs
 .
   [ Alexandre Detiste ]
   * Suggests python3-flit instead of flit: (Closes: #1148887)
   * autopkgtest: replace flit dependency with python3-flit (Close: #1148888)
   * autopkgtest: update tpb02 scenario for Flit 4 (Closes: #1148893)
   * drop leftover python3-nose support
 .
   [ Benjamin Drung ]
   * Make (native) versions PEP440 compliant
 .
   [ Stefano Rivera ]
   * Ignore the pep517 to pyproject rename in blame
   * dh_python3: Throw an error if a package ships a public module that's
     probably a build directory
   * Only keep entry_points.txt from the default Python version
   * dh_python3: Abort if we were unable to merge dist-packages directories
Checksums-Sha1:
 77a9500266c0b8f0601f5332841c4e65c5560d96 1727 dh-python_7.20261019.dsc
 0faa2d1c50d4f38c095677568f84edc798bb4174 139900 dh-python_7.20261019.tar.xz
 9485f16a1a70cfbb3d7dbbbd046db2567ccb44e1 6527 dh-python_7.20261019_source.buildinfo
Checksums-Sha256:
 3dc90457a101bf5c31a1303dd501eddf18acc115b886051d65b5d564049a1d33 1727 dh-python_7.20261019.dsc
 ad0ff9bff1a95ad326ae09dddf5d3e01e35ab1e2264b3107a4a88c3f1ecfe906 139900 dh-python_7.20261019.tar.xz
 72b2ccd0822538c20a8eb1f6b68b55cdcb73f2f76d4c66c3d241b9fa27d2b9ee 6527 dh-python_7.20261019_source.buildinfo
Files:
 edfcc9f26b95bbd1c398dfd4a54d5530 1727 python optional dh-python_7.20261019.dsc
 1f71f940d5892ac444433c5767daa25c 139900 python optional dh-python_7.20261019.tar.xz
 2c160e01ca1a4812b1d85f81ba4cbe59 6527 python optional dh-python_7.20261019_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iIoEARYKADIWIQTumtb5BSD6EfafSCRHew2wJjpU2AUCatZ09xQcc3RlZmFub3JA
ZGViaWFuLm9yZwAKCRBHew2wJjpU2JuBAP9kQ9u1E2wD1mu0DQzVXYOWI2yrM9d9
IA5/NvUWQukw0AD/Rpk9/jx5jlup0kYIIZSWxyyT7ghCgKgG5QQP069VzwQ=
=8iyu
-----END PGP SIGNATURE-----