Skip to content

hatch commands do not handle case-insensitive paths as cwd on Windows #1350

@karrtikr

Description

@karrtikr

Hi VS Code dev here 👋

Same issue as python-poetry/poetry#3829 for Poetry. If hatch commands are run using cwd with a lower drive letter, they are converted to the wrong hash. For eg. hatch env find default would result in different results if drive letter in cwd is lowercased v/s not.

This leads to no hatch environments being discovered on Windows as we're looking into the wrong directory (because of wrong hash) for python executables.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions