Python 2 will reach its end of life [[ https://pythonclock.org/ | on the new year ]]. We don't have a lot of work to port scripts.
Attached is a patch updating what is needed. I used the opportunity to fix the bugs that I found.
What is missing:
- I didn't bother with the userreport server which is completely outdated. @vladislavbelov will upload the current code for the server at some point.
- The i18n scripts are already compatible with both python 2 and 3. Unfortunately Pology (even the current development version) will install itself to python2 dist-packages. I asked @Gallaecio if Pology plans a porting soon
- if yes let's wait for them
- if no, we can't keep installing the transifex client in a python2 environment: at some point in the future, they will stop supporting that. Thus we should rewrite our scripts so that pology tools are run in a python2 environment while the rest is run in a python3 environment.
- I should use the opportunity to set `svn:executable` on some files.