Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-1086

[Python] pyarrow 0.4.0 on pypi is missing pxd files

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.4.1
    • Component/s: Python
    • Labels:
      None

      Description

      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

      /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'
      

      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.

        Attachments

          Activity

            People

            • Assignee:
              jacobscott Jacob Scott
              Reporter:
              jacobscott Jacob Scott
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: