diff --git a/metadata-ingestion/setup.py b/metadata-ingestion/setup.py index 2684b2023f8f3..7065b5bfeb75a 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 = {