-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
No hatch environment is discovered on Windows #23121
Comments
From logs:
From command line:
|
This might be a bug is hatch itself, from VS Code with same CWD hatch returns: The issue seems to be that VS Code (node APIs) use lowercase for Drive letters, the CWD set while running this might have lowercase drive letter and that might be changing the hash. |
Yep I discovered the same issue while debugging, this was previously encountered with poetry as well: python-poetry/poetry#3829. Opened an issue on Hatch while incorporating the same workaround as Poetry. |
Upstream issue pypa/hatch#1350 |
This is working now. |
Testing #23088
@flying-sheep
Platform: Windows
Follow the steps in the TPI. After running
hatch run python -V
and waiting for it to finish. Run Select interpreter command, it takes some time to refresh environments. But the hatch environment is not seen,The text was updated successfully, but these errors were encountered: