From 922a75fc5b19d3ec28fbfabc9cf5fd9d35e4fd4b Mon Sep 17 00:00:00 2001 From: Harshal Sheth Date: Thu, 13 Oct 2022 19:48:05 +0000 Subject: [PATCH] fix(ingest): add lower bound for ujson dep version (#6189) --- 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 2684b2023f8f36..7065b5bfeb75ae 100644 --- a/metadata-ingestion/setup.py +++ b/metadata-ingestion/setup.py @@ -182,8 +182,8 @@ def get_long_description(): "parse>=1.19.0", "pyarrow>=6.0.1", "tableschema>=1.20.2", - "ujson>=4.3.0", - "types-ujson>=4.2.1", + # ujson 5.2.0 has the JSONDecodeError exception type, which we need for error handling. + "ujson>=5.2.0", "smart-open[s3]>=5.2.1", "moto[s3]", *path_spec_common, @@ -350,6 +350,7 @@ def get_long_description(): "types-pytz", "types-pyOpenSSL", "types-click-spinner", + "types-ujson>=5.2.0", } base_dev_requirements = {