1
0
Fork 0

bump min required python version to 3.7.0

This commit is contained in:
Nick Sweeting 2023-12-17 16:05:00 -08:00
parent c183de2903
commit 169b427fde

View file

@ -1125,7 +1125,7 @@ def check_system_config(config: ConfigDict=CONFIG) -> None:
raise SystemExit(2)
### Check Python environment
if sys.version_info[:3] < (3, 6, 0):
if sys.version_info[:3] < (3, 7, 0):
stderr(f'[X] Python version is not new enough: {config["PYTHON_VERSION"]} (>3.6 is required)', color='red')
stderr(' See https://github.com/ArchiveBox/ArchiveBox/wiki/Troubleshooting#python for help upgrading your Python installation.')
raise SystemExit(2)