Fix the recent issue with python3
[releng/builder.git] / jjb / autorelease / autorelease-macros.yaml
index 3a3d55bbbe39cc441c9cd3324efb16d59f68559b..cdfe01cdc6339c754c83bf5b169326274c9c9308 100644 (file)
@@ -45,7 +45,7 @@
       - shell: |
           #!/bin/bash -l
           set -xe -o pipefail
-          virtualenv -p python3 --system-site-packages $WORKSPACE/venv
+          python3 -m venv $WORKSPACE/venv
           source $WORKSPACE/venv/bin/activate
           PYTHON="$WORKSPACE/venv/bin/python"
           $PYTHON -m pip install --upgrade networkx