VOOZH about

URL: https://thenewstack.io/time-to-say-goodbye-python-3-6-is-end-of-life/

⇱ Time to Say Goodbye: Python 3.6 Is End-of-Life - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2021-12-16 12:59:41
Time to Say Goodbye: Python 3.6 Is End-of-Life
in-depth-news,
Programming Languages / Python / Software Development

Time to Say Goodbye: Python 3.6 Is End-of-Life

Python 3.6 is no longer being supported. Time to upgrade.
Dec 16th, 2021 12:59pm by Jack Wallen
👁 Featued image for: Time to Say Goodbye: Python 3.6 Is End-of-Life

As of this month, Python 3.6 is dead to me.

It should be dead to you as well.

Why? Because it will no longer receive either bug or security fixes. What does that mean? It means if you’re using Python 3.6 past this month, you do so at your own risk.

Trust me when I say you do not want that. This is especially so with the recent discovery of the Log4j vulnerability. No, that doesn’t directly involve Python, but it makes a very loud and painful case for always staying up to date.

That’s a problem. Consider this: As of Dec. 16, 2021, at least 17.39% of packages that were downloaded from PyPI were based on Python 3.6. And that’s knowing this version of Python was about to reach end of life.

That’s looking for trouble.

Want to know what version of Python you’re using? Issue the command:

python3 --version

If you see 3.6 or earlier, by the end of December 2021, you’ll no longer receive updates or bug fixes. To resolve that, you must upgrade to the latest version of Python. Because 3.6 will have reached End of Life (EOL), it will no longer receive bug fixes, even if they are critical. You could find yourself using Python with a known CVE that has a CVSS score of 10.0 and it will not get patched.

But wait, there are pseudo loopholes for those who still refuse to realize just how important it is that they move on from Python 3.6.

Say, for instance, you’re using Ubuntu Server 20.04, which is a Long Term Release. This LTS distribution is supported until 2025. So, theoretically, you have three years of support left. Does that mean you’re exempt from updating Python? In theory, yes. When using an LTS release, you’ll receive security updates. There’s a caveat. Even though you’re receiving security updates, you won’t have access to bug fixes and you certainly won’t be included with new features.

You want new features, right?
You should also want bug fixes, right?

To make this even worse, none of your third-party frameworks and libraries will be updated. You’ll be stuck on whatever releases of those bits that still support Python 3.6.

There’s Good News

Most of the more recent releases (such as Ubuntu 20.04.3 and RHEL 8.5) all ship with Python 3.9. I currently have a Ubuntu Server 20.04 which shipped with Python 3.8. After running sudo do-release-upgrade (to upgrade to 20.04.3), the Python package was upgraded to 3.9. But even the original 20.04 release included Python 3.8.

And yes, you could very well still be using Ubuntu 18.04, which is still supported until 2023. But Ubuntu 18.04 shipped with Python 3.6… the version about to be sent over the cliff. So even though you still have a year left with 18.04, your Python version is woefully out of date.

If you want to upgrade Python on Ubuntu 18.04, you can with the help of Anaconda. To do this, download the Anaconda installer with the command:

wget https://repo.anaconda.com/archive/Anaconda3-2021.11-Linux-x86_64.sh

Run the installer with:

bash Anaconda3-2021.11-Linux-x86_64.sh

The script will take some time. Once it completes, log out and log back in and then upgrade Python with the command:

conda update python

After the update completes you can check the newly installed version with the command:

python3 --version

You should now have Python 3.9 installed.

Crisis avoided.

Sort of.

Here’s the thing… you’re probably using all sorts of libraries, frameworks, and other bits and pieces that connect to Python 3.6. If you upgrade to Python 3.9, there’s no guarantee those external bits won’t break. What does that mean for you? It means you’re going to have to take great care with this transition. You’ll need to find out everything you use in connection with Python 3.6 to see if A) Each piece will also function with Python 3.9 or B) If there’s an upgrade available so those external libraries and frameworks can function with the latest version.

Understand, this is not going to be easy and it’s going to be time-consuming. However, the end result will be worth your effort. You do not want to leave your servers, your apps, and your services vulnerable to whatever digital ugliness befalls Python 3.6 in the coming months.

Spend the necessary time and effort to upgrade Python to 3.9 and make sure everything you use in conjunction with it can upgrade and function as expected.

You’ve been warned.

TRENDING STORIES
Jack Wallen is what happens when a Gen Xer mind-melds with present-day snark. Jack is a seeker of truth and a writer of words with a quantum mechanical pencil and a disjointed beat of sound and soul. Although he resides...
Read more from Jack Wallen
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: Anaconda.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.