Skip to content

Commit e8e06f4

Browse files
committed
Switch to Python 3.13
1 parent 81bf722 commit e8e06f4

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
This changelog only contains breaking and/or significant changes manually introduced to this repository (using Pull Requests).
44
All image manifests can be found in [the wiki](https://github.com/jupyter/docker-stacks/wiki).
55

6+
## UNRELEASED
7+
8+
Affected: all images.
9+
10+
- **Breaking:** `docker-stacks-foundation`: switch to Python 3.13 ([#2163](https://github.com/jupyter/docker-stacks/pull/2163)).
11+
612
## 2025-04-13
713

814
Affected: `tensorflow-notebook`.

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ help:
3838
# Note that `ROOT_IMAGE` and `PYTHON_VERSION` arguments are only applicable to the `docker-stacks-foundation` image
3939
build/%: DOCKER_BUILD_ARGS?=
4040
build/%: ROOT_IMAGE?=ubuntu:24.04
41-
build/%: PYTHON_VERSION?=3.12
41+
build/%: PYTHON_VERSION?=3.13
4242
build/%: ## build the latest image for a stack using the system's architecture
4343
docker build $(DOCKER_BUILD_ARGS) --rm --force-rm \
4444
--tag "$(REGISTRY)/$(OWNER)/$(notdir $@)" \

images/docker-stacks-foundation/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ RUN echo "auth requisite pam_deny.so" >> /etc/pam.d/su && \
8989
USER ${NB_UID}
9090

9191
# Pin the Python version here, or set it to "default"
92-
ARG PYTHON_VERSION=3.12
92+
ARG PYTHON_VERSION=3.13
9393

9494
# Setup work directory for backward-compatibility
9595
RUN mkdir "/home/${NB_USER}/work" && \

tests/by_image/docker-stacks-foundation/test_python_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from tests.utils.tracked_container import TrackedContainer
66

77
LOGGER = logging.getLogger(__name__)
8-
EXPECTED_PYTHON_VERSION = "3.12"
8+
EXPECTED_PYTHON_VERSION = "3.13"
99

1010

1111
def test_python_version(container: TrackedContainer) -> None:

0 commit comments

Comments
 (0)