Skip to content
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

Test: Try out the Environments extension #24503

Closed
3 tasks done
karthiknadig opened this issue Dec 2, 2024 · 1 comment
Closed
3 tasks done

Test: Try out the Environments extension #24503

karthiknadig opened this issue Dec 2, 2024 · 1 comment

Comments

@karthiknadig
Copy link
Member

karthiknadig commented Dec 2, 2024

Refs: #24025, #24067, #23155

Complexity: 3

Create Issue


Introduction

You are testing the environments extension. This extension is intended to replace the functionality of the python extension, specifically the environment management parts. When installed along side with Python extension, the environments extension will provide the various features that you normally used the python extension for, such as selecting environments, creating, deleting, managing packages etc. The current implement supports virtual environment via venv as a built-in feature.

Requirements:

  1. Download and install the following, pick the platform specific VSIX from the build artifacts:
  2. Reload VS Code

Testing:

  1. Open a python workspace
  2. Create a venv environment if it does not exist. If it does make sure that it got selected. This view should have the info you need:
    Image
  3. Try running python in the terminal using the run-in-terminal command from the editor run menu
  4. Try switching environments, see if it is using the right one when you run. Ensure status bar shows the change.
  5. Since venv are activated environments, environments view and project view should have an inline command create terminal try it.
  6. Try deleting the .venv you created from file explorer, see what happens. (Note: deleting from outside of VS Code might not work because VS Code watcher does not report folder deletions, unless we specifically watch that folder)
@karthiknadig karthiknadig added this to the November 2024 milestone Dec 2, 2024
@karthiknadig karthiknadig changed the title TPI: Try out the environment extension Test Try out the Environments extension Dec 2, 2024
@karthiknadig karthiknadig changed the title Test Try out the Environments extension Test: Try out the Environments extension Dec 2, 2024
@aeschli aeschli removed their assignment Dec 3, 2024
@eleanorjboyd
Copy link
Member

seems like a env can have multiple versions of wheel? Image

should we signal which is being used actively?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants