Upgrade json schema version to support Airflow constraint file
Airflow added Python "constraints" files a while ago: https://airflow.apache.org/docs/apache-airflow/stable/installation/installing-from-pypi.html#constraints-files
These files lock the jsonschema
version, a library used in osdu-ingestion-lib
(usually to 4.X see for example this constraint file for the latest Airflow version: https://raw.githubusercontent.com/apache/airflow/constraints-2.6.3/constraints-3.10.txt)
But this creates issue with the current setup.py
file which requires a very specific version (3.2.0) and so the Pip resolver can't find a compatible version:
osdu-ingestion 0.23.0rc479+c8d6c217 depends on jsonschema==3.2.0
The user requested (constraint) jsonschema==4.17.3
Edited by Guillaume Caillet