-
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
Add an API to expose the tools such as Conda , PyEnv, etc #21732
Comments
Can you clarify on how APIs such as |
No, that will not be sufficient as we use the conda executable to run conda commands like |
Curious what here has been worked on or if the plan has changed with all the work in environments you have both worked on |
There is dedicated API to do package installs, uninstalls, and checks. There is also an api to ask env managers to list installables in the project. APIs to create or remove environments. Those should be sufficient. See: https://github.com/microsoft/vscode-python-environments?tab=readme-ov-file#api-reference-proposed |
Currenly the Jupyter Extension requires access to the Conda executable hence we have a private API that exposes
Ideally just exposing the conda file would suffice, as the version can be derived from the executable.
Similarly I have an ask to expose this in my Python Environment manager, currently I need access to PyEnv, Conda, PipEnv, and other tools.
Given the fact that the
tools
are exposed in the envs, I think we can look into exposing the executable path as well via some API.The text was updated successfully, but these errors were encountered: