translate / pootle

Online translation tool
http://pootle.translatehouse.org
GNU General Public License v3.0
1.49k stars 284 forks source link

Port to python3 -- python2 going EOL on Jan, 2020 #6902

Open dpaleino opened 4 years ago

dpaleino commented 4 years ago

Hello,

Pootle should really be ported to python3, as python2 is going to not be supported anymore in 4 months' time, on January 2020.

I've read the wiki, and saw there were some plans -- is there any progress on this?

Thank you for everything you've done! David

Bachstelze commented 4 years ago

For the beginning we should choose one option. Is there any feedback if somebody can't update the python version? Anyways here are some good starting points: https://docs.python.org/3/howto/pyporting.html https://www.digitalocean.com/community/tutorials/how-to-port-python-2-code-to-python-3

Bachstelze commented 4 years ago

In 2020 the support could be dropped for django 1.11. So we should also update the django version. Django 2 and 3 only runs with python3 which makes a python2 support lapsed: https://docs.djangoproject.com/en/dev/releases/3.0/

Bachstelze commented 4 years ago

What is the reason for all the unmerged PRs?

It will be horrible to merge them after the rewrite to python3!

za commented 8 months ago

Hi all. What's the update on Python3 upgrade plan? Maybe for a start, we can use 2to3 to switch to Python3.