Skip to content

Commit 43ed6a5

Browse files
committed
Adjust CI to only test on python 3.5+
1 parent 422827b commit 43ed6a5

File tree

4 files changed

+17
-29
lines changed

4 files changed

+17
-29
lines changed

.github/workflows/basemap-data-hires.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
strategy:
4040
matrix:
4141
python-version:
42-
["2.7"]
42+
["3.5"]
4343
max-parallel: 1
4444
needs: checkout
4545
runs-on: ubuntu-latest
@@ -68,8 +68,7 @@ jobs:
6868
strategy:
6969
matrix:
7070
python-version:
71-
["2.6", "2.7", "3.2", "3.3", "3.4", "3.5", "3.6", "3.7", "3.8",
72-
"3.9", "3.10", "3.11", "3.12"]
71+
["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
7372
max-parallel: 3
7473
fail-fast: false
7574
needs: build
@@ -101,7 +100,7 @@ jobs:
101100
strategy:
102101
matrix:
103102
python-version:
104-
["2.7"]
103+
["3.5"]
105104
max-parallel: 1
106105
if: startsWith(github.event.ref, 'refs/tags/v')
107106
needs: test

.github/workflows/basemap-data.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
strategy:
4040
matrix:
4141
python-version:
42-
["2.7"]
42+
["3.5"]
4343
max-parallel: 1
4444
needs: checkout
4545
runs-on: ubuntu-latest
@@ -68,8 +68,7 @@ jobs:
6868
strategy:
6969
matrix:
7070
python-version:
71-
["2.6", "2.7", "3.2", "3.3", "3.4", "3.5", "3.6", "3.7", "3.8",
72-
"3.9", "3.10", "3.11", "3.12"]
71+
["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
7372
max-parallel: 3
7473
fail-fast: false
7574
needs: build
@@ -101,7 +100,7 @@ jobs:
101100
strategy:
102101
matrix:
103102
python-version:
104-
["2.7"]
103+
["3.5"]
105104
max-parallel: 1
106105
if: startsWith(github.event.ref, 'refs/tags/v')
107106
needs: test

.github/workflows/basemap-for-manylinux.yml

+5-7
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
strategy:
4141
matrix:
4242
python-version:
43-
["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
43+
["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
4444
max-parallel: 3
4545
fail-fast: false
4646
needs: checkout
@@ -132,7 +132,7 @@ jobs:
132132
arch:
133133
["x64", "x86"]
134134
python-version:
135-
["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
135+
["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
136136
max-parallel: 3
137137
fail-fast: false
138138
needs: build-geos
@@ -164,8 +164,6 @@ jobs:
164164
x86) arch="i686" ;;
165165
esac
166166
case "${{ matrix.python-version }}" in
167-
2.6|3.[23]) pkgvers=1.11.3; tag=manylinux1 ;;
168-
2.7|3.[456789]) pkgvers=1.16.6; tag=manylinux1 ;;
169167
3.10) pkgvers=1.21.4; tag=manylinux1 ;;
170168
3.11) pkgvers=1.23.3; tag=manylinux_2_17 ;;
171169
*) pkgvers=1.26.1; tag=manylinux_2_28 ;;
@@ -213,7 +211,7 @@ jobs:
213211
arch:
214212
["x64", "x86"]
215213
python-version:
216-
["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
214+
["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
217215
max-parallel: 3
218216
fail-fast: false
219217
needs: build
@@ -258,7 +256,7 @@ jobs:
258256
arch:
259257
["x64", "x86"]
260258
python-version:
261-
["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
259+
["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
262260
exclude:
263261
# Missing precompiled binaries for `numpy`, `matplotlib`,
264262
# `pyproj`, `pillow` and `lxml`.
@@ -413,7 +411,7 @@ jobs:
413411
arch:
414412
["x64", "x86"]
415413
python-version:
416-
["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
414+
["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
417415
max-parallel: 1
418416
if: startsWith(github.event.ref, 'refs/tags/v')
419417
needs: test

.github/workflows/basemap-for-windows.yml

+6-14
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
strategy:
4343
matrix:
4444
python-version:
45-
["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
45+
["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
4646
max-parallel: 3
4747
fail-fast: false
4848
needs: checkout
@@ -96,10 +96,8 @@ jobs:
9696
arch:
9797
["x64", "x86"]
9898
msvc-toolset:
99-
["9.0", "14.0"]
99+
["14.0"]
100100
include:
101-
- msvc-toolset: "9.0"
102-
python-version: "2.7"
103101
- msvc-toolset: "14.0"
104102
python-version: "3.5"
105103
max-parallel: 4
@@ -148,7 +146,7 @@ jobs:
148146
arch:
149147
["x64", "x86"]
150148
python-version:
151-
["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
149+
["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
152150
max-parallel: 3
153151
fail-fast: false
154152
needs: build-geos
@@ -174,8 +172,6 @@ jobs:
174172
name: Build old numpy from source
175173
run: |
176174
Switch -regex ("${{ matrix.python-version }}") {
177-
"^2\.6|3\.[123]$" { Set-Variable -Name "pkgvers" -Value "1.11.3" }
178-
"^2\.7|3\.[456789]$" { Set-Variable -Name "pkgvers" -Value "1.16.6" }
179175
"^3\.10$" { Set-Variable -Name "pkgvers" -Value "1.21.4" }
180176
"^3\.11$" { Set-Variable -Name "pkgvers" -Value "1.23.3" }
181177
default { Set-Variable -Name "pkgvers" -Value "1.26.1" }
@@ -185,11 +181,7 @@ jobs:
185181
-
186182
name: Set MSVC toolset version
187183
run: |
188-
if ("${{ matrix.python-version }}" -eq "2.7") {
189-
echo "msvc-toolset=9.0" >> $env:GITHUB_ENV
190-
} else {
191-
echo "msvc-toolset=14.0" >> $env:GITHUB_ENV
192-
}
184+
echo "msvc-toolset=14.0" >> $env:GITHUB_ENV
193185
-
194186
name: Set MSVC toolset
195187
uses: pylegacy/actions/setup-msvc@v2
@@ -223,7 +215,7 @@ jobs:
223215
arch:
224216
["x64", "x86"]
225217
python-version:
226-
["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
218+
["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
227219
exclude:
228220
# Missing precompiled binaries for `numpy` and `matplotlib`.
229221
- arch: "x86"
@@ -286,7 +278,7 @@ jobs:
286278
arch:
287279
["x64", "x86"]
288280
python-version:
289-
["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
281+
["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
290282
max-parallel: 1
291283
if: startsWith(github.event.ref, 'refs/tags/v')
292284
needs: test

0 commit comments

Comments
 (0)