From 4ffaf2999466320babf08d37f6667a05bcb48c62 Mon Sep 17 00:00:00 2001 From: ~hedy Date: Wed, 31 Jan 2024 20:41:28 +0800 Subject: Fix gitpod support (#1441) - Use python 3.11 as required by poetry - Fix poetry install error on workspace refresh --- .gitpod.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index a10e6e26..d80a8c2e 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,5 +1,5 @@ tasks: - name: "Python Environment" - before: "pyenv install 3.9.6 && pyenv global 3.9.6" - init: "pip install poetry && export PIP_USER=false" - command: "poetry install && poetry run pre-commit install" + before: "pyenv install 3.11 && pyenv global 3.11" + init: "pip install poetry" + command: "export PIP_USER=false && poetry install && poetry run pre-commit install" -- cgit v1.2.3