diff --git a/metadata-ingestion/setup.py b/metadata-ingestion/setup.py index 09f71fa769..7a5fd35580 100644 --- a/metadata-ingestion/setup.py +++ b/metadata-ingestion/setup.py @@ -58,7 +58,8 @@ framework_common = { "requests_file", "jsonref", # jsonschema drops python 3.7 support in v4.18.0 - "jsonschema<=4.17.3", + "jsonschema<=4.17.3 ; python_version < '3.8'", + "jsonschema>=4.18.0 ; python_version >= '3.8'", "ruamel.yaml", }