From 4bd03456827509bb6cbc312e98219d9b37ea490f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=9Clgen=20Sar=C4=B1kavak?= Date: Sat, 22 Nov 2025 14:56:11 +0300 Subject: [PATCH] Bump default Python version to the latest stable (3.14) Following up https://github.com/django/django-docker-box/pull/57 --- .env | 2 +- .github/workflows/lint.yml | 2 +- Containerfile | 2 +- README.md | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.env b/.env index e06a474..c611e2f 100644 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ PYTHON_IMPLEMENTATION=python -PYTHON_VERSION=3.13 +PYTHON_VERSION=3.14 MARIADB_VERSION=10.6 MYSQL_VERSION=8.4 ORACLE_VERSION=23.5.0.0 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 13f8e2c..134582c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -30,7 +30,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.13' + python-version: '3.14' cache: pip - name: Install packages run: python -m pip install --upgrade pip pre-commit diff --git a/Containerfile b/Containerfile index 925cf18..27055c1 100644 --- a/Containerfile +++ b/Containerfile @@ -1,7 +1,7 @@ # syntax=docker/dockerfile:1.12 ARG PYTHON_IMPLEMENTATION=python -ARG PYTHON_VERSION=3.13 +ARG PYTHON_VERSION=3.14 FROM ${PYTHON_IMPLEMENTATION}:${PYTHON_VERSION}-slim-bookworm LABEL org.opencontainers.image.authors="Django Software Foundation" diff --git a/README.md b/README.md index 899cd4b..c34212f 100644 --- a/README.md +++ b/README.md @@ -193,7 +193,7 @@ environment variables: | ----------------------- | ------------- | ---------------------------------------------------- | | `DJANGO_PATH` | `../django` | Path to the Django repostory on your local machine | | `PYTHON_IMPLEMENTATION` | `python` | Implementation of Python to use — `python` or `pypy` | -| `PYTHON_VERSION` | `3.13` | Version of Python container image to use | +| `PYTHON_VERSION` | `3.14` | Version of Python container image to use | The versions of various backend services can be switched by setting these environment variables: @@ -212,7 +212,7 @@ The `PYTHON_VERSION` environment variable controls which version of Python you are running the tests against, e.g. ```console -$ PYTHON_VERSION=3.13 docker compose run --rm sqlite +$ PYTHON_VERSION=3.14 docker compose run --rm sqlite ``` In addition, it's possible to select a different implementation of Python, i.e.