yugmerabtene opened a new pull request, #67623: URL: https://github.com/apache/airflow/pull/67623
## Description This PR migrates deprecated import paths to their SDK equivalents across the codebase. Generated by [airflow-ai](https://github.com/yugmerabtene/airflow-ai), an AI-powered toolkit for Airflow maintenance. ## Changes **312 import path corrections across 275 files:** | Pattern | Count | |---------|:-----:| | `airflow.utils.state` → `airflow.sdk.state` | ~170 | | `airflow.utils.helpers` → `airflow.sdk.utils.helpers` | ~58 | | `airflow.exceptions.AirflowException` → `airflow.sdk.exceptions.AirflowException` | ~43 | | `airflow.utils.log` → `airflow.sdk.utils.log` | ~40 | | `airflow.utils.timezone` → `pendulum` | ~1 | ## Verification - ✅ Only import paths changed — no logic modified - ✅ Backward compatibility shims preserved (26 files intentionally skipped) - ✅ Sub-module imports (`airflow.utils.log.*`) left intact — SDK equivalents don't exist yet - ✅ All changes are mechanical import path replacements ## Notes - Each file was analyzed by the airflow-ai static analyzer before applying fixes - The tool correctly identified 509 potential issues and only fixed the 281 that were safe mechanical replacements - The remaining 228 are either: compat shims, sub-module imports, or local function definitions -- 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]
