aaron-y-chen opened a new pull request, #77362: URL: https://github.com/apache/airflow/pull/77362
`TestBedrockSensorDeferral::test_resume_fails_when_trigger_exhausts_attempts`, added in #76848, fails every time in the "Latest Boto test" CI job with `ModuleNotFoundError: No module named 'aiobotocore'` ([failing run](https://github.com/apache/airflow/actions/runs/44657447382/job/136046710504)). That job uninstalls `aiobotocore` on purpose (`check_boto_upgrade` in `scripts/docker/entrypoint_ci.sh`) to test against the latest `boto3`/`botocore`. The new test runs the real `BedrockBatchInferenceTrigger`, which builds its waiter through `aiobotocore.waiter`, so the test cannot run without the package. Like the other `aiobotocore`-dependent tests in `test_base_waiter.py` and `test_base_aws.py`, it now calls `pytest.importorskip("aiobotocore")`. It still runs in the regular provider test jobs. related: #76848 Validation: - With `aiobotocore` installed: both parametrized cases pass. - With `aiobotocore` blocked from importing to simulate the Latest Boto environment: both cases are skipped instead of failing. - `ruff format --check` and `ruff check` pass on the changed file. --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Code (Opus 5.5) Generated-by: Claude Code (Opus 5.5) 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]
