Skip to content

Commit

Permalink
Change workaround for GHA failure in 'macos-latest' with 3.9 (#4820)
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri authored Feb 3, 2025
2 parents 75f7782 + 3869b10 commit a3cc40f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,6 @@ jobs:
- platform: ubuntu-latest
python: "3.10"
distutils: stdlib
# TODO: Re-evaluate the need for the following workaround
exclude:
- {python: "3.9", platform: "macos-latest"} # actions/setup-python#981
runs-on: ${{ matrix.platform }}
continue-on-error: ${{ matrix.python == '3.14' }}
env:
Expand All @@ -79,6 +76,9 @@ jobs:
with:
python-version: ${{ matrix.python }}
allow-prereleases: true
env:
# Workaround for actions/setup-python#981 (env var only modified for this specific step)
SETUPTOOLS_USE_DISTUTILS: ${{ matrix.platform == 'macos-latest' && matrix.python == '3.9' && 'stdlib' || matrix.distutils || 'local' }}
- uses: actions/cache@v4
id: cache
with:
Expand Down

0 comments on commit a3cc40f

Please sign in to comment.