File tree Expand file tree Collapse file tree 3 files changed +15
-8
lines changed Expand file tree Collapse file tree 3 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 4141
4242 env :
4343 CONDA_ENV_FILE : ci/requirements/environment.yml
44- PYTHON_VERSION : " 3.10 "
44+ PYTHON_VERSION : " 3.11 "
4545
4646 steps :
4747 - uses : actions/checkout@v4
8787 shell : bash -l {0}
8888 env :
8989 CONDA_ENV_FILE : ci/requirements/environment.yml
90- PYTHON_VERSION : " 3.10 "
90+ PYTHON_VERSION : " 3.11 "
9191
9292 steps :
9393 - uses : actions/checkout@v4
@@ -332,7 +332,7 @@ jobs:
332332 with :
333333 environment-name : xarray-tests
334334 create-args : >-
335- python=3.10
335+ python=3.11
336336 pyyaml
337337 conda
338338 python-dateutil
Original file line number Diff line number Diff line change 5050 strategy :
5151 fail-fast : false
5252 matrix :
53- python-version : ["3.10 "]
53+ python-version : ["3.11 "]
5454 steps :
5555 - uses : actions/checkout@v4
5656 with :
@@ -110,17 +110,17 @@ jobs:
110110 strategy :
111111 fail-fast : false
112112 matrix :
113- python-version : ["3.10 "]
113+ python-version : ["3.11 "]
114114 steps :
115115 - uses : actions/checkout@v4
116116 with :
117117 fetch-depth : 0 # Fetch all history for all branches and tags.
118118 - name : Set up conda environment
119- uses : mamba-org/provision-with- micromamba@v15
119+ uses : mamba-org/setup- micromamba@v1
120120 with :
121121 environment-file : ci/requirements/environment.yml
122122 environment-name : xarray-tests
123- extra-specs : |
123+ create-args : >-
124124 python=${{ matrix.python-version }}
125125 pytest-reportlog
126126 conda
Original file line number Diff line number Diff line change @@ -63,7 +63,14 @@ def _importorskip(
6363
6464has_matplotlib , requires_matplotlib = _importorskip ("matplotlib" )
6565has_scipy , requires_scipy = _importorskip ("scipy" )
66- has_pydap , requires_pydap = _importorskip ("pydap.client" )
66+ with warnings .catch_warnings ():
67+ warnings .filterwarnings (
68+ "ignore" ,
69+ message = "'cgi' is deprecated and slated for removal in Python 3.13" ,
70+ category = DeprecationWarning ,
71+ )
72+
73+ has_pydap , requires_pydap = _importorskip ("pydap.client" )
6774has_netCDF4 , requires_netCDF4 = _importorskip ("netCDF4" )
6875has_h5netcdf , requires_h5netcdf = _importorskip ("h5netcdf" )
6976has_pynio , requires_pynio = _importorskip ("Nio" )
You can’t perform that action at this time.
0 commit comments