chore(action): do not use pipx
If #1743 is just meant to be temporary while waiting on https://github.com/actions/runner-images/issues/9256, then that's ok.
However, if we need this in the long run, I'd rather not change the worker default environment. It's not necessarily an issue for github-hosted workers which are ephemeral but it could became an issue for self-hosted.
Let's see if they re-add pipx, which I'd really hope they do. I should have limited the workaround to a subset of runners (macos-14 only? macos-13-xlarge? Ideally only AS arch only?)
(It can also break later steps if people are doing things with setup-python and need a clean environments that doesn't have pipx's dependencies installed. cibuildwheel tends to be mostly standalone, which is nice, but not true for nox (where I haven't proposed a fix for this yet))
Should we take these out of draft? I don't think pipx / built-in Python is coming back soon, and am fine with the workaround. (Also https://github.com/wntrblm/nox/pull/768)
I noticed a CI job is failing again on macOS due to the missing pipx when updating to the latest cibuildwheel release: https://github.com/nightlark/swig-pypi/pull/123
Is there a recommended alternative (aside from migrating to scikit-build-core now)? Currently using pyproject.toml tool.cibuildwheel.before-all with pipx to ensure suitable cmake and ninja versions are installed.
Migrating sounds good. :) But GHA is shipping pipx in the next image deployment. And you can pre-install pipx yourself in the mean time.
Alright, good to hear -- looks like for now it will be pre-installing pipx, and hopefully soon get the migration to scikit-build-core merged. 😄