Add support for pandas 1.5, once released (ideally we should run our tests against the nightly builds or at least RCs to catch any regressions before then).
Imported from Jira BEAM-14507. Original Jira may contain additional context.
Reported by: bhulette.