Skip to content

Commit 9bf7d8d

Browse files
committed
using pytest 6.2.5 to avoid issue with python 3.10
1 parent 39fceed commit 9bf7d8d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"extensions": ["learn-pack.learnpack-vscode"]
2222
}
2323
},
24-
"onCreateCommand": "pip3 install pytest==4.6.0 pytest-testdox mock && npm i @learnpack/learnpack@2.1.20 -g && learnpack plugins:install @learnpack/python@1.0.0"
24+
"onCreateCommand": "pip3 install pytest==6.2.5 pytest-testdox mock && npm i @learnpack/learnpack@2.1.20 -g && learnpack plugins:install @learnpack/python@1.0.0"
2525

2626
// Features to add to the dev container. More info: https://containers.dev/features.
2727
// "features": {},

.gitpod.Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@ FROM gitpod/workspace-full:latest
22

33
USER gitpod
44

5-
RUN pip3 install pytest==4.6.0 pytest-testdox mock
5+
RUN pyenv update && pyenv install 3.10.7 && pyenv global 3.10.7
6+
7+
RUN pip3 install pytest==6.2.5 pytest-testdox mock
68
RUN npm i @learnpack/learnpack@2.1.20 -g && learnpack plugins:install @learnpack/python@1.0.0

0 commit comments

Comments
 (0)