Skip to content

Commit

Permalink
CircleCI: stop upgrading pyenv (neuronsimulator#2723)
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
Nicolas Cornu authored Feb 14, 2024
1 parent 2813450 commit 4156d23
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4156d23

Please sign in to comment.