Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Python] pyarrow 0.4.0 on pypi is missing pxd files #16674

Closed
asfimport opened this issue Jun 3, 2017 · 3 comments
Closed

[Python] pyarrow 0.4.0 on pypi is missing pxd files #16674

asfimport opened this issue Jun 3, 2017 · 3 comments

Comments

@asfimport
Copy link

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.

Reporter: Jacob Scott / @snakescott
Assignee: Jacob Scott / @snakescott

Note: This issue was originally created as ARROW-1086. Please see the migration documentation for further details.

@asfimport
Copy link
Author

Wes McKinney / @wesm:
Would you like to submit a patch to copy these files during setup.py install?

@asfimport
Copy link
Author

Jacob Scott / @snakescott:
sure!

@asfimport
Copy link
Author

Wes McKinney / @wesm:
Issue resolved by pull request 733
#733

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant