Skip to content

Commit 3bd0e30

Browse files
committed
Bump default Python version to 3.12
1 parent 9a2102b commit 3bd0e30

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.env

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PYTHON_IMPLEMENTATION=python
2-
PYTHON_VERSION=3.10
2+
PYTHON_VERSION=3.12
33
MARIADB_VERSION=10.5
44
MYSQL_VERSION=8.0
55
ORACLE_VERSION=23.5.0.0

Containerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# syntax=docker/dockerfile:1.12
22

33
ARG PYTHON_IMPLEMENTATION=python
4-
ARG PYTHON_VERSION=3.10
4+
ARG PYTHON_VERSION=3.12
55
FROM ${PYTHON_IMPLEMENTATION}:${PYTHON_VERSION}-slim-bookworm
66

77
LABEL org.opencontainers.image.authors="Django Software Foundation"

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ environment variables:
193193
| ----------------------- | ------------- | ---------------------------------------------------- |
194194
| `DJANGO_PATH` | `../django` | Path to the Django repostory on your local machine |
195195
| `PYTHON_IMPLEMENTATION` | `python` | Implementation of Python to use — `python` or `pypy` |
196-
| `PYTHON_VERSION` | `3.10` | Version of Python container image to use |
196+
| `PYTHON_VERSION` | `3.12` | Version of Python container image to use |
197197

198198
The versions of various backend services can be switched by setting these environment variables:
199199

@@ -212,7 +212,7 @@ The `PYTHON_VERSION` environment variable controls which version of Python you
212212
are running the tests against, e.g.
213213

214214
```console
215-
$ PYTHON_VERSION=3.10 docker compose run --rm sqlite
215+
$ PYTHON_VERSION=3.12 docker compose run --rm sqlite
216216
```
217217

218218
In addition, it's possible to select a different implementation of Python, i.e.

0 commit comments

Comments
 (0)