This was in the maintenance/1.24.x branch running Python 3.8. I've fixed it there by pinning to v3.6.3 (#23208). It may be the case that this is specific to Python 3.8, which has been dropped in main, but I have opened this issue in case it persists.