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-964166418,https://api.github.com/repos/pydata/xarray/issues/5944,964166418,IC_kwDOAMm_X845eAMS,5821660,2021-11-09T13:47:08Z,2021-11-09T13:47:08Z,MEMBER,"OK, here are my findings. There are tests for this in https://github.com/pydata/xarray/blob/main/xarray/tests/test_plugins.py, but they are still using `pkg_resources`. Because of that, the tests did not capture this issue although we have tests for it. While fixing the AttributeError the tests finally failed (it was using `pkg_resources` nomenclature). With latest #5959 everything should be in place now. ","{""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-963910158,https://api.github.com/repos/pydata/xarray/issues/5944,963910158,IC_kwDOAMm_X845dBoO,5821660,2021-11-09T08:16:23Z,2021-11-09T08:16:23Z,MEMBER,@snowman2 #5959 should fix the `AttributeError: 'EntryPoint' object has no attribute 'module_name'`.,"{""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-963573691,https://api.github.com/repos/pydata/xarray/issues/5944,963573691,IC_kwDOAMm_X845bve7,5821660,2021-11-08T21:07:26Z,2021-11-08T21:07:26Z,MEMBER,"@snowman2 Do you get the same error when running the testsuite for rioxarray with xarray 0.20.1? My question would be, why are those duplicates there in the first place. ","{""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-963061544,https://api.github.com/repos/pydata/xarray/issues/5944,963061544,IC_kwDOAMm_X845Zyco,5821660,2021-11-08T11:31:03Z,2021-11-08T11:31:03Z,MEMBER,"@weiji14 I've solved my issue by invoking `pytest` with `--import-mode=""append""` outside the package directory.","{""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-962997871,https://api.github.com/repos/pydata/xarray/issues/5944,962997871,IC_kwDOAMm_X845Zi5v,5821660,2021-11-08T10:10:30Z,2021-11-08T10:10:30Z,MEMBER,"@ashwinvis @weiji14 I've encountered the same problem. As there is possibly a bug in `remove_duplicates`, another issue is hidden deeper. https://github.com/pydata/xarray/blob/e0deb9cf0a5cd5c9e3db033fd13f075added9c1e/xarray/backends/plugins.py#L100-L103 Here `entry_points` is called and for some reason it returns the `xarray.backends` twice (but only if invoked via `pytest`). This can be followed down to `importlib/metadata.py` `distributions()` which finds the package under test twice. This is as far as I could get. Any help very much appreciated.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1046454702