Skip to content

Commit 3eccf02

Browse files
committed
tc
1 parent 225a38b commit 3eccf02

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.ci/docker/common/install_python.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ as_ci_user() {
1010
# works around https://github.com/conda/conda-package-handling/pull/34
1111
sudo -E -H -u ci-user env -u SUDO_UID -u SUDO_GID -u SUDO_COMMAND -u SUDO_USER env "PATH=$PATH" "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" $*
1212
}
13-
mkdir -p /opt/venv
13+
python3.10 -m venv /opt/venv/tutorials
14+
source /opt/venv/tutorials/bin/activate
15+
pip install --upgrade pip
16+
pip install -r ./requirements.txt
1417
chown ci-user:ci-user /opt/venv
15-
as_ci_user python3.10 -m venv /opt/venv/tutorials
16-
as_ci_user bash source /opt/venv/tutorials/bin/activate
17-
as_ci_user pip install --upgrade pip
18-
as_ci_user pip install -r ./requirements.txt

0 commit comments

Comments
 (0)