Bump minimum Python version to 3.9 (#178)

This commit is contained in:
Joel Challis
2024-10-27 04:36:55 +00:00
committed by GitHub
parent d3917b10e7
commit 86a3decd0a
5 changed files with 13 additions and 9 deletions
+2 -2
View File
@@ -46,9 +46,9 @@ def main():
"""Setup the environment before dispatching to the entrypoint.
"""
# Warn if they use an outdated python version
if sys.version_info < (3, 7):
if sys.version_info < (3, 9):
print('Warning: Your Python version is out of date! Some subcommands may not work!')
print('Please upgrade to Python 3.7 or later.')
print('Please upgrade to Python 3.9 or later.')
if 'windows' in platform().lower():
msystem = os.environ.get('MSYSTEM', '')