11

This question already has an answer here:

Since Python 3.7 is already launched, I wanted to ask when will Ubuntu 18.04 will get an update to upgrade the Python3'sversion?

marked as duplicate by dessert, Kevin Bowen, user535733, waltinator, muru Jun 30 '18 at 6:47

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    It won't. As everything depends on Python to work, upgrading a Python version on a stable release could make everything not function, which is why the Python version is version-locked in the repositories. You would need to find a third party PPA with a co-installable Python 3.7 in order to get newer Python on that version of Ubuntu. See this relevant/related post: askubuntu.com/questions/151283/… – Thomas Ward Jun 29 '18 at 15:05
  • I really wish this Question was not locked, the supposedly duplicate linked question is much more generic than this one. I would like to post an answer to the question Upgrading Python 3.6 to 3.7 in Ubuntu 18.04 LTS. – htaccess 2 days ago
11

No

Ubuntu uses a snapshot method of populating the software repositories. After release, the only changes are for security and major bugfixes. In addition, a great deal of the system depends upon a specific version of python - upgrading python may break those services (like apt).

Historically, Ubuntu has never upgraded to the next major version of Python or Python3 during a release. All upgrades occur during pre-release testing.

  • So it's completely version locked? – user9324926 Jun 29 '18 at 15:09
  • 1
    I don't know what you mean by 'version locked'. If you install a somewhere-else package of 3.7, replacing 3.6, you are likely to break your system quite badly. If you install a somewhere-else package of 3.7 alongside 3.6, you must have the skills to do so properly...or you will break your system quite badly. – user535733 Jun 29 '18 at 15:29
2

If you need the newest python version, I recommend to use python environments like Anaconda or others. The Pros are that you can install several environments with different python and package versisons with a tool called conda. So you don't get problems with your system python's.

Not the answer you're looking for? Browse other questions tagged or ask your own question.