Community mailing list archives

Re: Python 2.x discontinued in Ubuntu 16.04

Andi Becker
- 05/02/2016 09:14:55

It's available but the support for it will be discontinued.
So the question will still be when will Odoo be ready for Python 3.*.

Customers who will start a new eCommerce site will probably run their sites longer time and would need a solution with continues support!

Hosters already announced that Python 2.7 support will be discontinued

i.e. Hetzner

3. New image

Ubuntu 16.04 LTS and minor update for Debian 8.4
Starting now, you can get the Ubuntu 16.04 LTS "Xenial Xerus" as a 64-bit minimal image to install on dedicated root servers and vServers.
As with all new releases, it includes updates for the Linux kernel, packages, applications, and software of all sorts.
Many of the packages have been adopted automatically from the Unstable Debian branch.
Ubuntu 16.04 LTS is based on the long-term supported Linux kernel release series 4.4.
In addition to the update from OpenSSH to version 7.2p2, APT and Python 3 have been upgraded. Therefore support for Python 2 is being discontinued.
In the new OpenSSH version, DSA keys that are considered insecure and the 1024-bit diffie-hellman-group1-sha1 key exchange are disabled by default. Both of these can be re-enabled if explicitly requested.
OpenStack has been updated to the "Mitaka" release, PHP has been upgraded to 7.0, and MySQL has been advanced to version 5.7.
Included in the new developments is the new application format, the "snap", which can be installed alongside traditional deb packages.
To find additional information on the Ubuntu 16.04 LTS release, please see

Python 3
Python2 is not installed anymore by default on the server, cloud and the touch images, long live Python3! Python3 itself has been upgraded to the 3.5 series.
If you have your own programs based on Python 2, fear not! Python 2 will continue to be available (as the python package) for the foreseeable future. However, to best support future versions of Ubuntu you should consider porting your code to Python 3. Python/3 has some advice and resources on this.