Skip to content

Test: New getting started walkthrough when Python isn't installed  #19549

@luabud

Description

@luabud

Refs: #19099

Complexity: 5

Authors: @karrtikr @luabud

Create Issue


Requirements

  1. A machine with no Python installed
    • I'm not sure how to get a new macOS machine with no Python installed, but for Windows you can create one on Azure and for Linux you can just open VS Code in a devcontainer with no Python installed
  2. VS Code Insiders
  3. Pre-release version of the Python extension

Steps

  1. Open the walkthrough ("Get started... Open walkthrough" command, select "Get started with Python development")

  2. Verify that no "No Python installed" notifications pop up

  3. Verify all 4 tiles appear as expected:

    image

  4. Verify clicking on "Create Python file" creates an untitled Python file on the side:

image

  1. Verify clicking on "Select Python Interpreter" shows a "Python is not installed" option in the drop down:

    image

  2. Clicking on it will show different things depending on the OS.

    • On Windows 10/11: Click on in the "install Python" button should open the latest version of Python in the Microsoft store. After installing Python is completed, verify the interpreter shows up the next time Select Interpreter button is clicked.
    • On macOS/Linux: It should open the tile with installation instructions. Verify clicking on the "Install Python via ___" button opens a terminal and fills in the suggested commands.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions