Python 3.15
Current Python feature release. Do not replace your system Python: distributions build tooling against the version they ship, and installing a second interpreter alongside is the supported approach.
Download TAR.XZ Project website ↗Download Mirrors
Python 3.15 was released on October 9, 2026. We covered it in the news.
Do not replace your system Python
The single most important thing on this page.
Your distribution builds dnf, apt tooling, firewalld, cloud-init and a long list of other software against the Python version it ships. Replacing /usr/bin/python3 breaks package management, and recovering from that is unpleasant.
python3 --version
ls -l /usr/bin/python3
dnf repoquery --whatrequires python3 2>/dev/null | head
Install a second interpreter alongside instead. Our managing Python versions guide covers the options properly:
# Debian and Ubuntu, via deadsnakes or similar
sudo apt install python3.15 python3.15-venv
# Fedora ships parallel versions
sudo dnf install python3.15
# or build to /opt, never over the system one
./configure --prefix=/opt/python3.15 --enable-optimizations
make -j"$(nproc)" && sudo make altinstall
make altinstall rather than make install. The former does not create the python3 symlink, which is exactly what you want.
Virtual environments are not optional
python3.15 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
On many distributions pip install outside a venv now refuses outright, which is a correct default. Our Python versions guide covers uv and pipx as the modern alternatives for tools and projects respectively.
# for CLI tools rather than libraries
pipx install ruff
Why the version matters for self-hosting
A good deal of self-hosted software pins Python versions, and a distribution that ships only the newest interpreter can make older applications awkward to run. Running them in a container sidesteps the problem entirely, per our container basics guide and distrobox guide.
Verify Your Download
curl -O https://www.python.org/ftp/python/3.15.0/Python-3.15.0.tar.xz
curl -O https://www.python.org/ftp/python/3.15.0/Python-3.15.0.tar.xz.asc
gpg --verify Python-3.15.0.tar.xz.asc Python-3.15.0.tar.xz
Release manager keys are listed on the downloads page. Our checksums guide covers verifying origin rather than only integrity.