From 9e7e53d45d9b70bed9317eda16940f20b0d11ff6 Mon Sep 17 00:00:00 2001 From: Brian Seymour Date: Sun, 29 Mar 2020 16:25:39 -0500 Subject: [PATCH] use latest version of python in executor --- lxc/executors/python3 | 2 +- readme.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lxc/executors/python3 b/lxc/executors/python3 index e7eb67b..0749d88 100755 --- a/lxc/executors/python3 +++ b/lxc/executors/python3 @@ -1,2 +1,2 @@ cd /tmp/$2 -runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 python3.6 code.code" +runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 python3.8 code.code" diff --git a/readme.md b/readme.md index f05cb3a..a44a202 100644 --- a/readme.md +++ b/readme.md @@ -67,6 +67,7 @@ tar -xf Python-3.8.2.tar cd Python-3.8.2 ./configure make +ln -s python python3.8 echo 'export PATH=$PATH:/opt/python3/Python-3.8.2' >> /opt/.profile source /opt/.profile