Skip to content

Commit 7d8b20c

Browse files
authored
CI: formally test agains python 3.14 (#150)
* CI: formally test agains python 3.14 * debug windows * another debug run * get exactextract from conda * revert debugging
1 parent 4e87ecf commit 7d8b20c

3 files changed

Lines changed: 33 additions & 4 deletions

File tree

.github/workflows/tests.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,23 @@ jobs:
1717
strategy:
1818
matrix:
1919
os: [macos-latest, ubuntu-latest, windows-latest]
20-
environment-file: [ci/313.yaml]
20+
environment-file: [ci/314.yaml]
2121
include:
2222
- environment-file: ci/310.yaml
2323
os: ubuntu-latest
2424
- environment-file: ci/311.yaml
2525
os: ubuntu-latest
2626
- environment-file: ci/312.yaml
2727
os: ubuntu-latest
28+
- environment-file: ci/313.yaml
29+
os: ubuntu-latest
2830
- environment-file: ci/dev.yaml
2931
os: ubuntu-latest
3032
defaults:
3133
run:
3234
shell: bash -l {0}
35+
permissions:
36+
issues: write
3337

3438
steps:
3539
- name: checkout repo
@@ -60,6 +64,6 @@ jobs:
6064
&& steps.status.outcome == 'failure'
6165
&& github.event_name == 'schedule'
6266
&& github.repository_owner == 'xarray-contrib'
63-
uses: xarray-contrib/issue-from-pytest-log@v1
67+
uses: scientific-python/issue-from-pytest-log@v1
6468
with:
6569
log-path: pytest-log.jsonl

ci/313.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ dependencies:
99
- rioxarray
1010
- joblib
1111
- rasterio
12+
- exactextract
1213
- tqdm
1314
- pyproj
1415
# testing
@@ -24,5 +25,3 @@ dependencies:
2425
- scipy
2526
- netCDF4
2627
- pip
27-
- pip:
28-
- exactextract

ci/314.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: xvec
2+
channels:
3+
- conda-forge
4+
dependencies:
5+
- python=3.14
6+
# required
7+
- shapely >=2
8+
- xarray
9+
- rioxarray
10+
- joblib
11+
- rasterio
12+
- exactextract
13+
- tqdm
14+
- pyproj
15+
# testing
16+
- pytest
17+
- pytest-cov
18+
- pytest-xdist
19+
- pytest-reportlog
20+
- geopandas-base
21+
- geodatasets
22+
- pyogrio
23+
- xproj
24+
- matplotlib
25+
- scipy
26+
- pip

0 commit comments

Comments
 (0)