Feature #10937
closed
Migrate Klever to Python 3.10
Added by Evgeny Novikov about 3 years ago.
Updated over 2 years ago.
Description
At the moment Klever is run by Python 3.7 that was released ~3 years ago. Soon there will be Python 3.10. Let's try to use it. In case of considerable issues, the fallback is Python 3.9 or just remain everything as is.
In addition, it has sense to update all Python packages.
- Blocked by Feature #10934: Test and fix if necessary deployment of Klever on Debian 10/11, Ubuntu 20.04 and openSUSE 15.3 added
- Target version deleted (
3.4)
There is too little sense to do these issues.
- Target version set to 3.5
- Status changed from New to Resolved
I did this in branch switch-to-python-3.10. Now it is necessary to update LDV Dev (Debian 11 + Python 3.10, #10936) to run tests.
- Status changed from Resolved to Closed
After everything was set up and tested, I merged the branch to master in
d1891272c. Users should take into account the following things:
- From now Klever deployment is not officially supported for Debian 9/10 and openSUSE 15.2. A bit earlier we dropped a support for Fedora completely. Nevertheless, most likely you will be able to make necessary things yourself to bring everything back if you do need this.
- If you want to keep existing data collected thus far and simultaneously use the most recent version of Klever, you can update existing local Klever instances deployed earlier at Ubuntu or openSUSE in the following way:
- Deployment of instances within OpenStack changed so considerably, that you should likely create new ones rather than to migrate existing ones. Hopefully, data formats didn't change and you can download/upload job/mark archives from previously deployed instances.
- Take care about necessary updates of PyCharm settings according to the developer documentation if you use PyCharm for development of Klever.
Also available in: Atom
PDF