Skip to content

Commit

Permalink
Upgrade to Python 3.12 (#2072)
Browse files Browse the repository at this point in the history
  • Loading branch information
max-muoto authored Oct 23, 2024
1 parent 2b40f48 commit a096c2b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion images/docker-stacks-foundation/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" && \
Expand Down
2 changes: 1 addition & 1 deletion tests/docker-stacks-foundation/test_python_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a096c2b

Please sign in to comment.