sunank200 opened a new issue, #60000:
URL: https://github.com/apache/airflow/issues/60000

   ### Apache Airflow Provider(s)
   
   amazon
   
   ### Versions of Apache Airflow Providers
   
   All providers currently import conf from airflow.configuration, but should 
now import from airflow.sdk.configuration to align with Airflow 3.x 
architecture. This change affects 29 providers across 183 files.
   
   ### Apache Airflow version
   
   3.1
   
   ### Operating System
   
   all
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### Deployment details
   
   _No response_
   
   ### What happened
   
   _No response_
   
   ### What you think should happen instead
   
   _No response_
   
   ### How to reproduce
   
   
   ### Step 1: Create Branch and Update Provider Files
   
   For each provider:
   
   1. **Checkout to main branch**: `git checkout main && git pull`
   2. **Create a new branch**: `git checkout -b 
migrate-conf-imports-{provider-name}`
   3. **Update provider files** (see Step 3)
   4. **Update pyproject.toml** (if needed): If provider has 
`apache-airflow-providers-common-compat` dependency in `pyproject.toml`, add `# 
use next version` comment to the dependency line:
      ```toml
      "apache-airflow-providers-common-compat>=1.10.1",  # use next version
      ```
   
   5. **Commit changes**: `git add providers/{provider}/ && git commit -m 
"Migrate {provider} provider to use airflow.sdk.configuration.conf"`
   
   ### Step 2: Update All Provider Files
   
   For each provider file, replace:
   
   ```python
   from airflow.configuration import conf
   ```
   
   With:
   
   ```python
   from airflow.providers.common.compat.sdk import conf
   ```
   
   **Note**: Using the compat module ensures backward compatibility across 
Airflow 2.11+ and 3.0+.
   
   ## Providers and File Counts
   
   | Provider | Files to Update | Status |
   
   |----------|----------------|--------|
   
   | amazon | 48 | |
   
   | google | 31 | ✅ Completed by @sunank200 |
   
   | fab | 19 | ✅ Completed by @sunank200 |
   
   | celery | 10 | |
   
   | apache | 9 | ✅ Completed by @sunank200 |
   
   | standard | 8 | |
   
   | edge3 | 8 | |
   
   | cncf | 8 | |
   
   | microsoft | 7 | |
   
   | keycloak | 6 | |
   
   | openlineage | 2 | |
   
   | opensearch | 2 | |
   
   | snowflake | 2 | |
   
   | http | 2 | |
   
   | jdbc | 2 | |
   
   | elasticsearch | 2 | |
   
   | databricks | 2 | |
   
   | dbt | 2 | ✅ Completed by @sunank200 |
   
   | common | 2 | ✅ Completed by @sunank200 |
   
   | airbyte | 2 | ✅ Completed by @sunank200 |
   
   | yandex | 2 | ✅ Completed by @sunank200 |
   
   | alibaba | 1 | ✅ Completed by @sunank200 |
   
   | imap | 1 | ✅ Completed by @sunank200 |
   
   | odbc | 1 | ✅ Completed by @sunank200 |
   
   | openai | 1 | ✅ Completed by @sunank200 |
   
   | postgres | 1 | |
   
   | presto | 1 | |
   
   | redis | 1 | |
   
   | sftp | 1 | ✅ Completed by @sunank200 |
   
   | ssh | 1 | |
   
   | trino | 1 | ✅ Completed by @sunank200 |
   
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [x] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to