Hi Matthias (2025.10.26_11:42:39_+0200)
For alternate (build-)dependencies like

 'tomli>=2.0;python_version<"3.11"',

dh-python generates dependencies like

 python3-tomli (>= 2.0) | python3 (< 3.11)

Also, note that this is incorrect, the generated dependency would be:

python3-tomli (>= 2.0) | python3-supported-min (>= 3.11)

forcing the installation of python3-tomli

I had assumed that in this scenario apt would realize that the second option would be satisfied and the first isn't needed, but of course it isn't...

Stefano

--
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272

Reply via email to