Skip to content

Commit

Permalink
Adjust CI to only test on python 3.5+
Browse files Browse the repository at this point in the history
  • Loading branch information
ksunden committed Jun 5, 2024
1 parent 422827b commit 43ed6a5
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 29 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/basemap-data-hires.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
strategy:
matrix:
python-version:
["2.7"]
["3.5"]
max-parallel: 1
needs: checkout
runs-on: ubuntu-latest
Expand Down Expand Up @@ -68,8 +68,7 @@ jobs:
strategy:
matrix:
python-version:
["2.6", "2.7", "3.2", "3.3", "3.4", "3.5", "3.6", "3.7", "3.8",
"3.9", "3.10", "3.11", "3.12"]
["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
max-parallel: 3
fail-fast: false
needs: build
Expand Down Expand Up @@ -101,7 +100,7 @@ jobs:
strategy:
matrix:
python-version:
["2.7"]
["3.5"]
max-parallel: 1
if: startsWith(github.event.ref, 'refs/tags/v')
needs: test
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/basemap-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
strategy:
matrix:
python-version:
["2.7"]
["3.5"]
max-parallel: 1
needs: checkout
runs-on: ubuntu-latest
Expand Down Expand Up @@ -68,8 +68,7 @@ jobs:
strategy:
matrix:
python-version:
["2.6", "2.7", "3.2", "3.3", "3.4", "3.5", "3.6", "3.7", "3.8",
"3.9", "3.10", "3.11", "3.12"]
["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
max-parallel: 3
fail-fast: false
needs: build
Expand Down Expand Up @@ -101,7 +100,7 @@ jobs:
strategy:
matrix:
python-version:
["2.7"]
["3.5"]
max-parallel: 1
if: startsWith(github.event.ref, 'refs/tags/v')
needs: test
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/basemap-for-manylinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
strategy:
matrix:
python-version:
["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
max-parallel: 3
fail-fast: false
needs: checkout
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
arch:
["x64", "x86"]
python-version:
["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
max-parallel: 3
fail-fast: false
needs: build-geos
Expand Down Expand Up @@ -164,8 +164,6 @@ jobs:
x86) arch="i686" ;;
esac
case "${{ matrix.python-version }}" in
2.6|3.[23]) pkgvers=1.11.3; tag=manylinux1 ;;
2.7|3.[456789]) pkgvers=1.16.6; tag=manylinux1 ;;
3.10) pkgvers=1.21.4; tag=manylinux1 ;;
3.11) pkgvers=1.23.3; tag=manylinux_2_17 ;;
*) pkgvers=1.26.1; tag=manylinux_2_28 ;;
Expand Down Expand Up @@ -213,7 +211,7 @@ jobs:
arch:
["x64", "x86"]
python-version:
["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
max-parallel: 3
fail-fast: false
needs: build
Expand Down Expand Up @@ -258,7 +256,7 @@ jobs:
arch:
["x64", "x86"]
python-version:
["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
exclude:
# Missing precompiled binaries for `numpy`, `matplotlib`,
# `pyproj`, `pillow` and `lxml`.
Expand Down Expand Up @@ -413,7 +411,7 @@ jobs:
arch:
["x64", "x86"]
python-version:
["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
max-parallel: 1
if: startsWith(github.event.ref, 'refs/tags/v')
needs: test
Expand Down
20 changes: 6 additions & 14 deletions .github/workflows/basemap-for-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
strategy:
matrix:
python-version:
["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
max-parallel: 3
fail-fast: false
needs: checkout
Expand Down Expand Up @@ -96,10 +96,8 @@ jobs:
arch:
["x64", "x86"]
msvc-toolset:
["9.0", "14.0"]
["14.0"]
include:
- msvc-toolset: "9.0"
python-version: "2.7"
- msvc-toolset: "14.0"
python-version: "3.5"
max-parallel: 4
Expand Down Expand Up @@ -148,7 +146,7 @@ jobs:
arch:
["x64", "x86"]
python-version:
["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
max-parallel: 3
fail-fast: false
needs: build-geos
Expand All @@ -174,8 +172,6 @@ jobs:
name: Build old numpy from source
run: |
Switch -regex ("${{ matrix.python-version }}") {
"^2\.6|3\.[123]$" { Set-Variable -Name "pkgvers" -Value "1.11.3" }
"^2\.7|3\.[456789]$" { Set-Variable -Name "pkgvers" -Value "1.16.6" }
"^3\.10$" { Set-Variable -Name "pkgvers" -Value "1.21.4" }
"^3\.11$" { Set-Variable -Name "pkgvers" -Value "1.23.3" }
default { Set-Variable -Name "pkgvers" -Value "1.26.1" }
Expand All @@ -185,11 +181,7 @@ jobs:
-
name: Set MSVC toolset version
run: |
if ("${{ matrix.python-version }}" -eq "2.7") {
echo "msvc-toolset=9.0" >> $env:GITHUB_ENV
} else {
echo "msvc-toolset=14.0" >> $env:GITHUB_ENV
}
echo "msvc-toolset=14.0" >> $env:GITHUB_ENV
-
name: Set MSVC toolset
uses: pylegacy/actions/setup-msvc@v2
Expand Down Expand Up @@ -223,7 +215,7 @@ jobs:
arch:
["x64", "x86"]
python-version:
["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
exclude:
# Missing precompiled binaries for `numpy` and `matplotlib`.
- arch: "x86"
Expand Down Expand Up @@ -286,7 +278,7 @@ jobs:
arch:
["x64", "x86"]
python-version:
["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
max-parallel: 1
if: startsWith(github.event.ref, 'refs/tags/v')
needs: test
Expand Down

0 comments on commit 43ed6a5

Please sign in to comment.