You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (JIRA)" <ji...@apache.org> on 2018/08/09 12:32:00 UTC
[jira] [Created] (ARROW-3029) [Python] pkg_resources is slow
Antoine Pitrou created ARROW-3029:
-------------------------------------
Summary: [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
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
(v7.6.3#76005)