Skip to content
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
10 changes: 8 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
# Bookend python versions
python-version: ["3.8", "3.10"]
python-version: ["3.8", "3.10", "3.11"]
env: [""]
include:
# Minimum python version:
Expand All @@ -67,7 +67,13 @@ jobs:
run: |
echo "TODAY=$(date +'%Y-%m-%d')" >> $GITHUB_ENV

if [[ ${{ matrix.os }} == windows* ]] ;
if [[ "${{matrix.python-version}}" == "3.11" ]]; then
if [[ ${{matrix.os}} == windows* ]]; then
echo "CONDA_ENV_FILE=ci/requirements/environment-windows-py311.yml" >> $GITHUB_ENV
else
echo "CONDA_ENV_FILE=ci/requirements/environment-py311.yml" >> $GITHUB_ENV
fi
elif [[ ${{ matrix.os }} == windows* ]] ;
then
echo "CONDA_ENV_FILE=ci/requirements/environment-windows.yml" >> $GITHUB_ENV
elif [[ "${{ matrix.env }}" != "" ]] ;
Expand Down
48 changes: 48 additions & 0 deletions ci/requirements/environment-py311.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: xarray-tests
channels:
- conda-forge
- nodefaults
dependencies:
- aiobotocore
- boto3
- bottleneck
- cartopy
# - cdms2
- cfgrib
- cftime
- dask-core
- distributed
- flox
- fsspec!=2021.7.0
- h5netcdf
- h5py
- hdf5
- hypothesis
- iris
- lxml # Optional dep of pydap
- matplotlib-base
- nc-time-axis
- netcdf4
# - numba
# - numbagg
- numexpr
- numpy
- packaging
- pandas
- pint
- pip
- pooch
- pre-commit
- pseudonetcdf
- pydap
- pytest
- pytest-cov
- pytest-env
- pytest-xdist
- rasterio
- scipy
- seaborn
# - sparse
- toolz
- typing_extensions
- zarr
44 changes: 44 additions & 0 deletions ci/requirements/environment-windows-py311.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: xarray-tests
channels:
- conda-forge
dependencies:
- boto3
- bottleneck
- cartopy
# - cdms2 # Not available on Windows
# - cfgrib # Causes Python interpreter crash on Windows: https://github.com/pydata/xarray/pull/3340
- cftime
- dask-core
- distributed
- flox
- fsspec!=2021.7.0
- h5netcdf
- h5py
- hdf5
- hypothesis
- iris
- lxml # Optional dep of pydap
- matplotlib-base
- nc-time-axis
- netcdf4
# - numba
# - numbagg
- numpy
- packaging
- pandas
- pint
- pip
- pre-commit
- pseudonetcdf
- pydap
- pytest
- pytest-cov
- pytest-env
- pytest-xdist
- rasterio
- scipy
- seaborn
# - sparse
- toolz
- typing_extensions
- zarr
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ classifiers =
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Topic :: Scientific/Engineering

[options]
Expand Down