Skip to content

Commit 2e48fc6

Browse files
authored
add Python 3.12 to list of macOS and Windows CI builds; drop Python 3.7 (open-atmos#381)
1 parent 65438de commit 2e48fc6

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

.github/workflows/tests+pypi.yml

+8-13
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ jobs:
3939
strategy:
4040
matrix:
4141
include:
42-
- platform: windows-latest
43-
python-version: "3.7"
4442
- platform: windows-latest
4543
python-version: "3.8"
4644
- platform: windows-latest
@@ -49,8 +47,8 @@ jobs:
4947
python-version: "3.10"
5048
- platform: windows-latest
5149
python-version: "3.11"
52-
- platform: macos-13
53-
python-version: "3.7"
50+
- platform: windows-latest
51+
python-version: "3.12"
5452
- platform: macos-13
5553
python-version: "3.8"
5654
- platform: macos-13
@@ -59,13 +57,14 @@ jobs:
5957
python-version: "3.10"
6058
- platform: macos-13
6159
python-version: "3.11"
60+
- platform: macos-13
61+
python-version: "3.12"
6262
- platform: macos-14
6363
python-version: "3.10"
6464
- platform: macos-14
6565
python-version: "3.11"
66-
- manylinux: "manylinux2010_x86_64"
67-
platform: ubuntu-latest
68-
python-version: "3.7"
66+
- platform: macos-14
67+
python-version: "3.12"
6968
- manylinux: "manylinux2010_x86_64"
7069
platform: ubuntu-latest
7170
python-version: "3.8"
@@ -75,9 +74,6 @@ jobs:
7574
- manylinux: "manylinux2010_x86_64"
7675
platform: ubuntu-latest
7776
python-version: "3.10"
78-
- manylinux: "manylinux_2_24_x86_64"
79-
platform: ubuntu-latest
80-
python-version: "3.7"
8177
- manylinux: "manylinux_2_24_x86_64"
8278
platform: ubuntu-latest
8379
python-version: "3.8"
@@ -129,7 +125,7 @@ jobs:
129125
- uses: actions/[email protected]
130126
with:
131127
python-version: ${{ matrix.python-version }}
132-
- run: python -m pip install --upgrade pip==22.1.2
128+
- run: python -m pip install --upgrade pip==24.3.1
133129

134130
- run: python -m pip install $PIP_INSTALL_OPTS "build<1.1" wheel
135131
- run: cmake --version
@@ -197,8 +193,7 @@ jobs:
197193
python -m pytest --durations=10 -v -s -We -p no:unraisableexception .
198194
cd ..
199195
200-
- if: matrix.python-version != '3.7'
201-
run: |
196+
- run: |
202197
python -m pip install $PIP_INSTALL_OPTS -r gitmodules/devops_tests/requirements.txt
203198
ex -sc 'g/^PyPartMC/d' -cx .binder/requirements.txt
204199
python -m pip install $PIP_INSTALL_OPTS -r .binder/requirements.txt

0 commit comments

Comments
 (0)