Skip to content

Commit 45abbce

Browse files
authored
Switch to Python 3.13 (#2163)
* Switch to Python 3.13 * Update CHANGELOG.md * Update README.md
1 parent 0e93db9 commit 45abbce

File tree

5 files changed

+11
-4
lines changed

5 files changed

+11
-4
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+
## 2025-08-15
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 $@)" \

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ If you want to use the older `Ubuntu` and/or `Python` version, you can use the f
123123
| 2023-05-30 | 22.04 | 3.10 | `4d70cf8da953` |
124124
| 2024-08-26 | 22.04 | 3.11 | `00987883e58d` |
125125
| 2024-10-22 | 24.04 | 3.11 | `b74418220768` |
126-
| weekly build | 24.04 | 3.12 | `latest` |
126+
| 2025-08-11 | 24.04 | 3.12 | `82d322f00937` |
127+
| weekly build | 24.04 | 3.13 | `latest` |
127128

128129
## Contributing
129130

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)