Skip to content

Test and support 3.11 #417

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

Merged
merged 14 commits into from
Feb 3, 2023
11 changes: 5 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
python-version: ["3.8", "3.10"]
python-version: ["3.8", "3.11"]
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -116,8 +116,6 @@ jobs:
environment-file: ci/environment-no-optional-deps.yml
environment-name: cf_xarray_test
cache-env: true
extra-specs: |
python="${{ matrix.python-version }}"
- name: Install cf_xarray
run: |
python -m pip install --no-deps -e .
Expand All @@ -132,8 +130,9 @@ jobs:
defaults:
run:
shell: bash -l {0}
env:
PYTHON_VERSION: "3.10"
strategy:
matrix:
python-version: ["3.8", "3.11"]
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -145,7 +144,7 @@ jobs:
environment-name: cf_xarray_test
cache-env: true
extra-specs: |
python="${{ env.PYTHON_VERSION }}"
python="${{ matrix.python-version }}"
- name: Install cf_xarray
run: |
python -m pip install --no-deps -e .
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/upstream-dev-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.10"]
python-version: ["3.11"]
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -42,9 +42,9 @@ jobs:
with:
environment-file: ci/upstream-dev-env.yml
environment-name: cf_xarray_test
cache-env: False
extra-specs: |
python="${{ matrix.python-version }}"
pytest-reportlog
- name: Install cf_xarray
run: |
python -m pip install --no-deps -e .
Expand Down
2 changes: 1 addition & 1 deletion ci/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ channels:
- conda-forge
dependencies:
- pip
- python=3.8
- python=3.11
- matplotlib-base
- netcdf4
- pooch
Expand Down
1 change: 1 addition & 0 deletions ci/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ dependencies:
- pint
- pooch
- regex
- rich
- scipy
- shapely
- xarray
Expand Down
9 changes: 6 additions & 3 deletions ci/upstream-dev-env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,17 @@ dependencies:
- pytest-cov
- pytest
- pytest-xdist
- pytest-reportlog
- dask
- matplotlib-base
- netcdf4
- pandas
- pooch
- rich
- shapely
- pip
- pip:
- pytest-pretty
- git+https://github.com/pydata/xarray
- git+https://github.com/dcherian/flox
- git+https://github.com/hgrecco/pint
- git+https://github.com/pydata/xarray.git
- git+https://github.com/dcherian/flox.git
- git+https://github.com/hgrecco/pint.git
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ classifiers = [
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
dependencies = [
"xarray",
Expand Down