Skip to content

Conversation

@kaxil
Copy link
Member

@kaxil kaxil commented Oct 22, 2025

Replace version-specific conditional imports with common.compat layer. This standardizes compatibility handling across Airflow 2.x and 3.x.


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

@kaxil kaxil requested a review from potiuk as a code owner October 22, 2025 01:16
@boring-cyborg boring-cyborg bot added area:providers provider:snowflake Issues related to Snowflake provider labels Oct 22, 2025
Replace version-specific conditional imports with ``common.compat`` layer.
This standardizes compatibility handling across Airflow 2.x and 3.x.
@kaxil kaxil force-pushed the migrate-snowflake-to-common-compat branch from 4eb0224 to 0c0e948 Compare October 22, 2025 01:35
The 'task' decorator is an SDK class, not a version constant.
It should be imported from common.compat.sdk, not from version_compat.
@eladkal eladkal merged commit d1a58ef into apache:main Oct 22, 2025
91 checks passed
@kaxil kaxil deleted the migrate-snowflake-to-common-compat branch December 31, 2025 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:snowflake Issues related to Snowflake provider

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants