On Sat, Dec 10, 2022 at 9:24 PM Ben Greiner wrote:
Hi,
I am cross-posting to python@lists.opensuse.org, because I think the discussion as progressed into a topic more suitable for that list. I suggest replying to that list only.
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:
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
I have submitted my updated python-dfdatetime package to factory. As I stated originally, it requires python 3.7 or newer. Once it is in factory, I will check devel:languages:python:backports and see if there is a python 3.9 build for LEAP 15.4 automatically available. If so and testing shows it works, I will inform my known users of LEAP 15.4 python-dfdatetime that they need to add devel:languages:python:backports to their repo list to run python-dfdatetime. If testing shows it is failing, I will try to submit SRs that resolve the issues in devel:languages:python:backports that are preventing this latest release of python-dfdatetime from being usable in Leap 15.4. Thanks, Greg