Homebrew promoted python@3.12
to the default python3
. Now, our “macOS native” CI job is facing the following issues:
- Installing
qt@5
requires re-installingpython@3.12
:
0==> Fetching dependencies for qt@5: readline, python@3.12 and gettext
- Re-installing
python@3.12
fails due to symbolic link conflicts on macOSx86_64
:
0==> Pouring python@3.12--3.12.2_1.ventura.bottle.tar.gz
1Error: The `brew link` step did not complete successfully
- Homebrew’s
python@3.12
is marked as externally managed (according to PEP 668), necessitating different approaches for installing Python packages.
This pull request resolves all the issues mentioned above.