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

[Python] pyarrow 0.4.0 on pypi is missing pxd files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4.1
    • Python
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: