HI Neil On Wed, 24 Nov 2021 at 21:45, Neil Williams <codeh...@debian.org> wrote: > pyhst2 build-depends on python3-dev which currently brings in > libpython3.9-dev and it is this package which provides Python.h which > pyhst2 requires. > > https://packages.debian.org/unstable/python3.10-dev depends on > libpython3.10-dev > > So once python3-dev depends on python3.10-dev instead of python3.9-dev, > then libpython3.10-dev would be installed and Python.h would exist. > > The build log attached to the bug has no reference to python3.10-dev or > libpython3.10-dev, so the test build hasn't mimicked how the > python3-dev build-dependency would work. > > This test was done without replicating this dependency for some reason. > > What was the setup of this test build?
I see pyhst2 uses '--buildsystem=pybuild' and pybuild attempts to build with all supported python versions by default. I think you can simply change the build-depends on python3-dev to python3-all-dev. Regards Graham