Python 3.7 end of life

Python 3.7 reached end of life on . Upgrade to Python 3.15, supported until October 2031. Its latest patch is 3.7.17, released June 5, 2023.

Support

Released
Active Support
Ended
Security Support
Ended
Latest
3.7.17,
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. ended October 1, 2026
  2. ended October 31, 2025
  3. ended October 7, 2024
  4. Python 3.7
    ended June 27, 2023
  5. Python 3.6
    ended December 23, 2021
  6. Python 3.5
    ended September 30, 2020
  7. Python 3.4
    ended March 18, 2019

Every Python release

In your code

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

Questions

When is Python 3.7 end of life?
Python 3.7 reached end of life on June 27, 2023. Active Support ended June 27, 2020; Security Support ended June 27, 2023.
What should I upgrade Python 3.7 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.7 still supported?
No: Security Support ended June 27, 2023.
How do I check which Python version I run?
Run python --version where the code runs.
What is the latest Python 3.7 patch?
Python 3.7's latest patch is 3.7.17, released June 5, 2023.

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.