Skip to content
Snippets Groups Projects
Commit e4cb00e6 authored by Johannes Schumann's avatar Johannes Schumann
Browse files

Use pyenv as workaround for missing py3 in the singularity image

parent d71a3208
No related branches found
Tags v0.1
1 merge request!1Merge python environment
Pipeline #8681 failed
......@@ -11,7 +11,7 @@ variables:
cache:
paths:
- .cache/pip
- venv/
- pyenv/
key: "$CI_COMMIT_REF_SLUG"
......@@ -22,10 +22,11 @@ stages:
- release
.virtualenv_template: &virtualenv_definition |
python -V
pip install virtualenv
virtualenv venv
source venv/bin/activate
git clone https://github.com/pyenv/pyenv.git pyenv
export PYENV_ROOT=`pwd`/pyenv
export PATH="$PYENV_ROOT/bin:$PATH"
pyenv init
pyenv install 3.8.0
pip install -U pip setuptools
make install
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment