Skip to content

Test Plan Item: Native Locator for global environments #23482

@karthiknadig

Description

@karthiknadig

Refs: #23480

Complexity: 5

Authors: @DonJayamanne

Create Issue


Requirements:

Windows

  1. Ensure you have at least one Python installed from Store
  2. Install one python from python.org if you don't already have one
  3. Install miniconda: https://docs.anaconda.com/free/miniconda/miniconda-install/
  4. Create few conda environments: conda create -n <env-name> python
  5. Install Pyenv-win https://github.com/pyenv-win/pyenv-win?tab=readme-ov-file#installation
  6. Install few version of python: use pyenv install get list of available pythons to install and install a few
  7. Install Python extension from here:

Linux/Mac/WSL

  1. Ensure you have some python version on PATH
  2. Install a version of python from homebrew
  3. Install pyenv: https://github.com/pyenv/pyenv?tab=readme-ov-file#installation
  4. Install few version of python: use pyenv install get list of available pythons to install and install a few
  5. Install miniconda: https://docs.anaconda.com/free/miniconda/miniconda-install/
  6. Create few conda environments: conda create -n <env-name> python
  7. Open VS Code User settings and add "python.locator": "native"
  8. Install Python extension from here:

Verification

  1. Open a workspace that contains a python file in VS Code
  2. Run the command "Python: Select Interpreter" (screenshot the list of python found)
  3. Open user settings, and add "python.locator": "native"
  4. Run the command "Python: Clear cache and reload window"
  5. After reloading, Run the command "Python: Select Interpreter" (screenshot the list of python found)
  6. Create an issue with the before after screen shots.

Note: It is expected that there will be some pythons missing, like venv, poetry, hatch etc. What want to know is, in the areas where it finds "something" does it find all. Like if it finds conda does it find all conda environments, if it finds pyenv does it find all pyenv.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions