environment_info_cache is keyed by the raw Path value. On Windows, callers can supply equivalent paths with different casing / slash style, which will miss the cache and reduce cross-refresh reuse. Other PET caches normalize cache keys with pet_fs::path::norm_case (e.g. get_conda_environment_paths() normalizes discovered prefixes, and pet-python-utils hashes norm_case(executable)). Consider normalizing the prefix before get/insert/remove/retain so the shared cache consistently hits across refreshes and call paths.
environment_info_cacheis keyed by the rawPathvalue. On Windows, callers can supply equivalent paths with different casing / slash style, which will miss the cache and reduce cross-refresh reuse. Other PET caches normalize cache keys withpet_fs::path::norm_case(e.g.get_conda_environment_paths()normalizes discovered prefixes, andpet-python-utilshashesnorm_case(executable)). Consider normalizing the prefix beforeget/insert/remove/retainso the shared cache consistently hits across refreshes and call paths.