Skip to content

Commit

Permalink
CI: Explicitly setup Python to build wheels
Browse files Browse the repository at this point in the history
We currently use any system-installed Python version to invoke the wheel
building process (which then happens inside a container). The exact
Python version does not matter, but it must be a working Python version
-- and that's currently not the case for the macos11 builds: Python and
the Python installation directory are not inside PATH, hence we install
nox, but it's not found in the next step.

actions/runner-images#6518 fixes the problem,
but is not yet rolled out universally. It seems like using setup-python
even for this case is recommended
(actions/runner-images#6507 (comment)),
so let's do that.
  • Loading branch information
imphil committed Nov 13, 2022
1 parent 8d7db8c commit fa3e1d2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ jobs:
- macos-11
steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install nox
run: python3 -m pip install nox

Expand Down

0 comments on commit fa3e1d2

Please sign in to comment.