Drop Python 3.8, add Python 3.11 to CI and run pyupgrade (#650)
#1052
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention