From 07fa09f3c7799fb4ebb20a771236cc5b3d711628 Mon Sep 17 00:00:00 2001 From: Khushboo Vashi Date: Fri, 9 Jun 2023 16:05:01 +0530 Subject: [PATCH] Ignore Python 3.8 minor versions while fixing eventlet issues for Python 3.9. --- web/pgAdmin4.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/pgAdmin4.py b/web/pgAdmin4.py index 256e9ac27..ce52cf613 100644 --- a/web/pgAdmin4.py +++ b/web/pgAdmin4.py @@ -35,7 +35,7 @@ if 'PGADMIN_SERVER_MODE' in os.environ: else: builtins.SERVER_MODE = None -if (3, 10) > sys.version_info > (3, 8) and os.name == 'posix': +if (3, 10) > sys.version_info > (3, 8, 99) and os.name == 'posix': # Fix eventlet issue with Python 3.9. # Ref: https://github.com/eventlet/eventlet/issues/670 # This was causing issue in psycopg3