Update to Python 3.11 (#15544)
Closes #12064
Closes #12551
Closes #15577
Closes #15167
Summary of the issue:
Python needs to be updated to 3.11, as Python 3.7 is EOL.
Python pip dependencies need to be updated to match the python upgrade.
typing_extensions is no longer needed.
Description of user facing changes
Performance and security enhancements from dependency upgrades.
Description of development approach
Updates python in build scripts
Updates pip dependencies
Set Windows 8.1 (Blue) as minimum windows version
Update references to python and windows version in docs
nose is replaced by the unittest module with xmlrunner to generate XML test output
drop python optimization to level 0 from level 1. level 1 removes asserts.