Skip to content

Commit

Permalink
Fix removal of Python 3.7 from ubuntu-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
mhostetter committed Jan 21, 2025
1 parent 63726fd commit 37c1f36
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
jobs:
build-wheel:
name: Wheel
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
run-linter:
name: Ruff Lint
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, '3.10', 3.11, 3.12, 3.13]
Expand Down Expand Up @@ -43,10 +43,10 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set up Python 3.10
- name: Set up Python 3.13
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: 3.13

- name: Upgrade pip
run: python3 -m pip install --upgrade pip
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set up Python 3.10
- name: Set up Python 3.13
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: 3.13

- name: Upgrade pip
run: python3 -m pip install --upgrade pip
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
if: ${{ github.event_name == 'pull_request' }}
strategy:
matrix:
os: [ubuntu-latest, macos-13, windows-latest]
os: [ubuntu-22.04, macos-13, windows-latest]
python-version: [3.7, 3.8, 3.9, '3.10', 3.11, 3.12, 3.13]
fail-fast: false
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
if: ${{ github.event_name == 'pull_request' }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-22.04, macos-latest, windows-latest]
python-version: [3.7, 3.8, 3.9, '3.10', 3.11, 3.12, 3.13]
# https://github.com/actions/runner-images/issues/9770#issuecomment-2085623315
exclude: # Python < v3.8 does not support Apple Silicon ARM64
Expand Down

0 comments on commit 37c1f36

Please sign in to comment.