Browse Source

bump min required python version to 3.7.0

Nick Sweeting 2 years ago
parent
commit
169b427fde
1 changed files with 1 additions and 1 deletions
  1. 1 1
      archivebox/config.py

+ 1 - 1
archivebox/config.py

@@ -1125,7 +1125,7 @@ def check_system_config(config: ConfigDict=CONFIG) -> None:
         raise SystemExit(2)
         raise SystemExit(2)
 
 
     ### Check Python environment
     ### 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(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.')
         stderr('    See https://github.com/ArchiveBox/ArchiveBox/wiki/Troubleshooting#python for help upgrading your Python installation.')
         raise SystemExit(2)
         raise SystemExit(2)