mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-13 04:52:57 +00:00
Upgrade to Python 3.12 (#2072)
This commit is contained in:
@@ -3,6 +3,12 @@
|
|||||||
This changelog only contains breaking and/or significant changes manually introduced to this repository (using Pull Requests).
|
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).
|
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
|
## 2024-10-22
|
||||||
|
|
||||||
Affected: `pyspark-notebook` and `all-spark-notebook` images.
|
Affected: `pyspark-notebook` and `all-spark-notebook` images.
|
||||||
|
@@ -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` |
|
| 2022-10-09 | 22.04 | 3.9 | `ed2908bbb62e` |
|
||||||
| 2023-05-30 | 22.04 | 3.10 | `4d70cf8da953` |
|
| 2023-05-30 | 22.04 | 3.10 | `4d70cf8da953` |
|
||||||
| 2024-08-26 | 22.04 | 3.11 | `00987883e58d` |
|
| 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
|
## Contributing
|
||||||
|
|
||||||
|
@@ -89,7 +89,7 @@ RUN echo "auth requisite pam_deny.so" >> /etc/pam.d/su && \
|
|||||||
USER ${NB_UID}
|
USER ${NB_UID}
|
||||||
|
|
||||||
# Pin the Python version here, or set it to "default"
|
# 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
|
# Setup work directory for backward-compatibility
|
||||||
RUN mkdir "/home/${NB_USER}/work" && \
|
RUN mkdir "/home/${NB_USER}/work" && \
|
||||||
|
@@ -5,7 +5,7 @@ import logging
|
|||||||
from tests.conftest import TrackedContainer
|
from tests.conftest import TrackedContainer
|
||||||
|
|
||||||
LOGGER = logging.getLogger(__name__)
|
LOGGER = logging.getLogger(__name__)
|
||||||
EXPECTED_PYTHON_VERSION = "3.11"
|
EXPECTED_PYTHON_VERSION = "3.12"
|
||||||
|
|
||||||
|
|
||||||
def test_python_version(container: TrackedContainer) -> None:
|
def test_python_version(container: TrackedContainer) -> None:
|
||||||
|
Reference in New Issue
Block a user