Skip to content

Commit

Permalink
DEP: xarray 2022.3.0+ & numpy 1.23+ (corteva#728)
Browse files Browse the repository at this point in the history
  • Loading branch information
snowman2 authored Dec 22, 2023
1 parent d700541 commit ebf7d88
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,20 +35,17 @@ jobs:
python-version: ['3.10', '3.11', '3.12']
rasterio-version: ['']
xarray-version: ['']
pandas-version: ['']
run-with-scipy: ['YES']
gdal-version: ['3.8.2']
include:
- python-version: '3.10'
rasterio-version: ''
xarray-version: '==0.17'
pandas-version: '<2'
xarray-version: '==2022.3.0'
run-with-scipy: 'YES'
gdal-version: '3.6.4'
- python-version: '3.10'
rasterio-version: ''
xarray-version: ''
pandas-version: ''
run-with-scipy: 'NO'
gdal-version: '3.7.3'
steps:
Expand Down Expand Up @@ -76,7 +73,7 @@ jobs:
python${{ matrix.python-version }} -m venv testenv
. testenv/bin/activate
python -m pip install --upgrade pip
export INSTALL_DEPS='rasterio${{ matrix.rasterio-version }} xarray${{ matrix.xarray-version }} pandas${{ matrix.pandas-version }}'
export INSTALL_DEPS='rasterio${{ matrix.rasterio-version }} xarray${{ matrix.xarray-version }}'
[ "${{ matrix.run-with-scipy }}" = "YES" ] && export INSTALL_DEPS="${INSTALL_DEPS} scipy"
python -m pip install $INSTALL_DEPS
python -m pip install -e .[dev,doc]
Expand Down
1 change: 1 addition & 0 deletions docs/history.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Latest
-------
- DEP: Support Python 3.10-3.12 (pull #723)
- DEP: rasterio 1.3+, pyproj 3.3+ (pull #725, #727)
- DEP: xarray 2022.3.0+ & numpy 1.23+ (pull #728)

0.15.0
------
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ python_requires = >=3.10
install_requires =
packaging
rasterio>=1.3
xarray>=0.17
xarray>=2022.3.0
pyproj>=3.3
numpy>=1.21
numpy>=1.23

[options.package_data]
rioxarray =
Expand Down

0 comments on commit ebf7d88

Please sign in to comment.