Am 06.01.22 um 13:02 schrieb Jan Engelhardt:
and python packages suddenly changing their interpreter version from 3.6 to 3.10 Surely you can master update-alternatives priority such that 3.6 gets the higher ground? But that's also not really needed.
/usr/bin/python3 is linked to /usr/bin/python3.6 without any update-alternatives involved. I think it is established by now, that python3.6 needs to remain the "primary" intepreter on Leap/SLE 15.
I could easily live with #!/usr/bin/python3.10 in (my) programs, it's really just the python-blablamodules.
So you are asking for multiflavor support with python310 enabled (but not primary). Which is, as far as I understand it. not on the table for 15.4. For a start, one could activate a python310 flavor in devel:languages:python:backports. (Which is actually currently broken due to other reasons). Then you get all the up to date python packages from Factory for your programs, unless they are hardcoded to python3. I don't know if that is "official" enough for you and your customers. - Ben