[
https://issues.apache.org/jira/browse/ARROW-3029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rok Mihevc updated ARROW-3029:
------------------------------
External issue URL: https://github.com/apache/arrow/issues/19390
> [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)