Am 06.12.21 um 12:42 schrieb Simon Lees:
On 12/6/21 19:22, Michael Ströder wrote:
On 12/6/21 00:50, Joe Salmeri wrote:
Is there a reason why the python3 version in TW has not updated from 3.8 to 3.9 or 3.10? I'm also wondering what's blocking using 3.9 or 3.10 as main python3 version.
IIRC 3.10 has some changes which turns formerly deprecated stuff into errors. But 3.9 should be possible. FWIW even Debian stable already uses Python 3.9. Well it seems like 3.9 is being worked on here from a quick glance https://build.opensuse.org/staging_workflows/openSUSE:Factory/staging_projec...
AFAICT, that's just an update to the python 3.9 interpreter. What Joe is talking about is to switch the primary python3 flavor to python39. This will require to 1. set primary_interpreter to 1 in the specfile for python39 and to 0 in python38 2. adjust the prjconf for Factory -update the `Prefer: .*python.*` lines. -reorder the %pythons macro [1] 3. reflect the prjconf changes in python-rpm-macros [2] This can but does not need to be combined with: 4. Add non-primary python310 flavor support in python-rpm-macros [3]. 5. Add python310 and remove python36 in the %pythons macro in prjconf and python-rpm-macros. I guess it will need a separate staging project where issues with the switch will become apparent and get fixed just as we did when introducing the multiflavor feature last year [4]. I am busy with my dayjob, so I cannot support it with major contributions, but I guess my procrastination habit will make me look at it and contribute a small fix here and there. [1] https://build.opensuse.org/projects/openSUSE:Factory/prjconf Line 1450 [2] https://github.com/openSUSE/python-rpm-macros/blob/master/default-prjconf [3] https://github.com/openSUSE/python-rpm-macros/blob/master/compile-macros.sh#... [4] https://github.com/openSUSE/python-rpm-macros/issues/66 - Ben