Skip to content

Conversation

@kaxil
Copy link
Member

@kaxil kaxil commented Oct 20, 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 #56867


^ 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.

@boring-cyborg boring-cyborg bot added area:providers provider:common-compat provider:edge Edge Executor / Worker (AIP-69) / edge3 provider:google Google (including GCP) related issues labels Oct 20, 2025
@kaxil kaxil force-pushed the refactor-common-compat-sdk branch 2 times, most recently from 118e17b to d2ec878 Compare October 20, 2025 14:33
@potiuk
Copy link
Member

potiuk commented Oct 20, 2025

Yep. .sdk is better than lazy_compat :)

Copy link
Contributor

@jscheffl jscheffl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sdkas term is much better! Thanks!

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 kaxil force-pushed the refactor-common-compat-sdk branch from d2ec878 to 3e1c1fb Compare October 21, 2025 00:24
@kaxil kaxil merged commit e24cfb0 into apache:main Oct 21, 2025
142 of 143 checks passed
@kaxil kaxil deleted the refactor-common-compat-sdk branch October 21, 2025 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:common-compat provider:edge Edge Executor / Worker (AIP-69) / edge3 provider:google Google (including GCP) related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants