id,node_id,number,title,user,state,locked,assignee,milestone,comments,created_at,updated_at,closed_at,author_association,active_lock_reason,draft,pull_request,body,reactions,performed_via_github_app,state_reason,repo,type 1215082284,I_kwDOAMm_X85IbK8s,6514,plugins.py:98: DeprecationWarning: SelectableGroups dict interface is deprecated. Use select.,226037,closed,0,,,4,2022-04-25T21:49:20Z,2022-04-27T01:07:50Z,2022-04-27T01:07:50Z,MEMBER,,,,"### What happened? The plugin interface warns with `DeprecationWarning` in python 3.10. ### What did you expect to happen? No warning to be issued. ### Minimal Complete Verifiable Example ```Python Running `pytest` on any *Xarray* importing test. ``` ### Relevant log output ```Python .../python3.10/site-packages/xarray/backends/plugins.py:98: DeprecationWarning: SelectableGroups dict interface is deprecated. Use select. entrypoints = entry_points().get(""xarray.backends"", ()) ``` ### Anything else we need to know? According to the *Compatibity note* in: https://docs.python.org/3/library/importlib.metadata.html#entry-points the new API is `entry_points(group='xarray.backends')` ### Environment
INSTALLED VERSIONS ------------------ commit: None python: 3.10.4 | packaged by conda-forge | (main, Mar 24 2022, 17:42:03) [Clang 12.0.1 ] python-bits: 64 OS: Darwin OS-release: 21.3.0 machine: arm64 processor: arm byteorder: little LC_ALL: None LANG: None LOCALE: (None, 'UTF-8') libhdf5: None libnetcdf: None xarray: 2022.3.0 pandas: 1.4.2 numpy: 1.22.3 scipy: 1.8.0 netCDF4: None pydap: None h5netcdf: None h5py: None Nio: None zarr: 2.11.3 cftime: None nc_time_axis: None PseudoNetCDF: None rasterio: 1.2.10 cfgrib: None iris: None bottleneck: None dask: 2022.04.1 distributed: 2022.4.1 matplotlib: 3.5.1 cartopy: None seaborn: None numbagg: None fsspec: 2022.3.0 cupy: None pint: None sparse: None setuptools: 62.1.0 pip: 22.0.4 conda: 4.12.0 pytest: 7.1.2 IPython: 8.2.0 sphinx: None
","{""url"": ""https://api.github.com/repos/pydata/xarray/issues/6514/reactions"", ""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,completed,13221727,issue