Skip to content

Commit a0b26b4

Browse files
weiji14Meghan Jones
and
Meghan Jones
authored
Reinstall optional geopandas dependency on CI tests (#1331)
Add `geopandas` as a dependency again on the latest NEP29 Python 3.9/NumPy 1.20 tests. Also unpin gdal version on ci_tests.yaml so that tests run on gdal>=3.3, and include geopandas in the conda environment.yml file. Co-authored-by: Meghan Jones <[email protected]>
1 parent e750d0d commit a0b26b4

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/ci_tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
optional-packages: ''
5353
- python-version: 3.9
5454
numpy-version: '1.20'
55-
optional-packages: '' # 'geopandas'
55+
optional-packages: 'geopandas'
5656
defaults:
5757
run:
5858
shell: bash -l {0}

.github/workflows/ci_tests_dev.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
# Install dependencies from conda-forge
8484
- name: Install dependencies
8585
run: |
86-
conda install ninja cmake libblas libcblas liblapack fftw gdal=3.2 geopandas \
86+
conda install ninja cmake libblas libcblas liblapack fftw gdal geopandas \
8787
ghostscript libnetcdf hdf5 zlib curl pcre make dvc
8888
pip install --pre numpy pandas xarray netCDF4 packaging \
8989
ipython pytest-cov pytest-mpl pytest>=6.0 sphinx-gallery

environment.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ dependencies:
1111
- xarray
1212
- netCDF4
1313
- packaging
14+
# Optional dependencies
15+
- geopandas
1416
# Development dependencies
1517
- black
1618
- blackdoc

0 commit comments

Comments
 (0)