aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ~hedy <[email protected]>2024-01-31 20:41:28 +0800
committerGravatar GitHub <[email protected]>2024-01-31 12:41:28 +0000
commit4ffaf2999466320babf08d37f6667a05bcb48c62 (patch)
treea8132380dd4e9b99ed7af2603cec29df5ad4d28a
parentBump 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.yml6
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"