[ https://issues.apache.org/jira/browse/ARROW-3029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17660054#comment-17660054 ]
Rok Mihevc commented on ARROW-3029: ----------------------------------- This issue has been migrated to [issue #19390|https://github.com/apache/arrow/issues/19390] on GitHub. Please see the [migration documentation|https://github.com/apache/arrow/issues/14542] for further details. > [Python] pkg_resources is slow > ------------------------------ > > Key: ARROW-3029 > URL: https://issues.apache.org/jira/browse/ARROW-3029 > Project: Apache Arrow > Issue Type: Improvement > Components: Python > Affects Versions: 0.10.0 > Reporter: Antoine Pitrou > Assignee: Antoine Pitrou > Priority: Major > Labels: pull-request-available > Fix For: 0.11.0 > > Time Spent: 50m > Remaining Estimate: 0h > > Importing and calling {{pkg_resources}} at pyarrow import time to get the > version number is slow (around 200 ms. here, out of 640 ms. total for > importing pyarrow). > Instead we could generate a version file, which seems possible using > {{setuptools_scm}}'s {{write_to}} parameter: > https://github.com/pypa/setuptools_scm/#configuration-parameters -- This message was sent by Atlassian Jira (v8.20.10#820010)