Home News Ubuntu 20.04 LTS “Focal Fossa” set to remove Python 2

Ubuntu 20.04 LTS “Focal Fossa” set to remove Python 2

by Travis Rose
python 2

As much of the world was celebrating a new year on January 1, 2020, Python 2 reached end-of-life.  Python 2’s EOL, although expected since the official announcement from Guido van Russom, Python’s principal author and creator back in 2014, has Ubuntu and Debian developers scrambling to end their distros dependencies on Python 2.

The Ubuntu 20.04 LTS development team is the latest to announce that their goal is to remove Python 2 from their long-expected Ubuntu “Focal Fossa” 20.04 LTS release scheduled just four short months from now in April.

The Challenge Ahead

The Python 2 removal project is daunting for the Ubuntu development team, along with scores of other Linux distro development teams, as there are still many Python 2-dependent packages that remain in “Focal Fossa” beta and other beta distros in development throughout the Linux community.

This is a big issue since Python 3 is not backward compatible.  This means that Python 2-dependent applications may not work with Python 3.  This is not a massive issue with packages actively maintained.  The problem is that many packages are not.

To help meet the Ubuntu development team’s goal to convert as many packages as possible from Python 2 to Python 3, it’s likely that packages no longer being maintained face removal from the Ubuntu archival if no one steps up to do the necessary porting.

The real challenge facing the Ubuntu 20.04 LTS development team is how to deal with packages crucial to Ubuntu that only support Python 2.

The latest word from Matthias Klose, the Debian developer who has been coordinating much of the Python 2 removal effort, is that libpython-dev, python, python-minimal, and other packages no longer exist as part of the python-defaults package in the Ubuntu 20.04 archive.

The official Ubuntu 20.04 LTS release slated for April will not include these packages.  For other packages, python2-minimal along with another python* packages exist to satisfy Python 2 dependencies.  A new python-pointing-topython2 package that points to python is anticipated for the Ubuntu “Focal” repository.

Conclusion

Preparing an LTS release is challenging for any distro development team.  One can only imagine that the challenge is immensely more significant for developers of such a popular, premium distro like Ubuntu.  However, the Ubuntu development team has a history of overcoming such problems in its storied 15-plus year history.  The release of Ubuntu 20.04 “Focal Fossa” will be no different.

You may also like

4 comments

Filippo Gambarota April 4, 2020 - 11:10 AM

i’ve updated from ubuntu 18.04 to 20.04 but I still have python 2 installed

Reply
Cockroach April 28, 2020 - 9:23 PM

How am I supposed to use GIMP’s Resynthesizer now?

Reply
wap wap November 16, 2020 - 8:51 AM

Been trying to update ubuntu since a few weeks ago but after I had to install Zotero, I tried to update ubuntu and I think I’m getting an error related to this,

File “/usr/lib/python3/dist-packages/CommandNotFound/db/creator.py”, line 11, in
import apt_pkg
ModuleNotFoundError: No module named ‘apt_pkg

Reply
Wubba Dubba January 10, 2021 - 12:05 AM

Time to go back to 18.04 for code compiling, should have stayed there… Too much broken frustration no-one has time for in 20.04.

Reply

Leave a Comment

fl_logo_v3_footer

ENHANCE YOUR LINUX EXPERIENCE.



FOSS Linux is a leading resource for Linux enthusiasts and professionals alike. With a focus on providing the best Linux tutorials, open-source apps, news, and reviews written by team of expert authors. FOSS Linux is the go-to source for all things Linux.

Whether you’re a beginner or an experienced user, FOSS Linux has something for everyone.

Follow Us

Subscribe

©2016-2023 FOSS LINUX

A PART OF VIBRANT LEAF MEDIA COMPANY.

ALL RIGHTS RESERVED.

“Linux” is the registered trademark by Linus Torvalds in the U.S. and other countries.