The GitHub Actions job "Tests AMD" on airflow.git/bkp-compat-imports has succeeded. Run started by GitHub user kaxil (triggered by potiuk).
Head commit for run: dec80cf86d1c3d83dbba56b8590fb28c45c9d1dc / Kaxil Naik <[email protected]> Simplify version-specific imports in the Google provider by using lazy_compat Simplify version-specific imports in the Google provider by using lazy_compat for components that are available since Airflow 3.0. This reduces code duplication and leverages the centralized compatibility layer. Changes: - version_compat.py: Use lazy_compat for BaseOperatorLink, BaseSensorOperator, PokeReturnValue, timeout - cloud/links/base.py: Use lazy_compat for XCom import - marketing_platform/links/analytics_admin.py: Use lazy_compat for BaseOperatorLink and XCom Note: BaseHook and BaseOperator imports in version_compat.py remain unchanged as they require AIRFLOW_V_3_1_PLUS conditional logic (not 3.0) due to SDK compatibility. Benefits: - Removed try/except import logic for timeout - Removed if/else blocks for SDK components - Consistent compatibility imports across providers Remove lazy_compat re-exports from Google version_compat.py Remove BaseOperatorLink, BaseSensorOperator, PokeReturnValue, and timeout from version_compat.py. Files that need these imports now import them directly from airflow.providers.common.compat.lazy_compat. This simplifies version_compat.py to only handle version constants and the BaseHook/BaseOperator imports that require special 3.1+ logic. Changes: - version_compat.py: Removed lazy_compat re-exports - bigquery.py sensor: Import BaseSensorOperator from lazy_compat - dataflow.py sensor: Import BaseSensorOperator, PokeReturnValue from lazy_compat - dataproc.py links: Import BaseOperatorLink from lazy_compat - dataflow.py hook: Import timeout from lazy_compat Benefits: - Clearer separation of concerns - Direct imports show the true source of compatibility logic - version_compat.py focuses only on version-specific logic Report URL: https://github.com/apache/airflow/actions/runs/18616530874 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
