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 sys.path scrubbing of pex extras modules. #752

Merged
merged 2 commits into from
Aug 7, 2019

Conversation

jsirois
Copy link
Member

@jsirois jsirois commented Aug 7, 2019

Previously we would fail to scrub any extras modules imported by the pex
bootstrapping code. Add failing unit and integration tests and fix this
with a missing scrub step to check modules (previously only packages
were scrubbed).

Fixes #745

Previously we would fail to scrub any extras modules imported by the pex
bootstrapping code. Add failing unit and integration tests and fix this
with a missing scrub step to check modules (previously only packages
were scrubbed).

Fixes pex-tool#745
@jsirois jsirois mentioned this pull request Aug 7, 2019
3 tasks
@jsirois
Copy link
Member Author

jsirois commented Aug 7, 2019

@danmur I'm not sure if you have time to review, but the integration test added should make some sense and replicate your root poetry issue. See here if so: https://github.com/pantsbuild/pex/pull/752/files#diff-7eb47fc18d4a6196f0940784484a5bf3R1609

@jsirois
Copy link
Member Author

jsirois commented Aug 7, 2019

Thanks @TansyArron. I'm going to merge and circle back if there is further feedback. This is a small fix with the complexity all in the tests so I'm going to proceed with the 1.6.9 release to get this and #750 out there.

@jsirois jsirois merged commit 0f9bf62 into pex-tool:master Aug 7, 2019
@jsirois jsirois deleted the issues/745 branch August 7, 2019 23:39
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.

/usr/lib64/python2.7 from system python gets into sys.path at runtime
2 participants