From f5916f2924017496e002139f12740f45cf749894 Mon Sep 17 00:00:00 2001 From: Harshal Sheth Date: Thu, 6 Oct 2022 11:24:32 -0700 Subject: [PATCH] fix(ingest): add trino package max version restriction See https://github.com/trinodb/trino-python-client/issues/250. --- metadata-ingestion/setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/metadata-ingestion/setup.py b/metadata-ingestion/setup.py index 4c547cee1be993..2684b2023f8f36 100644 --- a/metadata-ingestion/setup.py +++ b/metadata-ingestion/setup.py @@ -164,8 +164,9 @@ def get_long_description(): } trino = { - "trino>=0.308", - "trino[sqlalchemy]>=0.308", + # The upper bound was added because of a breaking change in the Trino dialect. + # See https://github.com/trinodb/trino-python-client/issues/250. + "trino[sqlalchemy]>=0.308, <0.317", } microsoft_common = {"msal==1.16.0"}