Pin Python 3.11 which supports all Ansible versions we're testing with.
Edit - this no longer applies, because some Ansible tested versions don't work with Python 3.12 which ships this pip version: We're now getting pip > 23.0.01 installed in macOS runners. This version now requires us to use the --break-system-packages switch to mix the pip-installed packages with system packages. We're fine with this because this is only a disposable CI environment.
Pin Python 3.11 which supports all Ansible versions we're testing with.
Edit - this no longer applies, because some Ansible tested versions don't work with Python 3.12 which ships this pip version: We're now getting pip > 23.0.01 installed in macOS runners. This version now requires us to use the
--break-system-packages
switch to mix the pip-installed packages with system packages. We're fine with this because this is only a disposable CI environment.