Drop support for python3.7 and python3.8 (MR 2265)

Even Debian oldstable is on python3.9 now, so should be safe, and
should also help the typing process that has now started
This commit is contained in:
Pablo Correa Gómez 2024-02-22 21:14:47 +01:00
parent d895f4a465
commit d2bcff3162
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -19,8 +19,8 @@ __version__ = "2.2.1"
# Python version check
version = sys.version_info
if version < (3, 7):
print("You need at least Python 3.7 to run pmbootstrap")
if version < (3, 9):
print("You need at least Python 3.9 to run pmbootstrap")
print("(You are running it with Python " + str(version.major) +
"." + str(version.minor) + ")")
sys.exit()