From 18701b742ca451e8d795f3262a50441938b916bc Mon Sep 17 00:00:00 2001 From: Aseem Bansal Date: Thu, 16 Jan 2025 17:15:02 +0530 Subject: [PATCH] feat(cli): for python > 3.11 log a warning (#12366) --- metadata-ingestion/src/datahub/entrypoints.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/metadata-ingestion/src/datahub/entrypoints.py b/metadata-ingestion/src/datahub/entrypoints.py index 85968f050a3716..0162b476a21931 100644 --- a/metadata-ingestion/src/datahub/entrypoints.py +++ b/metadata-ingestion/src/datahub/entrypoints.py @@ -45,6 +45,12 @@ MAX_CONTENT_WIDTH = 120 +if sys.version_info >= (3, 12): + click.secho( + "Python versions above 3.11 are not tested with. Please use Python 3.11.", + fg="red", + ) + @click.group( context_settings=dict(