On 07.12.22 15:37, t.gruner@katodev.de wrote:
A first step could be a repository like 15.4_py310 in d:l:p and there
subprojects. I thing the most packages works well already. A few
packages have hard coded python3 dependencies, but these one could
split in mulitbuild or change to the actual/primary python. This will
be find out when these repositories are available.
The whole python maintainers did a great job already and to use a
second python version beside the default one is a short leap.
Yes coinstallable python versions work great in Tumbleweed, but
unfortunately the adoption to Leap is not a walk in the park. Until
recently (Matej mentioned the plans for 15.5) SUSE denied multi-flavors
for SLE/Leap. Thus, many specfiles assume:
%if 0%{?suse_version} < 1550
# I only have python3 (and python2 in <=15.3) and it is 3.6 and that
won't change
%endif
This assumption needs to be rectified in more than a few specfiles.
Another aspect: Just making 15.4_py310 in d:l:p without connections to
its subprojects would fail at the first package in the dependency chain
outside of d:l:p, e.g. pytest.
d:l:p:backports solves this by linking almost all python packages from
Factory into one project. However, have a look at the already existing
15.4_py39 there, it is not in a good state:
https://build.opensuse.org/project/monitor/devel:languages:python:backports?arch_x86_64=1&defaults=0&repo_15_4_py39=1
Whoever set it up, I think they would welcome contributions to make it
better. It may even be bumped to 15.4_py310 or a future 15.5_py310 for
development of the announced coinstallability in 15.5 eventually.
- Ben