Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEP: xarray 2022.3.0+ & numpy 1.23+ #728

Merged
merged 1 commit into from
Dec 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading