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 conda environment using the Create Environment command. #19884

Closed
3 tasks done
karthiknadig opened this issue Sep 26, 2022 · 1 comment
Closed
3 tasks done

Comments

@karthiknadig
Copy link
Member

karthiknadig commented Sep 26, 2022

Refs: #19850

Complexity: 3

Create Issue


Requirements:

  1. Conda v4.10 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 conda 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 environment.yml

Refer this for environment.yml: https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#create-env-file-manually

  1. Open a workspace folder containing some python files.
  2. Run the Python: Create Environment command.
  3. Select conda option.
  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.

@roblourens
Copy link
Member

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.

I assume that if I just created the environment, I intend to use it, so selecting is automatically sounds correct to me

@roblourens roblourens removed their assignment Sep 28, 2022
@devinvalenciano devinvalenciano removed their assignment Sep 28, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 29, 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