From 8f3dce139302d355b323768b3d1682d1bdc8dfa7 Mon Sep 17 00:00:00 2001 From: Maxwell Muoto <41130755+max-muoto@users.noreply.github.com> Date: Sun, 10 Mar 2024 12:08:37 -0500 Subject: [PATCH 1/8] Upgrade to 3.12 --- README.md | 3 ++- images/docker-stacks-foundation/Dockerfile | 2 +- tests/docker-stacks-foundation/test_python_version.py | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d2b655af71..676edf27ac 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,8 @@ If you want to use the older `Ubuntu` and/or `Python` version, you can use the f | 2022-10-09 | 22.04 | 3.8 | `7285848c0a11` | | 2022-10-09 | 22.04 | 3.9 | `ed2908bbb62e` | | 2023-05-30 | 22.04 | 3.10 | `4d70cf8da953` | -| weekly build | 22.04 | 3.11 | `latest` | +| 2024-03-06 | 22.04 | 3.11 | `07dc2d08734b` | +| weekly build | 22.04 | 3.12 | `latest` | ## Contributing diff --git a/images/docker-stacks-foundation/Dockerfile b/images/docker-stacks-foundation/Dockerfile index f6b38c8c08..ee68ac523e 100644 --- a/images/docker-stacks-foundation/Dockerfile +++ b/images/docker-stacks-foundation/Dockerfile @@ -79,7 +79,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" && \ diff --git a/tests/docker-stacks-foundation/test_python_version.py b/tests/docker-stacks-foundation/test_python_version.py index 559853abb6..bf81df8356 100644 --- a/tests/docker-stacks-foundation/test_python_version.py +++ b/tests/docker-stacks-foundation/test_python_version.py @@ -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: From e4b6dadce755b7381e558a7bebb9aeea92fa6ded Mon Sep 17 00:00:00 2001 From: Maxwell Muoto <41130755+max-muoto@users.noreply.github.com> Date: Sun, 10 Mar 2024 12:49:49 -0500 Subject: [PATCH 2/8] Upgrade Pandas --- images/pyspark-notebook/Dockerfile | 2 +- tests/pyspark-notebook/units/unit_pandas_version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/images/pyspark-notebook/Dockerfile b/images/pyspark-notebook/Dockerfile index c9c9326b47..e93a0913f1 100644 --- a/images/pyspark-notebook/Dockerfile +++ b/images/pyspark-notebook/Dockerfile @@ -63,7 +63,7 @@ USER ${NB_UID} RUN mamba install --yes \ 'grpcio-status' \ 'grpcio' \ - 'pandas=2.0.3' \ + 'pandas=2.2.1' \ 'pyarrow' && \ mamba clean --all -f -y && \ fix-permissions "${CONDA_DIR}" && \ diff --git a/tests/pyspark-notebook/units/unit_pandas_version.py b/tests/pyspark-notebook/units/unit_pandas_version.py index 03920db4b4..61b2f2e8bb 100644 --- a/tests/pyspark-notebook/units/unit_pandas_version.py +++ b/tests/pyspark-notebook/units/unit_pandas_version.py @@ -2,4 +2,4 @@ # Distributed under the terms of the Modified BSD License. import pandas -assert pandas.__version__ == "2.0.3" +assert pandas.__version__ == "2.2.1" From 70b2ba6e0f272973346f9ac00f90faee36e11fd0 Mon Sep 17 00:00:00 2001 From: Ayaz Salikhov Date: Sun, 29 Sep 2024 21:57:43 +0200 Subject: [PATCH 3/8] Update Dockerfile --- images/pyspark-notebook/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/pyspark-notebook/Dockerfile b/images/pyspark-notebook/Dockerfile index e93a0913f1..f440aa2c74 100644 --- a/images/pyspark-notebook/Dockerfile +++ b/images/pyspark-notebook/Dockerfile @@ -63,7 +63,7 @@ USER ${NB_UID} RUN mamba install --yes \ 'grpcio-status' \ 'grpcio' \ - 'pandas=2.2.1' \ + 'pandas=2.2.2' \ 'pyarrow' && \ mamba clean --all -f -y && \ fix-permissions "${CONDA_DIR}" && \ From 7eb512ab7352269208d053ca9db7b71e65b461a0 Mon Sep 17 00:00:00 2001 From: Ayaz Salikhov Date: Mon, 30 Sep 2024 12:22:23 +0200 Subject: [PATCH 4/8] Update unit_pandas_version.py --- tests/pyspark-notebook/units/unit_pandas_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pyspark-notebook/units/unit_pandas_version.py b/tests/pyspark-notebook/units/unit_pandas_version.py index 61b2f2e8bb..802a219215 100644 --- a/tests/pyspark-notebook/units/unit_pandas_version.py +++ b/tests/pyspark-notebook/units/unit_pandas_version.py @@ -2,4 +2,4 @@ # Distributed under the terms of the Modified BSD License. import pandas -assert pandas.__version__ == "2.2.1" +assert pandas.__version__ == "2.2.2" From 9abaf2a7818cf42af1667cbd7a26a0450d42f50c Mon Sep 17 00:00:00 2001 From: Ayaz Salikhov Date: Tue, 22 Oct 2024 11:58:57 +0100 Subject: [PATCH 5/8] Update CHANGELOG.md --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8da0848ab5..bfd4280443 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 users + +- **Breaking:** Switch to Python 3.12 in all the images. + ## 2024-10-22 Affected: `pyspark-notebook` and `all-spark-notebook` images users From 0f5e3cebbd33656f962bf6bc21dc9eb19bd49b36 Mon Sep 17 00:00:00 2001 From: Ayaz Salikhov Date: Tue, 22 Oct 2024 12:08:49 +0100 Subject: [PATCH 6/8] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bfd4280443..7cd47acf53 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ All image manifests can be found in [the wiki](https://github.com/jupyter/docker Affected: all images users -- **Breaking:** Switch to Python 3.12 in all the images. +- **Breaking:** Switch to Python 3.12 ([#2072](https://github.com/jupyter/docker-stacks/pull/2072)). ## 2024-10-22 From 9d6073aa95c75eb26fe34fdb752959df89ea42d7 Mon Sep 17 00:00:00 2001 From: Ayaz Salikhov Date: Tue, 22 Oct 2024 12:12:43 +0100 Subject: [PATCH 7/8] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 05c3ea6801..fcda303fa9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ All image manifests can be found in [the wiki](https://github.com/jupyter/docker ## 2024-10-23 -Affected: all images users +Affected: all images. - **Breaking:** Switch to Python 3.12 ([#2072](https://github.com/jupyter/docker-stacks/pull/2072)). From 56ff72e736fb231673c33de88c554882a3ad0945 Mon Sep 17 00:00:00 2001 From: Ayaz Salikhov Date: Tue, 22 Oct 2024 13:00:24 +0100 Subject: [PATCH 8/8] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 90e82cc8a9..426d7bad9c 100644 --- a/README.md +++ b/README.md @@ -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