10.04 Python 2.7 Future Availability and Package Management

10.04package-managementpythonversions

Since Ubuntu 10.04 is an LTS release will it support python 2.7 as a default package maintainer version or at least have a python2.7 package in future?

Since it will be the last major python 2.x release and is intended to remain in place for a long time, I decided to use it. I compiled it from source (After building deps of course) but now and then I find small problems.

Is it safe to define my compiled python 2.7 as the default, as there are some distribution applications that work on python.

Best Answer

No, it's not considered safe to define 2.7 as your default Python interpreter in Lucid. And I don't think it will be in the future.

  • There are no major version upgrades of any software in one release.

    So python2.7 will not replace 2.6 as the default interpreter. This kind of upgrade is only done between versions, within one - especially an LTS - there are only so called stable release upgrades, i.e. bugfixes and security related upgrades.

However, it's perfectly safe to use python2.7, defining your interpreter as #!/usr/bin/python2.7 and having users install it using make altinstall on the python source, alongside python2.6

Related Question