Feat: Choose best python version to run venv
[releng/global-jjb.git] / releasenotes / notes / smart-venv-activate-f7f691e15cf0bde4.yaml
diff --git a/releasenotes/notes/smart-venv-activate-f7f691e15cf0bde4.yaml b/releasenotes/notes/smart-venv-activate-f7f691e15cf0bde4.yaml
new file mode 100644 (file)
index 0000000..8a7d3f7
--- /dev/null
@@ -0,0 +1,8 @@
+---
+features:
+  - |
+    Post-build script capture-instance-metadata.sh will attempt to choose the
+    best possible version of Python to use. If the ``$PYTHON`` variable is set,
+    this will be used. If not, we check to see if ``python3`` is available,
+    as this should point to the latest version. If this is also not available,
+    we run with the basic ``python`` command.