Skip to content

Path casing issue with environment_info_cache #488

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions