Hi Mike (2022.07.21_02:33:17_+0200) > The code that handles DEB_PYTHON3_SUPPORTED wants multiple versions to > be separated with commas: > > https://sources.debian.org/src/dh-python/5.20220403/dhpython/_defaults.py/#L61
And that's what's documented for pybuild. > When using dh_python --buildsystem=pybuild, pybuild is called with the > -p argument with the value of DEB_PYTHON3_SUPPORTED as is: > https://sources.debian.org/src/dh-python/5.20220403/dh/pybuild.pm/#L214 > where py3vers comes from > https://sources.debian.org/src/dh-python/5.20220403/dh/pybuild.pm/#L47 I think this is the bug, those should be transformed to spaces. > pybuild does handle `-p "3.6 3.7"` as meaning both versions, but then > dh_python considers it as major version 3, minor version "6 3", and > throws an exception. Can you expand on that? Why is dh_python even involved? SR -- Stefano Rivera http://tumbleweed.org.za/ +1 415 683 3272