On Fri, Nov 06, 2026 at 10:31:34AM +1100, Ben Finney wrote:
> =====
>
> but the ‘importlib.metadata.version("towncrier")’ fails with the error
> reported:
>
> =====
> importlib.metadata.PackageNotFoundError: No package metadata was found for
> towncrier
> =====
Hmm, I remember a similar error in python-configargparse version 1.9.0-1
which I managed to fix by adding two additional changes:
* Add pybuild-plugin-pyproject to Build-Depends.
* Add a pyproject.toml file.
See salsa for details, maybe the same trick works for you.
(Try building python-configargparse *without* those two last-minute changes,
this is related to python3.15, I think).
Thanks.