diff --git a/CHANGELOG.md b/CHANGELOG.md index aff4dab31..fcda303fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ This changelog only contains breaking and/or significant changes manually introduced to this repository (using Pull Requests). All image manifests can be found in [the wiki](https://github.com/jupyter/docker-stacks/wiki). +## 2024-10-23 + +Affected: all images. + +- **Breaking:** Switch to Python 3.12 ([#2072](https://github.com/jupyter/docker-stacks/pull/2072)). + ## 2024-10-22 Affected: `pyspark-notebook` and `all-spark-notebook` images. diff --git a/README.md b/README.md index 90e82cc8a..426d7bad9 100644 --- a/README.md +++ b/README.md @@ -120,7 +120,8 @@ If you want to use the older `Ubuntu` and/or `Python` version, you can use the f | 2022-10-09 | 22.04 | 3.9 | `ed2908bbb62e` | | 2023-05-30 | 22.04 | 3.10 | `4d70cf8da953` | | 2024-08-26 | 22.04 | 3.11 | `00987883e58d` | -| weekly build | 24.04 | 3.11 | `latest` | +| 2024-10-22 | 24.04 | 3.11 | `b74418220768` | +| weekly build | 24.04 | 3.12 | `latest` | ## Contributing diff --git a/images/docker-stacks-foundation/Dockerfile b/images/docker-stacks-foundation/Dockerfile index 284d43d4f..8dab69302 100644 --- a/images/docker-stacks-foundation/Dockerfile +++ b/images/docker-stacks-foundation/Dockerfile @@ -89,7 +89,7 @@ RUN echo "auth requisite pam_deny.so" >> /etc/pam.d/su && \ USER ${NB_UID} # Pin the Python version here, or set it to "default" -ARG PYTHON_VERSION=3.11 +ARG PYTHON_VERSION=3.12 # Setup work directory for backward-compatibility RUN mkdir "/home/${NB_USER}/work" && \ diff --git a/tests/docker-stacks-foundation/test_python_version.py b/tests/docker-stacks-foundation/test_python_version.py index 559853abb..bf81df835 100644 --- a/tests/docker-stacks-foundation/test_python_version.py +++ b/tests/docker-stacks-foundation/test_python_version.py @@ -5,7 +5,7 @@ from tests.conftest import TrackedContainer LOGGER = logging.getLogger(__name__) -EXPECTED_PYTHON_VERSION = "3.11" +EXPECTED_PYTHON_VERSION = "3.12" def test_python_version(container: TrackedContainer) -> None: