From 49cd288078436b01aa72f29ed1beb432a501f7c2 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Sat, 8 Apr 2023 01:30:23 +0200 Subject: [PATCH] pmbootstrap.py: require at least python 3.7 The minimum python version was already increased to 3.7, but it wasn't adjusted here yet. Reviewed-by: Luca Weiss Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20230407233026.1712-2-ollieparanoid@postmarketos.org%3E --- pmbootstrap.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pmbootstrap.py b/pmbootstrap.py index 6b8766bc..2d3cfdbb 100755 --- a/pmbootstrap.py +++ b/pmbootstrap.py @@ -5,8 +5,8 @@ # PYTHON_ARGCOMPLETE_OK import sys version = sys.version_info -if version < (3, 6): - print("You need at least Python 3.6 to run pmbootstrap") +if version < (3, 7): + print("You need at least Python 3.7 to run pmbootstrap") print("(You are running it with Python " + str(version.major) + "." + str(version.minor) + ")") sys.exit()