diff options
author | 2024-01-31 20:41:28 +0800 | |
---|---|---|
committer | 2024-01-31 12:41:28 +0000 | |
commit | 4ffaf2999466320babf08d37f6667a05bcb48c62 (patch) | |
tree | a8132380dd4e9b99ed7af2603cec29df5ad4d28a | |
parent | Bump ruff from 0.1.14 to 0.1.15 (#1439) (diff) |
Fix gitpod support (#1441)
- Use python 3.11 as required by poetry
- Fix poetry install error on workspace refresh
-rw-r--r-- | .gitpod.yml | 6 |
1 files 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" |