From 0add26224a545602b5df80e3d5776a630eb9349f Mon Sep 17 00:00:00 2001 From: "H. Shay" Date: Tue, 4 Jan 2022 09:00:56 -0800 Subject: [PATCH] upgrade necessary python version in __init__.py --- synapse/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/synapse/__init__.py b/synapse/__init__.py index 95a49c20be..5f224d2e13 100644 --- a/synapse/__init__.py +++ b/synapse/__init__.py @@ -21,8 +21,8 @@ import os import sys # Check that we're not running on an unsupported Python version. -if sys.version_info < (3, 6): - print("Synapse requires Python 3.6 or above.") +if sys.version_info < (3, 7): + print("Synapse requires Python 3.7 or above.") sys.exit(1) # Twisted and canonicaljson will fail to import when this file is executed to