Jarek Potiuk
Jarek Potiuk
Should we re-start discussion about common provider for that one? I have an idea..
Discussion at devlist https://lists.apache.org/thread/hjmrv1wc2rxhkvozpvccs4mhgwg5sw2f
My proposal is to wait for LAZY CONSENSUS on compat provider and implement it (See https://lists.apache.org/thread/hjmrv1wc2rxhkvozpvccs4mhgwg5sw2f)
Consensus thread started ...
PR to add `common.compat` here https://github.com/apache/airflow/pull/40374 @kacpermuda @JDarDagran
> Hm, openlineage-python client minimal version is currently 1.16.0: > > https://github.com/apache/airflow/blob/ed57711866527d4e56ce195944b26607317b1f26/airflow/providers/openlineage/provider.yaml#L49 > > Why need adding these `try: ... except:` for handling versions `
You have to remember that what you see now in main is the LATEST set of all providers and latest airflow. This is why we have compatibility and lowest-direct dependencies...
```python pip install apache-airflow==2.7.0 apache-airflow-providers-openlineage==1.5.0 apache-airflow-providers-amazon==NEXT_VERSION ``` And then try without `try ... except`
And https://github.com/apache/airflow/pull/40374 merged. You can rebase and move the code there (and add dependency on `apache-airflow-providers-common-compat`
> @eladkal I'll be working on moving part of the code to common.compat provider Cool :)