From 8e1c7b3e1b50101af47f88cb97d3ba57e360dbb1 Mon Sep 17 00:00:00 2001 From: serkor1 <77464572+serkor1@users.noreply.github.com> Date: Mon, 6 Jan 2025 21:17:07 +0100 Subject: [PATCH] Set Python version to v3.12.8 --- .github/actions/setup-reticulate/action.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/actions/setup-reticulate/action.yml b/.github/actions/setup-reticulate/action.yml index faee5f1..fada204 100644 --- a/.github/actions/setup-reticulate/action.yml +++ b/.github/actions/setup-reticulate/action.yml @@ -5,7 +5,7 @@ inputs: python-version: description: "Python version to install" required: true - default: "3.12.x" + default: "3.12.8" outputs: reticulate-python: @@ -32,19 +32,11 @@ runs: PYTHON_VERSION: ${{ inputs.python-version }} run: | - # 1) get python version - # NOTE: it's on the form 3.12.x - python_version <- paste0(">=",gsub( - pattern = ".x", - replacement = "", - x = Sys.getenv("PYTHON_VERSION") - )) - # 2) create virtual environment # with specified version path_to_python <- reticulate::virtualenv_create( envname = "r-reticulate", - python_version = python_version, + python_version = Sys.getenv("PYTHON_VERSION"), packages = c( "numpy", "scipy",