Hi, Am 28.12.21 um 20:31 schrieb Frans de Boer:
LS,
TW should be a rolling release and has for the most part the latest version of packages. Alas, Python is not one of them. Python now is at version 3.10.1, but TW is still at 3.8.12. That is an obstacle when one tries to cross-compile Python-3.10.1. It is not possible to do so because Python needs - by (bad?) design - a similar version major/minor version on the building machine.
So, I wonder why is Opensuse TW so far behind with regard to Python-3.10.1? Also, the packages 'file' and 'Ncurses´ have workarounds - they suffer from the same issue, is there a workaround for Python?
Regards, Frans.
We are in the process of activating the python310 flavor. Have a look at the staging project [1]. (Not right now, but in a few hours when the ordered-dict request is revoked or superseded, as there has been a misguided attempt to remove python36 the wrong way (*)). That said, you already have the Python 3.10 interpreter installable in Tumbleweed. Just do `zypper in python310`. All **development** of python packages should be done inside of virtual environments using this interpreter and getting everything else from PyPI. The python310 flavor is for **system packages** using python modules they depend on. The primary flavor here is still python 3.8 which is fully supported upstream and a reasonable choice for running stable software. Even without the python310 flavor globally activated, you are already able to compile against Python 3.10.1 in your own obs project. If you are familiar with the singlespec system [2], you just need to add python310 to the %pythons macro and include all modules in your dependency tree into the project. The python-rpm-macros in openSUSE:Factory are already python310 capable as of yesterday. [1] https://build.opensuse.org/project/show/openSUSE:Factory:Staging:O [2] https://en.opensuse.org/openSUSE:Packaging_Python - Ben (*) BTW, when are we going to remove python36 from TW? Upstream EOLd it last week.