You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Jacob Scott (JIRA)" <ji...@apache.org> on 2017/06/03 02:42:04 UTC

[jira] [Created] (ARROW-1086) pyarrow 0.4.0 on pypi is missing pxd files

Jacob Scott created ARROW-1086:
----------------------------------

             Summary: pyarrow 0.4.0 on pypi is missing pxd files
                 Key: ARROW-1086
                 URL: https://issues.apache.org/jira/browse/ARROW-1086
             Project: Apache Arrow
          Issue Type: Bug
            Reporter: Jacob Scott


{{pip install pyarrow==0.4.0}} does not install the pxd files found in {{python/pyarrow/includes}}. 

This prevents use of pyarrow Cython code downstream; something as simple as {{from pyarrow.lib cimport Array}} fails due to

{code}
/Users/jhscott/.virtualenvs/arrow_cython/lib/python2.7/site-packages/pyarrow/lib.pxd: cannot find cimported module 'pyarrow.includes.libarrow'
/Users/jhscott/.virtualenvs/arrow_cython/lib/python2.7/site-packages/pyarrow/lib.pxd: cannot find cimported module 'pyarrow.includes.common'
{code}

Manually copying these pxd files from the arrow source tree into the location Cython complains about fixes the problem.

See https://github.com/snakescott/arrow_cython for an example repro.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)