Python 3.13 end of life
Python 3.13 is supported until Oct 31, 2029. After that, it gets no more security fixes.
Supported until Oct 31, 2029Move to Python 3.14
What to move to: Python 3.14
Python 3.14 is the oldest version still supported for at least another year, until Oct 31, 2030. 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.14:
| File (example) | Before | After |
|---|---|---|
.python-version | 3.13 | 3.14 |
runtime.txt | python-3.13.0 | python-3.14 |
Dockerfile | python:3.13-slim | python:3.14-slim |
.github/workflows/ci.yml | python-version: 3.13 | python-version: 3.14 |
Doing it yourself
- Search the repository for
3.13in 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.13 is set in your repositories, changes them together to Python 3.14, 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.13 end of life?
Oct 31, 2029. That's 1073 days from now.
What should I upgrade Python 3.13 to?
Python 3.14, the oldest version still supported for at least another year (until Oct 31, 2030). 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.13 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.10 · Python 3.11 · Python 3.12 · Python 3.14 · All versions