After debugging some more, I found even an old dh-python to show the problem, and I see this:
- Bug#1127763: dh-python: regression in build of p... Gianfranco Costamagna
- Bug#1127763: wheel regression? Gianfranco Costamagna
- Bug#1127763: wheel issue? Gianfranco Costamagna
- Bug#1127763: a package in sid is already af... Gianfranco Costamagna
- Bug#1127763: a package in sid is alread... Stefano Rivera
- Bug#1127763: a package in sid is al... Gianfranco Costamagna
- Bug#1127763: Followup: Can't build cocotb a... أحمد المحمودي
- Bug#1127763: Followup: Can't build cocotb a... أحمد المحمودي

