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

Add python 3.11 to CI #7353

Closed
wants to merge 26 commits into from
Closed
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
980033c
Add python 3.11 to CI
Illviljan Dec 4, 2022
d421f6e
comment out numba
Illviljan Dec 4, 2022
e6d5f87
Comment out zarr
Illviljan Dec 4, 2022
63c4605
Comment out netcdf4
Illviljan Dec 4, 2022
f62d1c0
comment out h5netcdf
Illviljan Dec 4, 2022
982dbcc
comment out hdf5
Illviljan Dec 4, 2022
0d21420
comment out h5py
Illviljan Dec 4, 2022
fb337c9
comment out cdms2
Illviljan Dec 4, 2022
31217a1
comment out psuedonetcdf
Illviljan Dec 4, 2022
234f6d4
Merge branch 'main' into add_python_311
Illviljan Dec 18, 2022
42e2954
comment out pydap
Illviljan Dec 18, 2022
5a5339c
comment out numbagg
Illviljan Dec 18, 2022
c5fe320
comment out pip install
Illviljan Dec 18, 2022
68e4b60
Update ci/requirements/environment.yml
Illviljan Dec 24, 2022
0e8fe97
Update ci/requirements/environment.yml
Illviljan Dec 24, 2022
50dd570
Update ci/requirements/environment.yml
Illviljan Dec 24, 2022
836eb68
Update ci/requirements/environment.yml
Illviljan Dec 25, 2022
84725cb
Merge branch 'main' into add_python_311
keewis Jan 10, 2023
1d230fb
Merge branch 'main' into add_python_311
dcherian Jan 20, 2023
dd17c04
update rest of envs
Illviljan Jan 20, 2023
87d689a
Let's see if we have any errors with this
Illviljan Jan 20, 2023
2160455
Merge branch 'main' into add_python_311
Illviljan Jan 23, 2023
7ff4f0f
Merge branch 'main' into add_python_311
dcherian Jan 26, 2023
45e23ea
Merge branch 'main' into add_python_311
Illviljan Mar 3, 2023
0bf2113
Merge branch 'main' into add_python_311
Illviljan Apr 15, 2023
ad7a80c
Merge branch 'main' into add_python_311
Illviljan May 4, 2023
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
6 changes: 3 additions & 3 deletions .github/workflows/ci-additional.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:

env:
CONDA_ENV_FILE: ci/requirements/environment.yml
PYTHON_VERSION: "3.10"
PYTHON_VERSION: "3.11"

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
shell: bash -l {0}
env:
CONDA_ENV_FILE: ci/requirements/environment.yml
PYTHON_VERSION: "3.10"
PYTHON_VERSION: "3.11"

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -217,7 +217,7 @@ jobs:
environment-name: xarray-tests
environment-file: false
extra-specs: |
python=3.10
python=3.11
pyyaml
conda
python-dateutil
Expand Down
8 changes: 4 additions & 4 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 @@ -54,10 +54,10 @@ jobs:
os: ubuntu-latest
# Latest python version:
- env: "all-but-dask"
python-version: "3.10"
python-version: "3.11"
os: ubuntu-latest
- env: "flaky"
python-version: "3.10"
python-version: "3.11"
os: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
# We only want to install this on one run, because otherwise we'll have
# duplicate annotations.
- name: Install error reporter
if: ${{ matrix.os }} == 'ubuntu-latest' and ${{ matrix.python-version }} == '3.10'
if: ${{ matrix.os }} == 'ubuntu-latest' and ${{ matrix.python-version }} == '3.11'
run: |
python -m pip install pytest-github-actions-annotate-failures

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upstream-dev-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.10"]
python-version: ["3.11"]
steps:
- uses: actions/checkout@v3
with:
Expand Down
24 changes: 12 additions & 12 deletions ci/requirements/all-but-dask.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,33 @@ channels:
- conda-forge
- nodefaults
dependencies:
- python=3.10
- python=3.11
- black
- aiobotocore
- boto3
- bottleneck
- cartopy
- cdms2
# - cdms2 # TODO: Waiting on python 3.11 support.
- cfgrib
- cftime
- coveralls
- flox
- h5netcdf
- h5py
- hdf5
# - h5netcdf # TODO: Waiting on python 3.11 support.
# - h5py # TODO: Waiting on python 3.11 support.
# - hdf5 # TODO: Waiting on python 3.11 support.
- hypothesis
- lxml # Optional dep of pydap
- matplotlib-base
- nc-time-axis
- netcdf4
- numba
# - netcdf4 # TODO: Waiting on python 3.11 support.
# - numba # TODO: Waiting on python 3.11 support.
- numpy
- packaging
- pandas
- pint
- pip
- pseudonetcdf
- pydap
# - pseudonetcdf # TODO: Waiting on python 3.11 support.
# - pydap # TODO: Waiting on python 3.11 support.
- pytest
- pytest-cov
- pytest-env
Expand All @@ -40,6 +40,6 @@ dependencies:
- sparse
- toolz
- typing_extensions
- zarr
- pip:
- numbagg
# - zarr # TODO: Waiting on python 3.11 support.
# - pip:
# - numbagg # TODO: Waiting on python 3.11 support.
20 changes: 10 additions & 10 deletions ci/requirements/environment-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,24 @@ dependencies:
- distributed
- flox
- fsspec!=2021.7.0
- h5netcdf
- h5py
- hdf5
# - h5netcdf # TODO: Waiting on python 3.11 support.
# - h5py # TODO: Waiting on python 3.11 support.
# - hdf5 # TODO: Waiting on python 3.11 support.
- hypothesis
- iris
- lxml # Optional dep of pydap
- matplotlib-base
- nc-time-axis
- netcdf4
- numba
# - netcdf4 # TODO: Waiting on python 3.11 support.
# - numba # TODO: Waiting on python 3.11 support.
- numpy
- packaging
- pandas
- pint
- pip
- pre-commit
- pseudonetcdf
- pydap
# - pseudonetcdf # TODO: Waiting on python 3.11 support.
# - pydap # TODO: Waiting on python 3.11 support.
- pytest
- pytest-cov
- pytest-env
Expand All @@ -40,6 +40,6 @@ dependencies:
- sparse
- toolz
- typing_extensions
- zarr
- pip:
- numbagg
# - zarr # TODO: Waiting on python 3.11 support.
# - pip:
# - numbagg # TODO: Waiting on python 3.11 support.
22 changes: 11 additions & 11 deletions ci/requirements/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,23 @@ dependencies:
- boto3
- bottleneck
- cartopy
- cdms2
# - cdms2 # TODO: Waiting on python 3.11 support.
- cfgrib
- cftime
- dask-core
- distributed
- flox
- fsspec!=2021.7.0
- h5netcdf
- h5py
- hdf5
# - h5netcdf # TODO: Waiting on python 3.11 support.
# - h5py # TODO: Waiting on python 3.11 support.
# - hdf5 # TODO: Waiting on python 3.11 support.
Illviljan marked this conversation as resolved.
Show resolved Hide resolved
- hypothesis
- iris
- lxml # Optional dep of pydap
- matplotlib-base
- nc-time-axis
- netcdf4
- numba
# - netcdf4 # TODO: Waiting on python 3.11 support.
Illviljan marked this conversation as resolved.
Show resolved Hide resolved
# - numba # TODO: Waiting on python 3.11 support.
- numexpr
- numpy
- packaging
Expand All @@ -32,8 +32,8 @@ dependencies:
- pip
- pooch
- pre-commit
- pseudonetcdf
- pydap
# - pseudonetcdf # TODO: Waiting on python 3.11 support.
# - pydap # TODO: Waiting on python 3.11 support.
Illviljan marked this conversation as resolved.
Show resolved Hide resolved
- pytest
- pytest-cov
- pytest-env
Expand All @@ -44,6 +44,6 @@ dependencies:
- sparse
- toolz
- typing_extensions
- zarr
- pip:
- numbagg
# - zarr # TODO: Waiting on python 3.11 support.
Illviljan marked this conversation as resolved.
Show resolved Hide resolved
# - pip:
# - numbagg # TODO: Waiting on python 3.11 support.