home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 961780560

This data as json

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
961780560 MDU6SXNzdWU5NjE3ODA1NjA= 5676 Do not require on pkg_resources as it drastically increases import time. 170287 closed 0     2 2021-08-05T12:36:42Z 2021-11-01T14:33:25Z 2021-11-01T14:33:25Z CONTRIBUTOR      

Is your feature request related to a problem? Please describe. Most of the import time of xarray is wasted by importing pkg_resources. As far as I could see, the module is used to set the version number of xarray. So importing xarray takes like 0.275s (old machine) and of this 0.17s are just spent in importing pkg_resources.

Describe the solution you'd like There are better approaches to set the version number than to use this heavy weight module. For instance setuptools_scm.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context xarray-version 0.19.0

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/5676/reactions",
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 0 rows from issues_id in issues_labels
  • 2 rows from issue in issue_comments
Powered by Datasette · Queries took 0.596ms · About: xarray-datasette