diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a7a0a640..c20cd5cc 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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: @@ -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 . @@ -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: @@ -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 . diff --git a/.github/workflows/upstream-dev-ci.yaml b/.github/workflows/upstream-dev-ci.yaml index e7f8e86c..13cd1922 100644 --- a/.github/workflows/upstream-dev-ci.yaml +++ b/.github/workflows/upstream-dev-ci.yaml @@ -29,7 +29,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.10"] + python-version: ["3.11"] steps: - uses: actions/checkout@v3 with: @@ -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 . diff --git a/ci/doc.yml b/ci/doc.yml index 4b8620ce..4ed670a8 100644 --- a/ci/doc.yml +++ b/ci/doc.yml @@ -3,7 +3,7 @@ channels: - conda-forge dependencies: - pip - - python=3.8 + - python=3.11 - matplotlib-base - netcdf4 - pooch diff --git a/ci/environment.yml b/ci/environment.yml index 7f1d6f75..05495fed 100644 --- a/ci/environment.yml +++ b/ci/environment.yml @@ -14,6 +14,7 @@ dependencies: - pint - pooch - regex + - rich - scipy - shapely - xarray diff --git a/ci/upstream-dev-env.yml b/ci/upstream-dev-env.yml index 8e0b5b9b..364b071e 100644 --- a/ci/upstream-dev-env.yml +++ b/ci/upstream-dev-env.yml @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 6ad7ffb0..7eb6bbb0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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",