Summary: The project is set up to support Python ≥3.10 in pyproject.toml but uses Python 3.11+ exclusive features, causing import errors when running tests on Python 3.10.
It is not possible to run ros2 doctor as the above build/dependency errors occur. Follow the instructions to install ROS2 Windows Binary with the latest download package, currently Jazzy Patch 4.