Check Python Version
You can check your Python version by running
python --version in your terminal or command-line.
$ python --version Python 3.9.5
End of Life Python Versions (Table)
But when does security support for your Python version end? To learn about the end-of-life of different Python versions, check out the following table:
|Version||Released||Security Support (EOL)|
|3.9||05 Oct 2020||Ends 05 Oct 2025|
|3.8||14 Oct 2019||Ends 14 Oct 2024|
|3.7||27 Jun 2018||Ends 27 Jun 2023|
|3.6||23 Dec 2016||Ends 23 Dec 2021|
|3.5||30 Sep 2015||Ends 13 Sep 2020|
|3.4||16 Mar 2014||Ends 18 Mar 2019|
|3.3||29 Sep 2012||Ends 29 Sep 2017|
|2.7||03 Jul 2010||Ends 01 Jan 2020|
- Python version 3.9 end-of-life (EOL) is 05 Oct 2025.
- Python version 3.8 end-of-life (EOL) is 14 Oct 2024.
- Python version 3.7 end-of-life (EOL) is 27 Jun 2023.
- Python version 3.6 end-of-life (EOL) is 23 Dec 2021.
- Python version 3.5 end-of-life (EOL) is 13 Sep 2020.
- Python version 3.4 end-of-life (EOL) is 18 Mar 2019.
- Python version 3.3 end-of-life (EOL) is 29 Sep 2017.
- Python version 2.7 end-of-life (EOL) is 01 Jan 2020.
What is the Security Support Lifespan (EOL) of Python Versions?
Each Python version is officially supported by the Python Software Foundation, the organization behind the Python programming language (please support them to foster innovation!).
During the lifespan of a Python version, it will receive bug fixes approximately every two months for 18 months. After that, only security updates will be released for 5 years. So, the lifespan of full Python version with regards to security support is approximately five years.
You can still use the Python version afterwards. However, it’s not recommended as known security issues won’t necessarily get fixed after the end-of-life period.
“The code base for a release cycle which has reached end-of-life status is frozen and no longer has a branch in the repo. The final state of the end-of-lifed branch is recorded as a tag with the same name as the former branch, e.g.
2.6.” — Python.org Devguide
So, which are the branches that are currently under development? You can find those here (source):
While working as a researcher in distributed systems, Dr. Christian Mayer found his love for teaching computer science students.
To help students reach higher levels of Python success, he founded the programming education website Finxter.com. He’s author of the popular programming book Python One-Liners (NoStarch 2020), coauthor of the Coffee Break Python series of self-published books, computer science enthusiast, freelancer, and owner of one of the top 10 largest Python blogs worldwide.
His passions are writing, reading, and coding. But his greatest passion is to serve aspiring coders through Finxter and help them to boost their skills. You can join his free email academy here.