On 2023-04-26 17:34, Daniel Garcia wrote:
Our test project has this macro:
%sle15_python_module_pythons() %global pythons python311
The idea is to provide a modern version of a reduced list of python packages and build this list with python 3.11.
Sorry if a join late and misinformed. I saw the PRs of this macro and I think that now I grasp the goal. IIUC the same python module (same version, same source code) will be compiled for 36 and 311 if this macro is present, making is a kind of a marker or flag. If this is correct, I wonder if polluting hundreds of Factory packages with this macro (that is nil for Tumbleweed) was the correct technical approach, and that the same goal could be achieved via some OBS/IBS work, where a subproject links the same list of packages (but with a project config that set the python to 3.11), and a later _aggregate somehow collect them into the main distribution.