-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cache interpreter info in memory #113
Conversation
@@ -8,7 +8,6 @@ msvc_spectre_libs = { version = "0.1.1", features = ["error"] } | |||
|
|||
[dependencies] | |||
pet-fs = { path = "../pet-fs" } | |||
pet-python-utils = { path = "../pet-python-utils" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had to remove this incorrect depenedency, core should not have any other dependencies related to python interpreters and the like.
Hence the large number of files touched.
a13d8c1
to
bf032d3
Compare
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT License. | ||
|
||
use std::path::PathBuf; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved from pet-python-utils
|
||
// #[test] | ||
// #[cfg(unix)] | ||
// fn test_hash_generation_upper_case() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will be enabled/implemented in a separate PR.
This pr will only focus on in memory caching.
pub symlinks: Option<Vec<PathBuf>>, | ||
} | ||
|
||
impl PythonEnv { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved to pet-core
No description provided.