The GitHub Actions job "Tests (AMD)" on 
airflow.git/ghaeli/fix-aws-auth-manager-mypy-anyio414 has failed.
Run started by GitHub user seanghaeli (triggered by seanghaeli).

Head commit for run:
ec263874664e21ad5dbdc787dbfefce6ff0413c3 / Sean Ghaeli <[email protected]>
Fix MyPy providers checks for AWS auth manager after anyio 4.14 bump

The CI environment upgrade in #68560 bumped anyio 4.13.0 -> 4.14.0, whose
stricter `from_thread.run` stub no longer accepts `request.form` (a method
typed `(*, max_files, ...) -> AwaitableOrContextManager[FormData]`) where it
expects `Callable[[], Coroutine[Any, Any, Never]]`. This made the unchanged
(2025-era) lines in the AWS auth manager `login.py` newly fail mypy with
`[arg-type]` and `[var-annotated]` errors, turning `MyPy providers checks`
red on main and on every PR that runs it.

Wrap the call in a zero-arg lambda and annotate the result as `FormData` so
the call site matches the new signature. No runtime behavior change.

Generated-by: Claude Code (Opus 4.8) following the guidelines

Report URL: https://github.com/apache/airflow/actions/runs/27979486190

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to