File tree 3 files changed +15
-8
lines changed
3 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 41
41
42
42
env :
43
43
CONDA_ENV_FILE : ci/requirements/environment.yml
44
- PYTHON_VERSION : " 3.10 "
44
+ PYTHON_VERSION : " 3.11 "
45
45
46
46
steps :
47
47
- uses : actions/checkout@v4
87
87
shell : bash -l {0}
88
88
env :
89
89
CONDA_ENV_FILE : ci/requirements/environment.yml
90
- PYTHON_VERSION : " 3.10 "
90
+ PYTHON_VERSION : " 3.11 "
91
91
92
92
steps :
93
93
- uses : actions/checkout@v4
@@ -332,7 +332,7 @@ jobs:
332
332
with :
333
333
environment-name : xarray-tests
334
334
create-args : >-
335
- python=3.10
335
+ python=3.11
336
336
pyyaml
337
337
conda
338
338
python-dateutil
Original file line number Diff line number Diff line change 50
50
strategy :
51
51
fail-fast : false
52
52
matrix :
53
- python-version : ["3.10 "]
53
+ python-version : ["3.11 "]
54
54
steps :
55
55
- uses : actions/checkout@v4
56
56
with :
@@ -110,17 +110,17 @@ jobs:
110
110
strategy :
111
111
fail-fast : false
112
112
matrix :
113
- python-version : ["3.10 "]
113
+ python-version : ["3.11 "]
114
114
steps :
115
115
- uses : actions/checkout@v4
116
116
with :
117
117
fetch-depth : 0 # Fetch all history for all branches and tags.
118
118
- name : Set up conda environment
119
- uses : mamba-org/provision-with- micromamba@v15
119
+ uses : mamba-org/setup- micromamba@v1
120
120
with :
121
121
environment-file : ci/requirements/environment.yml
122
122
environment-name : xarray-tests
123
- extra-specs : |
123
+ create-args : >-
124
124
python=${{ matrix.python-version }}
125
125
pytest-reportlog
126
126
conda
Original file line number Diff line number Diff line change @@ -63,7 +63,14 @@ def _importorskip(
63
63
64
64
has_matplotlib , requires_matplotlib = _importorskip ("matplotlib" )
65
65
has_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" )
67
74
has_netCDF4 , requires_netCDF4 = _importorskip ("netCDF4" )
68
75
has_h5netcdf , requires_h5netcdf = _importorskip ("h5netcdf" )
69
76
has_pynio , requires_pynio = _importorskip ("Nio" )
You can’t perform that action at this time.
0 commit comments