Backport PR #48232 on branch 1.5.x (CI: Ensure jobs run on 1.5.x branch)
Backport PR #48232: CI: Ensure jobs run on 1.5.x branch
lets merge this as https://github.com/pandas-dev/pandas/pull/48240 is addressing the mypy issue.