Skip to content

Commit 8714311

Browse files
authored
Update ensure-venv to ensure Python >=3.9 (azimuth-cloud#128)
1 parent fb08b50 commit 8714311

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

bin/ensure-venv

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@
44

55

66
# Check python version
7-
# NOTE: Python 3.8 or newer is required for ansible 2.12
8-
# which is in turn required for the 'undef' ansible keyword
7+
# NOTE: Python 3.9 or newer is required to use str.removeprefix()
98
PY_MAJOR=3
10-
PY_MINOR=8
9+
PY_MINOR=9
1110
version_check() {
1211
cat << EOF | python3
1312
import sys

0 commit comments

Comments
 (0)