Here we are going to install the latest Python (3.11.2 as of this writing) and Ansible on macOS Ventura in the most clever and simplistic way. All artifacts are installed in user and not system context.
How does it work? The awesome asdf-vm project is designed for version management of developer runtimes.
Here we use a small feature to also directly install default-python-packages
and pick Ansible as our choice (could be pipenv or others).
Some features here have been presented in my talk "Runtime and tools – version management on macOS" at the MDO:YVR 2022 conference.