From f3a92fadb74b9907400428e5b4cb38cda93bde08 Mon Sep 17 00:00:00 2001 From: Ayaz Salikhov Date: Mon, 17 Feb 2025 18:01:59 +0000 Subject: [PATCH] Pin some packages to fix `r-notebook` and `datascience-notebook` under aarch64 (#2215) --- images/datascience-notebook/Dockerfile | 3 +++ images/r-notebook/Dockerfile | 3 +++ tests/docker-stacks-foundation/test_packages.py | 2 ++ 3 files changed, 8 insertions(+) diff --git a/images/datascience-notebook/Dockerfile b/images/datascience-notebook/Dockerfile index ab7a8454..029a7104 100644 --- a/images/datascience-notebook/Dockerfile +++ b/images/datascience-notebook/Dockerfile @@ -57,6 +57,9 @@ RUN mamba install --yes \ 'r-tidymodels' \ 'r-tidyverse' \ 'rpy2' \ + # Temporary fix + 'r-parsnip<1.3.0' \ + 'r-recipes<1.1.1' \ 'unixodbc' && \ mamba clean --all -f -y && \ fix-permissions "${CONDA_DIR}" && \ diff --git a/images/r-notebook/Dockerfile b/images/r-notebook/Dockerfile index 39cbebdd..a26eac67 100644 --- a/images/r-notebook/Dockerfile +++ b/images/r-notebook/Dockerfile @@ -48,6 +48,9 @@ RUN mamba install --yes \ 'r-shiny' \ 'r-tidymodels' \ 'r-tidyverse' \ + # Temporary fix + 'r-parsnip<1.3.0' \ + 'r-recipes<1.1.1' \ 'unixodbc' && \ mamba clean --all -f -y && \ fix-permissions "${CONDA_DIR}" && \ diff --git a/tests/docker-stacks-foundation/test_packages.py b/tests/docker-stacks-foundation/test_packages.py index b6b8e632..2b96602d 100644 --- a/tests/docker-stacks-foundation/test_packages.py +++ b/tests/docker-stacks-foundation/test_packages.py @@ -81,6 +81,8 @@ EXCLUDED_PACKAGES = [ "openssl", "protobuf", "python", + "r-parsnip<1.3.0", + "r-recipes<1.1.1", "r-irkernel", "unixodbc", ]