pandas=1.2.1 install (build) on windows is failing for python 3.10. That's because pandas started shipping windows binary wheels for py3.10 in version 1.3.3 (they also dropped py36 in that version, but that's fine because we dropped py36 support as well).
Action: upgrade pandas to 1.3.3+.