Skip to content

Conversation

@kaxil
Copy link
Member

@kaxil kaxil commented Oct 20, 2025

Consolidate the Standard provider's compatibility logic by replacing imports from version_compat.py with direct imports from lazy_compat, providing a single source of truth for all Airflow 2.x ↔ 3.x compatibility.

Follow-up of #56790 & #56793


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@potiuk
Copy link
Member

potiuk commented Oct 20, 2025

👀

@kaxil kaxil force-pushed the standard-provider-compat branch from 67fd07b to e3f8fac Compare October 20, 2025 10:53
kaxil added a commit to astronomer/airflow that referenced this pull request Oct 21, 2025
Extract compatibility import logic into reusable _compat_utils module and rename lazy_compat to sdk for better clarity. The new architecture makes it easier to maintain consistency across all compatibility modules without introducing cycles due to which mypy was failing in apache#56867
kaxil added a commit that referenced this pull request Oct 21, 2025
…56884)

Extract compatibility import logic into reusable _compat_utils module and rename lazy_compat to sdk for better clarity. The new architecture makes it easier to maintain consistency across all compatibility modules without introducing cycles due to which mypy was failing in #56867
@kaxil kaxil force-pushed the standard-provider-compat branch 2 times, most recently from d9d218e to a50dbc2 Compare October 21, 2025 02:43
@kaxil kaxil marked this pull request as ready for review October 21, 2025 03:12
Consolidate the Standard provider's compatibility logic by replacing imports
from version_compat.py with direct imports from lazy_compat, providing a
single source of truth for all Airflow 2.x ↔ 3.x compatibility.

Follow-up of apache#56790 & apache#56793
@kaxil kaxil force-pushed the standard-provider-compat branch from a50dbc2 to 5281040 Compare October 21, 2025 03:31
@kaxil kaxil merged commit a35602c into apache:main Oct 21, 2025
114 checks passed
@kaxil kaxil deleted the standard-provider-compat branch October 21, 2025 12:37
Jonpaco23 pushed a commit to Jonpaco23/airflow that referenced this pull request Oct 21, 2025
)

Consolidate the Standard provider's compatibility logic by replacing imports
from version_compat.py with direct imports from lazy_compat, providing a
single source of truth for all Airflow 2.x ↔ 3.x compatibility.

Follow-up of apache#56790 & apache#56793
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants