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

Honor sys.executable unless macOS Framework. #1065

Merged
merged 1 commit into from
Oct 9, 2020

Conversation

jsirois
Copy link
Member

@jsirois jsirois commented Oct 9, 2020

The prior fix for #1009 undid the fix in #860. Re-enable that fix
for any case that's clearly not in the context of a macOS Framework
Python build. Also add tests for pyenv shims to prevent further
regressions.

The prior fix for pex-tool#1009 undid the fix in pex-tool#860. Re-enable that fix
for any case that's clearly not in the context of a macOS Framework
Python build. Also add tests for pyenv shims to prevent further
regressions.
# N.B.: We should not need to look past `sys.executable` to learn the current interpreter's
# executable path, but on OSX there has been a bug where the `sys.executable` reported is
# _not_ the path of the current interpreter executable:
# https://bugs.python.org/issue22490#msg283859
if binary and binary != sys.executable:
TRACER.log(
Copy link
Member Author

Choose a reason for hiding this comment

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

These logs were never viewable since they were emitted durring a subprocess that captures both stdout and stderr as part of the execute_parallel Job / Retain framework. As such, just killed.

@jsirois jsirois mentioned this pull request Oct 9, 2020
5 tasks
Copy link
Contributor

@Eric-Arellano Eric-Arellano left a comment

Choose a reason for hiding this comment

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

Thank you

@jsirois jsirois merged commit 33a4304 into pex-tool:master Oct 9, 2020
@jsirois jsirois deleted the issues/1009/follow-up branch October 9, 2020 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants