Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Unified Diff: vpython/api/vpython/env.proto

Issue 2905943002: [vpython] Incorporate interpreter path/hash. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | vpython/api/vpython/env.pb.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vpython/api/vpython/env.proto
diff --git a/vpython/api/vpython/env.proto b/vpython/api/vpython/env.proto
index e077030d7315181f45806afa6964a9503936ef78..5ad6c283a29e670a2a24acc940ba931d042123f3 100644
--- a/vpython/api/vpython/env.proto
+++ b/vpython/api/vpython/env.proto
@@ -15,7 +15,21 @@ message Environment {
// A constructed VirtualEnv.
vpython.Spec spec = 1;
+ // The resolved runtime parameters.
+ Runtime runtime = 2;
+
// The PEP425 tags that were probed for this Python environment.
- repeated vpython.Pep425Tag pep425_tag = 2;
+ repeated vpython.Pep425Tag pep425_tag = 3;
+}
+
+
+// Runtime is the set of resolved runtime parameters.
+message Runtime {
+ // The absolute path to the resolved interpreter.
+ string path = 1;
+ // The SHA256 hash of the resolved interpreter.
+ string hash = 2;
+ // The resolved Python interpreter version.
+ string version = 3;
}
« no previous file with comments | « no previous file | vpython/api/vpython/env.pb.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698