5

I haven't seen an update on the status of removing Python 2 from the CD images, and this page has last been updated late 2013.

2
  • I presume is the server images that you noticed this change, since the Desktop has still python 2.
    – Braiam
    Apr 17, 2014 at 14:33
  • Nope, I didn't know. I was asking from complete ignorance.
    – tshepang
    Apr 17, 2014 at 14:55

3 Answers 3

9

For 14.04: server and desktop images

The situation is:

The logic

I quote:

It is a release goal for Ubuntu 14.04 (Trusty Tahr) that we ship only Python 3 on the touch, server, and desktop images. Don't worry, Python 2.7 will still be available in the archive, and more specifically 'main' for now.

Python 2 is removed from the server images, you are absolutely right! For the server, don't worry python2 is still in the repos and can thus easily be installed.

Now the migration to python3 is not completely finished for the desktop (which involves more python packages than the server). The desktop image thus still has python2.

Source: https://wiki.ubuntu.com/Python/FoundationsTPythonVersions

4
  • Now that your answer has been edited I can revert my vote. There's still an image (desktop) that provides python2.7. Apr 17, 2014 at 9:45
  • @SylvainPineau Read the edits. My edit changed the order of the answer, not the content.
    – don.joey
    Apr 17, 2014 at 9:46
  • You removed "Python 2 is removed from the images, you are absolutely right!". That's all I wanted to see for removing the downvote. Thanks Apr 17, 2014 at 9:48
  • @SylvainPineau Point taken.
    – don.joey
    Apr 17, 2014 at 9:50
7

No Python2.7 is still there for desktop, check the CD manifest here:

python2.7   2.7.6-8

But has been removed from the server image (manifest) as explained in the migration plan where desktop is the last target.

1
  • @Tshepang: I've updated my answer to include the server image Apr 17, 2014 at 9:40
-1

According to packages.ubuntu.com Python 2.7.5 is the default version.

3
  • 1
    How can you tell that it's default from that page?
    – tshepang
    Apr 17, 2014 at 9:26
  • It says "(default version)" where others have the repository the package is located in.
    – Timo
    Apr 17, 2014 at 21:27
  • Oh, I see. I missed that. It does not necessarily mean it gets to be part of the image.
    – tshepang
    Apr 18, 2014 at 4:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .