You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2018/08/09 14:32:00 UTC

[jira] [Updated] (ARROW-3029) [Python] pkg_resources is slow

     [ https://issues.apache.org/jira/browse/ARROW-3029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wes McKinney updated ARROW-3029:
--------------------------------
    Fix Version/s: 0.11.0

> [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
>             Fix For: 0.11.0
>
>
> 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)