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

Create Env: Test creating a virtual environment using the Create Environment command. #19883

Closed
2 of 3 tasks
karthiknadig opened this issue Sep 26, 2022 · 2 comments
Closed
2 of 3 tasks

Comments

@karthiknadig
Copy link
Member

karthiknadig commented Sep 26, 2022

Refs: #19850

Complexity: 2

Create Issue


Requirements:

  1. Python v3.7 or greater
  2. Python extension pre-release.

Verification

Workspace folder with only python code.

  1. Open a workspace folder containing some python files.
  2. Run the Python: Create Environment command.
  3. Select venv option.
  4. Go through the steps, to get the environment created.
  5. See if extension pop up a notification to select it.

Workspace folder with python code and requirements.txt

Sample requirement.txt: https://github.com/microsoft/vscode-isort/blob/main/requirements.txt

  1. Open a workspace folder containing some python files.
  2. Run the Python: Create Environment command.
  3. Select venv.
  4. Go through the steps, to get the environment created.
  5. Look at the logs to see if the packages in requirements.txt were installed.
  6. See if extension pops up a notification to select it.

NOTE: Extension notification on environment creation is temporary, we plan on suppressing it and selecting the environment automatically on creation. If you do feel that notification is helpful, let us know.

@meganrogge
Copy link

I can't run that command - what am I doing wrong?

Screen Shot 2022-09-27 at 8 15 58 AM

@karthiknadig
Copy link
Member Author

@meganrogge Can you open a python file? Python extension is not activated. Looks like we may have missed adding this command to the activation list.

@bamurtaugh bamurtaugh removed their assignment Sep 27, 2022
@meganrogge meganrogge removed their assignment Sep 27, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants