---
title: 'PSA for ROS users: Some things to know as Python 2 approaches EOL'
description: We recently got an interesting question from a customer, and I think
  the answer might be helpful to a wider audience. Python 2 will reach end of life
  in two months. This shouldn’t be news to anyone who hasn’t been living under a rock,
  and plans are in place to use Python 3 in Noetic  […]
url: https://canonical.com/blog/psa-for-ros-users-some-things-to-know-as-python-2-approaches-eol?format=md
---

1. [Blog](https://canonical.com/blog)
2. Article

---

[Kyle Fazzari](https://canonical.com/blog/author/kyrofa "More about Kyle Fazzari")

28 October 2019

# PSA for ROS users: Some things to know as Python 2 approaches EOL

[python](https://canonical.com/blog/tag/python)
[python2](https://canonical.com/blog/tag/python2)
[robotics](https://canonical.com/blog/tag/robotics)
[Robots](https://canonical.com/blog/tag/robots)
[ROS](https://canonical.com/blog/tag/ros)

---

Share the article

We recently got an interesting question from a customer, and I think the answer might be helpful to a wider audience. Python 2 will [reach end of life in two months](https://pythonclock.org/). This shouldn’t be news to anyone who hasn’t been living under a rock, and [plans are in place](https://discourse.ros.org/t/planning-future-ros-1-distribution-s) to use Python 3 in Noetic (whereas ROS 2 has always used Python 3). However, the question from our customer was this: **What does that mean for existing ROS 1 distributions (Kinetic and Melodic)?** They are still using (and will continue to use) Python 2.

The answer really depends on where you’re getting Python 2. **Tl;dr:
If you’re using Ubuntu Xenial (16.04) or Bionic (18.04), please know
that Python 2 from the Ubuntu repositories will continue to be supported
for the lifetime of the Ubuntu release, regardless of Python 2’s
upstream support status.**

Ubuntu’s [package repositories](https://help.ubuntu.com/community/Repositories) are split into a number of components: main, restricted, universe, and multiverse. You can read that link to learn all about them, but let me briefly quote it so you can understand the difference between main and universe:

**main:**

> The main component contains applications that are free software, can be freely redistributed and are fully supported by the Ubuntu team. […] When you install software from the main component, you are assured that the software will come with security updates and that commercial technical support is available from Canonical.

**universe:**

> The universe component is a snapshot of the free, open-source, and Linux world. […] Canonical does not provide a guarantee of regular security updates for software in the universe component, but will provide these where they are made available by the community.

All Ubuntu releases prior to Eoan (19.10) included Python 2 in main. In Eoan it was demoted to universe. This means that for Xenial (16.04) and Bionic (18.04), Python 2 falls under the main guarantees quoted above. It will continue to be fully-supported and receive free security updates.

In other words, as long as you’re running Kinetic or Melodic against its recommended Ubuntu release targets, you should be golden.

We’re having [a discussion](https://discourse.ros.org/t/some-things-to-know-as-python-2-approaches-eol/11175?u=kyrofa) about this in the ROS forum if you’d like to participate.

*This article originally appeared on [Kyle Fazzari’s blog](https://kyrofa.com/posts/psa-for-ros-users-some-things-to-know-as-python-2-approaches-eol).*

[Get in touch

Interested in running Ubuntu in your organization?](https://ubuntu.com/about/contact-us/form)

## Sign up for our newsletter

Get the latest Canonical news and updates in your inbox.

Work email:

\*I agree to receive information about Canonical's
products and services.

By submitting this form, I confirm that I have read and agree to [Canonical's Privacy Policy](https://canonical.com/legal/dataprivacy).

Sign up

## Share on

---

## Related posts

[### Extending ROS Noetic Support with ESM-Enabled Content Snaps](https://canonical.com/blog/extending-ros-noetic-support-with-esm-enabled-content-snaps)

Canonical has now extended its ESM (Expanded Security Maintenance) for ROS coverage to ROS Noetic content-sharing snaps. With ESM for ROS now available in both deb and snap...

[Florencia Cabral Berenfus](https://canonical.com/blog/author/flor-cabral)

17 December 2025

[### Discover your fully open source robotics observability at ROSCon 2025](https://canonical.com/blog/roscon-2025)

Another year, another ROSCon! This year we’re heading to Singapore, and Canonical is once again thrilled to sponsor this important community event. Just like last year in...

[Gabriel Aguiar Noury](https://canonical.com/blog/author/g-aguiar-noury)

22 October 2025

[### Canonical is now a platinum member in the Open Source Robotics Alliance](https://canonical.com/blog/osra-membership)

Ubuntu is the home of ROS. The very first ROS distribution, Box Turtle, launched on Ubuntu 8.04 LTS, Hardy Heron, and since then, Ubuntu and ROS have grown hand in hand. With...

[Gabriel Aguiar Noury](https://canonical.com/blog/author/g-aguiar-noury)

20 August 2025

[### ROS Noetic is EOL – take action to maintain fleet security](https://canonical.com/blog/ros-noetic-is-eol-take-action-to-maintain-fleet-security)

As of May 2025, the Robot Operating System (ROS) Noetic Ninjemys officially reached its end of life (EOL). First released in 2020 as the final ROS (1) distribution, ROS Noetic...

[Florencia Cabral Berenfus](https://canonical.com/blog/author/flor-cabral)

8 August 2025
