On Wed, 13 Jul 2022 23:52:47 +0930 Simon Lees wrote:
I guess this needs to be solved in OBS somehow, to build a package for Leap 15.5 against the latest ruby/python version. And installer should pull dependencies accordingly.
Am I right?
Yes, the packager would update the python-onionshare specfile to BuildRequire python310, this will then build the package against the python 3.10 libraries and add runtime dependencies for those rather then the 3.6 ones, so its likely some users will have a full python 3.6 and 3.10 stack on there machines.
I did something like that on 15.3 with python-3.9, so I could build QGIS, it worked fine (eventually). Of ~200 python modules branched from d:l:p and friends, majority of them only required s/python3/python39 for Requires/BuildRequires, and/or some build tweaks, like using rpm python macros or similar, IIRC. Few of them were...more fun :) (Numpy, for example), but mainly because of the alternatives part (took me a while to figure that one out). I've nuked that repo when I upgraded to 15.4, because, with the way I've done it (not knowing any better), switching to py310 would be just too much work, and I've given up on QGIS on Leap for now. As for 'use QGIS flatpak', based on the comments for it in KDE Discover, it's partially broken, apparently (lacking some functionality). Haven't tried it myself yet, so can't really comment on that. Pedja