From 9d8157aff4063970bec119cf56ddcd650a687306 Mon Sep 17 00:00:00 2001 From: Maxim Kochurov Date: Thu, 11 Aug 2022 11:38:16 +0300 Subject: [PATCH 1/6] Update .gitpod.yml --- .gitpod.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitpod.yml b/.gitpod.yml index 2a8500e3c..3cb85602a 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,4 +1,3 @@ -image: numpy/numpy-gitpod:latest tasks: - name: initialize init: | From 32531dc9620a2b12bce08da53f78ef31443d83a3 Mon Sep 17 00:00:00 2001 From: Maxim Kochurov Date: Thu, 11 Aug 2022 11:44:09 +0300 Subject: [PATCH 2/6] Update .gitpod.yml --- .gitpod.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitpod.yml b/.gitpod.yml index 3cb85602a..dc26b4ddc 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,12 +1,16 @@ +image: ghcr.io/conda/conda-ci:main-linux-python3.9 tasks: - name: initialize init: | mkdir -p .vscode echo '{"python.defaultInterpreterPath": "/home/gitpod/mambaforge3/envs/pymc-test-py39/bin/python"}' > .vscode/settings.json + eval "$(sudo /opt/conda/bin/python -m conda init --dev bash)" conda create -yf conda-envs/environment-test-py39.yml conda activate pymc-test-py39 pip install -r requirements-dev.txt pip install -e . + command: | + eval "$(sudo /opt/conda/bin/python -m conda init --dev bash)" vscode: extensions: From 24406b9e73a719ccf5fb525e5a96a702cabf8a24 Mon Sep 17 00:00:00 2001 From: Maxim Kochurov Date: Fri, 19 Aug 2022 15:23:35 +0300 Subject: [PATCH 3/6] Update .gitpod.yml --- .gitpod.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index dc26b4ddc..b3d0e340b 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -4,13 +4,12 @@ tasks: init: | mkdir -p .vscode echo '{"python.defaultInterpreterPath": "/home/gitpod/mambaforge3/envs/pymc-test-py39/bin/python"}' > .vscode/settings.json - eval "$(sudo /opt/conda/bin/python -m conda init --dev bash)" - conda create -yf conda-envs/environment-test-py39.yml + conda env update -f conda-envs/environment-test-py39.yml conda activate pymc-test-py39 pip install -r requirements-dev.txt pip install -e . command: | - eval "$(sudo /opt/conda/bin/python -m conda init --dev bash)" + conda activate pymc-test-py39 vscode: extensions: From 875b1fee8fc4d544bfdfbdfaa5c35b377b56bf52 Mon Sep 17 00:00:00 2001 From: Maxim Kochurov Date: Fri, 19 Aug 2022 15:26:36 +0300 Subject: [PATCH 4/6] Update .gitpod.yml --- .gitpod.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitpod.yml b/.gitpod.yml index b3d0e340b..291becd7f 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -4,12 +4,13 @@ tasks: init: | mkdir -p .vscode echo '{"python.defaultInterpreterPath": "/home/gitpod/mambaforge3/envs/pymc-test-py39/bin/python"}' > .vscode/settings.json + conda init bash && source ~/.bashrc conda env update -f conda-envs/environment-test-py39.yml conda activate pymc-test-py39 pip install -r requirements-dev.txt pip install -e . command: | - conda activate pymc-test-py39 + conda init bash && source ~/.bashrc && conda activate pymc-test-py39 vscode: extensions: From 31dc7ac7eea667a2229538068e884272826d4d58 Mon Sep 17 00:00:00 2001 From: Maxim Kochurov Date: Fri, 19 Aug 2022 15:32:32 +0300 Subject: [PATCH 5/6] Update .gitpod.yml --- .gitpod.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitpod.yml b/.gitpod.yml index 291becd7f..ed9dfb0d9 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -3,7 +3,7 @@ tasks: - name: initialize init: | mkdir -p .vscode - echo '{"python.defaultInterpreterPath": "/home/gitpod/mambaforge3/envs/pymc-test-py39/bin/python"}' > .vscode/settings.json + echo '{"python.defaultInterpreterPath": "/home/gitpod/.conda/envs/pymc-test-py39/bin/python"}' > .vscode/settings.json conda init bash && source ~/.bashrc conda env update -f conda-envs/environment-test-py39.yml conda activate pymc-test-py39 From 9f850023d20677a3f5ca09ec9414929528e6750f Mon Sep 17 00:00:00 2001 From: Maxim Kochurov Date: Fri, 19 Aug 2022 15:55:55 +0300 Subject: [PATCH 6/6] Update .gitpod.yml --- .gitpod.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitpod.yml b/.gitpod.yml index ed9dfb0d9..4b3062238 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -10,7 +10,7 @@ tasks: pip install -r requirements-dev.txt pip install -e . command: | - conda init bash && source ~/.bashrc && conda activate pymc-test-py39 + conda init bash && echo "conda activate pymc-test-py39" >> ~/.bashrc && source ~/.bashrc && conda activate pymc-test-py39 vscode: extensions: