Skip to content

Conversation

@sunank200
Copy link
Collaborator

@sunank200 sunank200 commented Dec 31, 2025

This PR migrates the apache provider to use airflow.sdk.configuration.conf instead of airflow.configuration.conf. This change maintains backward compatibility through the common compat module.

Changes

  1. Added conf to common compat module

  2. Updated all apache provider file to use conf from common compat module.

related: #60000


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

@sunank200 sunank200 requested a review from kaxil December 31, 2025 12:38
@sunank200 sunank200 changed the title Migrate apache provider to use airflow.sdk.configuration.conf apache provider should use airflow.sdk.configuration.conf Dec 31, 2025
@sunank200 sunank200 force-pushed the migrate-conf-imports-apache branch from 49b5ac8 to b2c0a12 Compare December 31, 2025 12:43
Copy link
Contributor

@amoghrajesh amoghrajesh left a comment

Choose a reason for hiding this comment

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

Thanks, looks good to me. Is there a reason the PR is a draft one?

@amoghrajesh amoghrajesh changed the title apache provider should use airflow.sdk.configuration.conf Source conf from airflow.sdk.configuration.conf for apache providers Dec 31, 2025
@sunank200 sunank200 marked this pull request as ready for review December 31, 2025 13:32
@sunank200
Copy link
Collaborator Author

Thanks, looks good to me. Is there a reason the PR is a draft one?

I was waiting for your opinion on the approach. It ready for review now

Copy link
Member

@potiuk potiuk left a comment

Choose a reason for hiding this comment

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

Nice!

@sunank200
Copy link
Collaborator Author

I will create a larger issue now for all providers after this is merged.

@vatsrahul1001 vatsrahul1001 merged commit c8aa74a into apache:main Dec 31, 2025
176 of 185 checks passed
@vatsrahul1001 vatsrahul1001 deleted the migrate-conf-imports-apache branch December 31, 2025 15:38
Subham-KRLX pushed a commit to Subham-KRLX/airflow that referenced this pull request Jan 2, 2026
apache#59966)

* Migrate apache provider to use airflow.sdk.configuration.conf

* Add 'use next version' comment for common-compat dependency
stegololz pushed a commit to stegololz/airflow that referenced this pull request Jan 9, 2026
apache#59966)

* Migrate apache provider to use airflow.sdk.configuration.conf

* Add 'use next version' comment for common-compat dependency
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.

4 participants