Ignore Python 3.8 minor versions while fixing eventlet issues for Python 3.9.

This commit is contained in:
Khushboo Vashi 2023-06-09 16:05:01 +05:30
parent 7e3a932890
commit 07fa09f3c7

View File

@ -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