Skip to content

Conversation

@huonw
Copy link
Collaborator

@huonw huonw commented Mar 31, 2025

Similar to #2726, there's some additional variables that are need to avoid the --sh-boot fast-path.

Comment on lines +362 to +368
for env in [dict(PEX_PYTHON="FIXME"), dict(PEX_PYTHON_PATH="FIXME")]:
output = subprocess.check_output(
args=[pex, "-c", "import sys; print(sys.version)"],
env=make_env(PEX_ROOT=pex_root, **env),
stderr=subprocess.STDOUT,
)
assert False, "FIXME"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I am unclear on how to test these (and ran out of time today to investigate existing tests that use them): AIUI, the tests are run by tox with a specific interpreter available, and other may not be.

If there's a tip for how these should be structured, that'd be appreciated, otherwise I'll look at existing tests more, soon.

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.

1 participant