From 4156d23ff330584332ccf6c199c7aec9fcb682e9 Mon Sep 17 00:00:00 2001 From: Nicolas Cornu Date: Wed, 14 Feb 2024 12:51:34 +0100 Subject: [PATCH] CircleCI: stop upgrading pyenv (#2723) It is no more possible to git fetch the pyenv because this is owned by root. So just remove this step because we don't really need it anymore (3.12 is now available). --- .circleci/config.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6ec6f56ba6..737c5cc777 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -54,10 +54,9 @@ jobs: 310) pyenv_py_ver="3.10" ;; 311) pyenv_py_ver="3.11" ;; 312) pyenv_py_ver="3.12" ;; - *) echo "Error: pyenv python version not specified!" && exit 1;; + *) echo "Error: pyenv python version not specified or not supported." && exit 1;; esac - cd /opt/circleci/.pyenv/plugins/python-build/../.. && git fetch --all && git checkout -B master origin/master && cd - env PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install $pyenv_py_ver --force pyenv global $pyenv_py_ver export PYTHON_EXE=$(which python)