Re: dh-python: help needed with recursive resolution of pyproject optional dependencies

Andrey Rakhmatullin <[email protected]> Mon, 22 Jun 2026 15:53:42 +0500
Newsgroups gmane.linux.debian.devel.python
Message-ID <[email protected]>
--8oNrAvcsDTva7+xT
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jun 22, 2026 at 09:10:46AM +0000, CHAIT Yanis wrote:
>I am trying to rely on the dependencies declared in pyproject.toml to popu=
late the test/autopkgtest dependencies.

How are you doing this?

>My understanding was that selecting all optional dependencies, or selectin=
g the test extra, should recursively include the dependencies from the nest=
ed extras as well. In particular:

How are you "selecting" them?

>  3.  If not, what is the recommended Debian packaging approach for this c=
ase?

B-D must be listed explicitly, there is no way around that.

--=20
WBR, wRAR

--8oNrAvcsDTva7+xT
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iQJhBAABCgBLFiEEtf6ieDcfC1EgtGkao+OWn23e7IYFAmo5FDYtFIAAAAAAFQAP
cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEKPjlp9t3uyG
u6QP/1kwrqNi2QYyU/Wt8KgStfI2RqTh28qBZVKaQdUBn5Pwioe6choY/4MzPctL
CniUCYaOKY1QudkSgvfENC/qgmdkuu0lpfd+an6OSnx/KQ4u4OysIEMRv8t+B9lY
ZF9WC3WHwcup272ibG006MpIp52fMc4m7Ryni7CLFxng83PkcObj6hSp6OFBNVVA
3XpAgPKHiKVFZQRRi+BV+kh+MAbES4grHZb/X22hBcDpqvDt4cAM/56urbVE0vho
1sSwYUDistprT3+zrLd7+iCA6NcgmfBSOfZRpXv7yAcmDQNlbtlawx+AIbmfkHTu
hK4GdomLAdcVqqblV41uLdBnkZEJmz9qBcHM0VKUHl/ELspT+7fwc1aFCynqGqe4
3v8XZnrSQdT/Gvg7BECxyQfqHgnHXIw2gDSFYSmpgKhqB744/q5R7uSxlXJ+5kQL
pEMcHqqQK8YgxwZYcCwazMZur4newtV963nO9AHwsLWgP6nMxqXPV4Iovawj5uLk
f6P/1LdEjiMM8/nCsg8YqgHIWT4ip6oy/ctN+SIPrxKILXglyDmauKSYkyEIcIwd
Z+XM+zGSnE1bYpzQOwcWlpggSypHgwJxfXsSx/aF5bt6LBp8nKhfZE1WMWe1+ewA
2mfFtv+8YLRYrrEU1cHw7GwbAbLwHUpaVArEEGLI0XJvIO+z
=4+y9
-----END PGP SIGNATURE-----

--8oNrAvcsDTva7+xT--