home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1109723579

This data as json

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/6514#issuecomment-1109723579 https://api.github.com/repos/pydata/xarray/issues/6514 1109723579 IC_kwDOAMm_X85CJQm7 367900 2022-04-26T12:16:48Z 2022-04-26T12:16:48Z CONTRIBUTOR

Just came to report this after seeing it in some tests of one of my projects. Based on a change I made for plugins in that project, I think that changing

https://github.com/pydata/xarray/blob/d479009d79374dc4a56c9f4346b1af38f5ac182c/xarray/backends/plugins.py#L96-L99

to

python @functools.lru_cache(maxsize=1) def list_engines(): try: entrypoints = entry_points(group="xarray.backends") # Python >= 3.10 except TypeError: entrypoints = entry_points().get("xarray.backends", ()) return build_engines(entrypoints)

will take care of this. Not tested as I don't have access to an older Python environment right now, but I can make a pull request later if this would be a suitable workaround and nobody else does so first.

{
    "total_count": 2,
    "+1": 2,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  1215082284
Powered by Datasette · Queries took 0.752ms · About: xarray-datasette