Chromium Code Reviews
Description[vpython] Incorporate interpreter path/hash.
VirtualEnv bakes the host Python interpreter's path into its
configuration. This means that if the underlying interpreter changes or
is replaced, "vpython" will continue using the old specification
unquestioningly, potentially leading to some inconsistencies.
This approach creates a new message, "Runtime", which represents the
Python runtime configuration, including its interpreter hash. Runtime is
folded into "vpython"'s environment hash, meaning that if the
interpreter changes, "vpython" will assign the new interpreter to a
different environment.
BUG=None
TEST=local
Review-Url: https://codereview.chromium.org/2905943002
Committed: https://github.com/luci/luci-go/commit/6e3d45742db9d47fb9ab3b5f61f4dd6c0f532a1d
Patch Set 1 #
Messages
Total messages: 12 (8 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||