From aa5a15d925c3c1f8b26ad5bec92c3e0690053f0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20Stankovi=C4=87?= Date: Mon, 27 Mar 2023 13:25:39 +0200 Subject: [PATCH] .circleci: make sure to update pyenv before installing Python --- .circleci/workflows.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.circleci/workflows.yml b/.circleci/workflows.yml index ba0df179a..e62ad6236 100644 --- a/.circleci/workflows.yml +++ b/.circleci/workflows.yml @@ -93,6 +93,12 @@ jobs: - restore-python - restore-python-packages + # make sure pyenv is up to date and able to install our Python version + - run: | + cd $PYENV_ROOT + git fetch --tags + git checkout $(git tag --sort=-committerdate |head -n1) + - run: pyenv install --skip-existing 3.10.10 - run: pyenv global 3.10.10 - run: pip install -U pip