Python 3.8 end of life

Python 3.8 reached end of life on . Upgrade to Python 3.15, supported until October 2031. Its latest patch is 3.8.20, released September 6, 2024.

Support

Released
Active Support
Ended
Security Support
Ended
Latest
3.8.20,
Maintained
No
Check yours
python --version
Last checked

Upgrade to

Python 3.15, supported until October 2031 (latest 3.15.2). A fix Since.dev opens moves to Python 3.12, the nearest release with a year of support left.

Releases around it

  1. until October 31, 2027
  2. ended October 1, 2026
  3. ended October 31, 2025
  4. Python 3.8
    ended October 7, 2024
  5. ended June 27, 2023
  6. Python 3.6
    ended December 23, 2021
  7. Python 3.5
    ended September 30, 2020

Every Python release

In your code

  • .python-version
    Before: 3.8
    After: 3.12
  • Dockerfile
    Before: FROM python:3.8-slim
    After: FROM python:3.12-slim
  • .github/workflows/ci.yml
    Before: python-version: '3.8'
    After: python-version: '3.12'
  • .tool-versions
    Before: python 3.8
    After: python 3.12

Questions

When is Python 3.8 end of life?
Python 3.8 reached end of life on October 7, 2024. Active Support ended May 3, 2021; Security Support ended October 7, 2024.
What should I upgrade Python 3.8 to?
Upgrade to Python 3.15, supported until October 2031. A fix moves to Python 3.12, the nearest release with a year of support left.
Is Python 3.8 still supported?
No: Security Support ended October 7, 2024.
How do I check which Python version I run?
Run python --version where the code runs.
What is the latest Python 3.8 patch?
Python 3.8's latest patch is 3.8.20, released September 6, 2024.

Source

endoflife.date

Data license: MIT License. Copyright 2020 endoflife.date contributors.

Does your code use it?

Paste a public repository. Since.dev analyzes it and shows the files and lines these dates hit.

Public repository. No sign-in.

A warm wave of orange and red light over deep blue

Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

See how out of date your code is.

Any public GitHub repository. No sign-in.

Tell your agent what changed since it was trained.

claude mcp add --transport http since https://api.since.dev/mcp

Codex, Cursor and any MCP client use https://api.since.dev/mcp.