If you want to install project dependencies without cluttering the system, then you should use a virtual environment.
0. Install py
$ brew install python@3.13
1. Create venv
$ python3.13 -m venv ~/venv_3_13
2. Join venv
$ source ~/venv_3_13/bin/activate
3. Leave venv
$ deactivate
4. Remove venv
$ rm -r ~/venv_3_13