Python 3.10 end of life
Python 3.10 reached its end of life on Oct 1, 2026. It no longer gets security fixes, and since your app keeps running, nothing tells you.
Ended Oct 1, 2026Move to Python 3.12
What to move to: Python 3.12
Python 3.12 is the oldest version still supported for at least another year, until Oct 31, 2028. Jumping further than you need adds risk for no benefit; jumping less means doing this again soon.
Where the version hides
The same version is usually written in several files, and they all have to change together. Examples of each, moving to Python 3.12:
| File (example) | Before | After |
|---|---|---|
.python-version | 3.10 | 3.12 |
runtime.txt | python-3.10.0 | python-3.12 |
Dockerfile | python:3.10-slim | python:3.12-slim |
.github/workflows/ci.yml | python-version: 3.10 | python-version: 3.12 |
Doing it yourself
- Search the repository for
3.10in version files, Dockerfiles and CI workflows, not just the main manifest. - Check your Dockerfile's own
pip installlines too: a version pinned there may have no build for the new Python, even when requirements.txt is fine. - Keep or update any test matrix that lists several versions on purpose; that's a choice, not a pin.
- Run your tests on the old version first, then on the new one, so failures that were already there aren't blamed on the upgrade.
Let Versyka open the pull request
Versyka finds every place Python 3.10 is set in your repositories, changes them together to Python 3.12, and runs your checks on the old version and then the new one in a sandbox. The pull request opens only if nothing new fails, and lists anything it left for you to decide. It's a version upgrade, so it's unlimited on every plan, the free one included.
Questions
When is Python 3.10 end of life?
Oct 1, 2026. It has ended, so it no longer gets security fixes.
What should I upgrade Python 3.10 to?
Python 3.12, the oldest version still supported for at least another year (until Oct 31, 2028). It's the smallest jump that won't need moving again soon.
Where is the Python version set in a project?
Usually in several places at once: .python-version, runtime.txt, a Dockerfile's FROM python: line, CI workflows (python-version:), and requires-python in pyproject.toml. All of them need to change together.
Can Versyka upgrade Python 3.10 for me?
Yes. It changes every pin together, runs your checks on the old version and then the new one, and opens a pull request only if nothing new fails. It's unlimited on every plan, the free one included.
Other Python versions
Python 3.8 · Python 3.9 · Python 3.11 · Python 3.12 · Python 3.13 · Python 3.14 · All versions