@@ -17,10 +17,11 @@ jobs:
1717 fail-fast : false
1818 matrix :
1919 os : [ubuntu-latest, macos-latest, windows-latest]
20- python-version : ['3.11', '3.12', '3.13']
20+ python-version : ['3.11', '3.12', '3.13', '3.14' ]
2121 use-network : [true]
2222 include :
2323 - os : ubuntu-latest
24+ # switch to py 3.14 when fiona wheels are available https://github.com/Toblerity/Fiona/issues/1504
2425 python-version : ' 3.13'
2526 use-network : false
2627
4647 - name : Coverage packages
4748 id : coverage
4849 # only want the coverage to be run on the latest ubuntu and for code changes i.e. push and pr
50+ # switch to py 3.14 when fiona wheels are available https://github.com/Toblerity/Fiona/issues/1504
4951 if : |
5052 matrix.python-version == '3.13' && matrix.os == 'ubuntu-latest' &&
5153 (github.event_name == 'push' || github.event_name == 'pull_request')
6870 if [ ${{ steps.minimum-packages.conclusion }} == 'skipped' ]; then
6971 # Default is to install just the minimum testing requirements,
7072 # but we want to get as much coverage as possible.
71- EXTRA_PACKAGES=',ows,plotting,speedups'
73+ if [ ${{ matrix.python-version }} == '3.14' ]; then
74+ # remove this if loop when fiona wheels are available for py3.14
75+ # https://github.com/Toblerity/Fiona/issues/1504
76+ EXTRA_PACKAGES=',ows,plotting'
77+ pip install pykdtree
78+ else
79+ EXTRA_PACKAGES=',ows,plotting,speedups'
7280 fi
7381 pip install -e .[test${EXTRA_PACKAGES}]
7482 python -c "import cartopy; print('Version ', cartopy.__version__)"
@@ -157,7 +165,7 @@ jobs:
157165 uses : conda-incubator/setup-miniconda@v3
158166 with :
159167 auto-update-conda : true
160- python-version : ' 3.13 '
168+ python-version : ' 3.14 '
161169 activate-environment : cartopy-dev
162170 environment-file : environment.yml
163171
0 commit comments