Skip to content

Create Env: Test creating a conda environment using the Create Environment command. #19884

@karthiknadig

Description

@karthiknadig

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions