Hi Drew (2023.01.07_07:56:43_-0400)

I think this is something worth a try in early trixie.
It'll likely be a change of default mode, and require packages to
explicitly the request the setuptools mode.

> It matters in particular for python modules which are rebuilt with
> different configurations, for different debian python packages from
> the same source.  For instance petsc4py provides separate real and complex
> number builds of its python module.

Does that matter? They get built once, each. Both temporary directories
don't need to exist at the same time.

Look at this example of building two PEP-517 modules from the same
source package:
https://salsa.debian.org/python-team/tools/dh-python/-/blob/master/tests/tpb07/debian/rules
In this case, they are in separate source directories, but the same
thing should work for separate builds with different configuration.
Each build should end up in its own .pybuild directory, even if
temporary directories are shared.

SR

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

Reply via email to