Skip to content

Commit

Permalink
ci: update setup-python unsupported version (#143)
Browse files Browse the repository at this point in the history
python 38 and 39 are not supported on macos-latest
anymore, see more details at
actions/setup-python#696 (comment)
  • Loading branch information
zhongjiajie committed Apr 25, 2024
1 parent 5470f3e commit 2f1f2c4
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,25 @@ jobs:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
# FIXME: temp change os to ubuntu-20.04 to fix python can not found error https://github.com/actions/setup-python/issues/162#issuecomment-1325307787
os: [ubuntu-20.04, macOS-latest, windows-latest]
# Skip because dependence [py4j](https://pypi.org/project/py4j/) not work on those environments
exclude:
# Skip because dependence [py4j](https://pypi.org/project/py4j/) not work on those environments
- os: windows-latest
python-version: '3.10'
- os: windows-latest
python-version: 3.11
- os: windows-latest
python-version: 3.12
# Python 3.8 and 3.9 is on macos-13 but not macos-latest (macos-14-arm64)
# https://github.com/actions/setup-python/issues/696#issuecomment-1637587760
- os: macos-latest
python-version: 3.9
- os: macos-latest
python-version: 3.8
include:
- os: macos-13
python-version: 3.9
- os: macos-13
python-version: 3.8
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down

0 comments on commit 2f1f2c4

Please sign in to comment.