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

fix for virtualenvs/envs with multiple py3 installed, allow for up to arrow 0.17 #1163

Merged
merged 19 commits into from
Aug 29, 2020

Conversation

timkpaine
Copy link
Member

fixes #1162, may also fix #1160 #1120 #1111 #1108 #937 #928

@timkpaine timkpaine added enhancement Feature requests or improvements Python labels Aug 23, 2020
else()
find_package( PythonInterp 3.7 REQUIRED )
find_package( PythonInterp REQUIRED )
set(__numpy_out 1)
Copy link
Member Author

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?

Copy link
Member Author

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

Copy link
Contributor

@sc1f sc1f Aug 24, 2020

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

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@timkpaine timkpaine changed the title fix for virtualenvs/envs with multiple py3 installed, allow for up later arrow fix for virtualenvs/envs with multiple py3 installed, allow for up to arrow 0.17 Aug 24, 2020
@timkpaine timkpaine requested a review from sc1f August 24, 2020 12:59
Copy link
Contributor

@sc1f sc1f left a 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.

@texodus
Copy link
Member

texodus commented Aug 29, 2020

Thanks for the PR!

@texodus texodus merged commit d327c98 into master Aug 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Concrete, reproducible bugs enhancement Feature requests or improvements Python
Projects
None yet
4 participants