Skip to content

Conversation

@DonJayamanne
Copy link
Collaborator

No description provided.


[dependencies]
pet-fs = { path = "../pet-fs" }
pet-python-utils = { path = "../pet-python-utils" }
Copy link
Collaborator Author

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.

@DonJayamanne DonJayamanne force-pushed the cacheInterpreterInfo3 branch from a13d8c1 to bf032d3 Compare July 15, 2024 07:16
@DonJayamanne DonJayamanne changed the title Cache interpreter info Cache interpreter info in memory Jul 15, 2024
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

use std::path::PathBuf;
Copy link
Collaborator Author

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() {
Copy link
Collaborator Author

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 {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved to pet-core

@DonJayamanne DonJayamanne marked this pull request as ready for review July 15, 2024 07:31
@vscodenpa vscodenpa added this to the July 2024 milestone Jul 15, 2024
@DonJayamanne DonJayamanne merged commit 060ed51 into main Jul 15, 2024
@DonJayamanne DonJayamanne deleted the cacheInterpreterInfo3 branch July 15, 2024 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants