<@UB2J9BQA0>: now thinking this syntax instead for...
# development
w
@hundreds-father-404: now thinking this syntax instead for the inheritance:
Copy code
-            [f"--ca-certs-path={certs_file}"], env={"PATH": None, "PYENV_ROOT": None, "HOME": None}
+            [f"--ca-certs-path={certs_file}"], env_inherit={"PATH", "PYENV_ROOT", "HOME"},
Copy code
+        env = {
+            **{k: os.environ[k] for k in env_inherit if k in os.environ},
+            **(env else {}),
+        }
h
Oh yeah, that's more explicit. And I like
env
overriding
env_inherit
👍 1