-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
fix for virtualenvs/envs with multiple py3 installed, allow for up to arrow 0.17 #1163
Conversation
cmake/modules/FindPyArrow.cmake
Outdated
else() | ||
find_package( PythonInterp 3.7 REQUIRED ) | ||
find_package( PythonInterp REQUIRED ) | ||
set(__numpy_out 1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you see this little bug too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we were checking __pyarrow_out
but re-setting __numpy_out
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where does __numpy_out
get used? I couldn't find anything in our codebase
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Tested locally with a Python 3.7 virtualenv and all paths are correct.
One caveat unrelated to the content of this fix - users should use virtualenv
as venv
(at least in my local installation) did not provide python3.7
, and we use the exact version as our interpreter path. virtualenv
fixed this problem for me though, and I'm not sure if it's just an issue on my machine but worth making a note here.
…verrideable by user or via pip install --no-build-isolation)
This reverts commit 5246699.
Thanks for the PR! |
fixes #1162, may also fix #1160 #1120 #1111 #1108 #937 #928