Upgrade to Python 3.12 (#2072)

This commit is contained in:
Max Muoto
2024-10-23 00:58:47 -07:00
committed by GitHub
parent 2b40f486b6
commit a096c2b102
4 changed files with 10 additions and 3 deletions

View File

@@ -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.

View File

@@ -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

View File

@@ -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" && \

View File

@@ -5,7 +5,7 @@ import logging
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: