Skip to content

Commit 2de31a1

Browse files
committed
Enable Python 3.10 in basemap-for-manylinux
1 parent 1e436ef commit 2de31a1

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

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

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
arch:
8585
["x64", "x86"]
8686
python-version:
87-
["2.7", "3.5", "3.6", "3.7", "3.8", "3.9"]
87+
["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10"]
8888
max-parallel: 3
8989
fail-fast: false
9090
needs: build-geos
@@ -117,8 +117,9 @@ jobs:
117117
name: Generate NumPy headers
118118
run: |
119119
case "${{ matrix.python-version }}" in
120-
2.[67]|3.[01234]) pkgvers=1.11.3;;
121-
*) pkgvers=1.16.6;;
120+
2.6|3.[23]) pkgvers=1.11.3;;
121+
2.7|3.[456]) pkgvers=1.16.6;;
122+
*) pkgvers=1.21.5;;
122123
esac
123124
pkgname=numpy
124125
pkgcode=numpy-${pkgvers}
@@ -152,7 +153,7 @@ jobs:
152153
arch:
153154
["x64", "x86"]
154155
python-version:
155-
["2.7", "3.5", "3.6", "3.7", "3.8", "3.9"]
156+
["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10"]
156157
max-parallel: 3
157158
fail-fast: false
158159
needs: build
@@ -204,7 +205,7 @@ jobs:
204205
arch:
205206
["x64", "x86"]
206207
python-version:
207-
["2.7", "3.5", "3.6", "3.7", "3.8", "3.9"]
208+
["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10"]
208209
max-parallel: 3
209210
fail-fast: false
210211
needs: repair
@@ -251,7 +252,7 @@ jobs:
251252
python -m pip install .
252253
cd ..
253254
rm -rf ${pkgcode}
254-
if: matrix.python-version == '3.9'
255+
if: matrix.python-version == '3.9' || matrix.python-version == '3.10'
255256
env:
256257
pyproj-version: 1.9.6
257258
-
@@ -269,7 +270,7 @@ jobs:
269270
arch:
270271
["x64", "x86"]
271272
python-version:
272-
["2.7", "3.5", "3.6", "3.7", "3.8", "3.9"]
273+
["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10"]
273274
max-parallel: 1
274275
if: startsWith(github.event.ref, 'refs/tags/v')
275276
needs: test

0 commit comments

Comments
 (0)