Announcement

Collapse
No announcement yet.

Ubuntu Plans For Python 3 By Default For Ubuntu 16.04 LTS

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • TheBlackCat
    replied
    Originally posted by rdnetto View Post
    Mercurial is still in Python 2 with no plans of porting as well.
    Judging by recent commits, porting is not only planned, but being actively worked on.

    Leave a comment:


  • rdnetto
    replied
    Originally posted by DanLamb View Post
    Python 3 has been a no go for many developers as large amounts of the Python ecosystem have been Python 2.x exclusive.

    Super big popular Python related projects like Apache Spark, for example, simply won't work with Python 3. And they will tell you, the community they serve is mostly on 2.x

    System Python and Server Side / Science Python do have very different communities.
    Mercurial is still in Python 2 with no plans of porting as well.

    The problem is that they made breaking changes in a language where duck typing is the norm. Normally when a language makes breaking changes, you get compiler errors, or even just warnings for using deprecated features. But the fundamental design of Python makes it quite hard to detect code which will behave differently. (Static analysers do exist, but they can't come close to what a language with static typing offers.)

    The end result of this is that while Python 3 is a much better language for new projects, the effort required to port to it is simply not worth it.

    Leave a comment:


  • Ansla
    replied
    Scons was another important Python project that previously claimed they have no plans for moving to Python 3 while now the port is in progress. It seems the time has finally come for Python 2 to be deprecated.

    Leave a comment:


  • TheBlackCat
    replied
    Originally posted by DanLamb View Post
    Super big popular Python related projects like Apache Spark, for example, simply won't work with Python 3. And they will tell you, the community they serve is mostly on 2.x
    Apache Spark supports Python 3.4 as of March.

    Leave a comment:


  • DanLamb
    replied
    Python 3 has been a no go for many developers as large amounts of the Python ecosystem have been Python 2.x exclusive.

    Super big popular Python related projects like Apache Spark, for example, simply won't work with Python 3. And they will tell you, the community they serve is mostly on 2.x

    System Python and Server Side / Science Python do have very different communities.

    Leave a comment:


  • ObiWan
    replied
    As Arch defaults to python3 as default for a long time now, they have a long list of packages that require python2:


    (just look at the required by list, but alot of the depends are just makedepends, or python 2 packages)

    Leave a comment:


  • uid313
    replied
    Python 2 is needed by

    aislerot
    alacart
    apt-xapian-index
    apturl
    checkbox-gui
    compiz
    deja-dup
    duplicity
    gconf2
    gdm
    gimp
    gnome-shell
    gstreamer
    ibus
    libatk
    libatspi
    libcairo
    libdbus
    libgdk
    libglib2
    libgtk-3libpango
    libpurple
    libreoffice-gnome
    oneconf
    python-apt
    samba
    software-center
    totem
    transmission
    unity
    update-manager
    zeitgeist

    Leave a comment:


  • brent
    replied
    Originally posted by mark45 View Post
    Python 2 -> 3 is one of the worst and longest sagas in the software industry I'm tired hearing about.
    Seems to be going rather well compared to e.g. Perl 5 -> Perl 6.

    Nowadays I'm exclusively using Python 3 and I have done so for about two years, with no problems whatsoever. Even PyPy has official Python 3 support now.

    Leave a comment:


  • mark45
    replied
    Python 2 -> 3 is one of the worst and longest sagas in the software industry I'm tired hearing about.

    Leave a comment:


  • jo-erlend
    replied
    Originally posted by uid313 View Post
    GIMP still relies on Python 2.
    That's not influenced by the default in Ubuntu. You'll be able to use Python 2 as long as you need it. You just won't have to have Python 2 installed just in case. If you install the GIMP, it'll require Python 2 and it'll be installed when you download it.

    In short; don't worry. We're not idiots in Ubuntu. A lot of people seem to think we are, but that's primarily because they don't ask us why we're making the choices. And that's really something you could know for yourself if you showed up and discussed it when the discussions were taking place, as they are right now.

    We love critical questions. We just don't really love getting them a year too late, which is what normally leads to the Ubuntu controversies. We've made it our business to make things accessible to as many people as we possibly can, and that includes newbies. Why would we ever exclude advanced users from other distros? That would be nonsensical. It's an open invitation. All we ask is that we keep it civil and constructive.

    I think a lot of people from other distros feel that it we're in competition and that it would be disloyal to contribute to Ubuntu by joining the Ubuntu Online Summit, for instance, but I think that's a miscomprehension of the situation. In Ubuntu, we're trying to do two things at once; 1) we want to be good at technology and 2) we want to hit mainstream. That's all. We're not interested in competing within the GNU-community. We want the mainstream to know we are there and to choose us. Many who come to Ubuntu goes on to Arch or Mint or Debian or Fedora. If you pay attention, we don't mind that. The number of cats that were ever killed by curiosity, is far out-weighed by the number of curious computer users who turned out to be more interested than they thought they were.

    We take the mainstream, the heat, hate, frustration, fury and anger. Yes, we also take all the newbies and we do a seriously good job at educating them in how our world works. Who else has a site like AskUbuntu.com? And if some crazy Linux user does or says something stupid, guess who get's the blame? We do. That's fine. We're actively seeking it. We want to take all that, because that's what mainstream is all about. It's not comfortable, calm or radical, but that's not our business.

    Ubuntu is the business end of an arrow. The GNU+Linux community is the reason the arrow was shot. I'm both a fundamentalist and a radical and I think that's what makes Free Software so special. I believe that Ubuntu should take on Microsoft, Apple and Google and that all other distros should take on us. And if you disagree with that, you should Take On Me: https://www.youtube.com/watch?v=djV11Xbc914

    Sorry about that rant, but it was necessary.

    Leave a comment:

Working...
X