Isolate system docs from checkout virtualenv

This commit is contained in:
Nick Sweeting 2026-07-26 23:07:26 -07:00
parent 2349f3415f
commit 37f2f11482
No known key found for this signature in database

View File

@ -413,6 +413,13 @@ def run_snippets(snippet_ids: tuple[str, ...]) -> None:
"WGET_BINARY",
):
snippet_env.pop(inherited_binary, None)
for inherited_python_env in (
"PYTHONHOME",
"PYTHONPATH",
"UV_PROJECT_ENVIRONMENT",
"VIRTUAL_ENV",
):
snippet_env.pop(inherited_python_env, None)
snippet_env.update(
{
"HOME": str(system_home),