microsoft / python-environment-tools

MIT License
110 stars 7 forks source link

Support micromamba #25

Open DonJayamanne opened 1 month ago

DonJayamanne commented 1 month ago

Challenges

Notes:

Probably a debt task. @karthiknadig /cc

corneliusroemer commented 1 week ago

I came here to ask about micromamba support. Great to see it's already on your list! I just installed VS Code 1.91 and I noticed that the "Python 3.1" errors have disappeared. And there even seems to be micromamba support?

I get this in VS Code 1.91:

Code 2024-07-04 00 58 44
karthiknadig commented 1 week ago

@corneliusroemer This is not yet integrated into python extension. I am currently working on that. But, you should be able to see exactly what this finds in Output > Python Locator. It currently runs in parallel to existing discovery code, and logs the results.

corneliusroemer commented 1 week ago

Excellent! In any case, things are already really really good now in 1.91, it's fixed the annoying misrecognition of functioning Pythons as version 3.1.

Great job!

Here's what I see in the locator, looks all good to me, but I might misunderstand what this tool here does:

Code 2024-07-04 01 07 28
DonJayamanne commented 1 week ago

Here's what I see in the locator, looks all good to me, but I might misunderstand what this tool here does:

Not sure what you mean. The logs merely show what was discovered, in above logs they are 4 different Python environments. I am 100% certain that the envs miniwdl and pango3116 are conda envs. Not sure about the first and the last item. Are they not conda environments, i.e. are these the items you are confused about?