airflow: Remove Airflow 2.8+ support #2330
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
As discussed on Slack channel, I believe it would be wise to avoid supporting Airflow 2.8+ in the
openlineage-airflow
package. This approach would encourage users to transition to the provider package.Also, i think it should be mentioned that starting from Airflow 2.7, users should switch to provider package. There are some information about it in the Openlineage docs but i think there should be also some information included in main README file.
It's also important to clearly communicate that ongoing development and enhancements will be focused on the
apache-airflow-providers-openlineage
package, while theopenlineage-airflow
will primarily be updated for bug fixes.Solution
I am not sure if proposed code changes are enough to "remove" the support for Airflow 2.8+. We are not including airflow itself in the requirements, so I see no single place to specify the exact constraints that would make it impossible to use with Airflow < 2.1.0, >2.8.0
I also adjusted the README so it's clear that this package will not receive as much attention as the native Airflow provider integration.
If there is any other place where this change should be mentioned, please let me know and i will adjust the code. The same goes for the way we want to communicate it, please feel free to leave a comment.
One-line summary:
Remove Airflow 2.8+ support, adjust documentation.
Checklist
SPDX-License-Identifier: Apache-2.0
Copyright 2018-2023 contributors to the OpenLineage project