html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue
https://github.com/pydata/xarray/issues/5944#issuecomment-963006086,https://api.github.com/repos/pydata/xarray/issues/5944,963006086,IC_kwDOAMm_X845Zk6G,9155111,2021-11-08T10:19:37Z,2021-11-08T10:19:37Z,CONTRIBUTOR,"To use the `select` method, the following should be changed:
- Swap the imports so that newer `importlib_metadata` is imported first:
https://github.com/pydata/xarray/blob/e0deb9cf0a5cd5c9e3db033fd13f075added9c1e/xarray/backends/plugins.py#L8-L12
- Require importlib_metadata for Python < 3.10
https://github.com/pydata/xarray/blob/e0deb9cf0a5cd5c9e3db033fd13f075added9c1e/setup.cfg#L81","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1046454702
https://github.com/pydata/xarray/issues/5944#issuecomment-963003300,https://api.github.com/repos/pydata/xarray/issues/5944,963003300,IC_kwDOAMm_X845ZkOk,9155111,2021-11-08T10:16:35Z,2021-11-08T10:16:35Z,CONTRIBUTOR,"@kmuehlbauer
- Add a `breakpoint()` below line 102 and print out entrypoints. Step into `build_engines` follow it using the debugger.
- Can you also try this suggestion https://github.com/pydata/xarray/issues/5944#issuecomment-962414054
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1046454702
https://github.com/pydata/xarray/issues/5944#issuecomment-962414054,https://api.github.com/repos/pydata/xarray/issues/5944,962414054,IC_kwDOAMm_X845XUXm,9155111,2021-11-06T07:50:52Z,2021-11-06T07:50:52Z,CONTRIBUTOR,"On a side note, the syntax `.get` is deprecated in the `importlib_metadata` package and most likely in Python 3.10's `importlib.metadata` stdlib.
```py
In [16]: from importlib_metadata import entry_points
In [17]: entry_points().get('xarray.backends', ())
:1: DeprecationWarning: SelectableGroups dict interface is deprecated. Use select.
entry_points().get('xarray.backends', ())
Out[17]:
[EntryPoint(name='rasterio', value='rioxarray.xarray_plugin:RasterioBackend', group='xarray.backends'),
EntryPoint(name='pymech', value='pymech.dataset:PymechXarrayBackend', group='xarray.backends')]
In [18]: entry_points().select(group='xarray.backends')
Out[18]:
[EntryPoint(name='rasterio', value='rioxarray.xarray_plugin:RasterioBackend', group='xarray.backends'),
EntryPoint(name='pymech', value='pymech.dataset:PymechXarrayBackend', group='xarray.backends')]
```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1046454702