Skip to content

Commit 2063d5b

Browse files
committed
Switch to Python 3.13
1 parent 08cc9f7 commit 2063d5b

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ RUN rm -rf "/home/${NB_USER}/.cache/"
9595
USER ${NB_UID}
9696

9797
# Pin the Python version here, or set it to "default"
98-
ARG PYTHON_VERSION=3.12
98+
ARG PYTHON_VERSION=3.13
9999

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

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

Lines changed: 1 addition & 1 deletion
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)