potiuk opened a new pull request, #69785: URL: https://github.com/apache/airflow/pull/69785
The Azure Data Factory hook test imported `FactoryListResponse` from `azure.mgmt.datafactory.models` only to use it as an arbitrary non-empty placeholder in a mocked `factories.list()` iterator — `test_connection` never inspects the returned item. A recent `azure-mgmt-datafactory` release removed that model class, so test collection failed with `ImportError: cannot import name 'FactoryListResponse'` in the uncapped-dependency Compat CI jobs, breaking the scheduled `main` build (and every PR that runs the full matrix, e.g. #69737). Replace the placeholder with a neutral `object()` so the test no longer depends on a specific SDK model. --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Code (Opus 4.8) Generated-by: Claude Code (Opus 4.8) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- 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]
