Skip to content

Test poetry environments are autoselected #23116

Closed
@karrtikr

Description

@karrtikr

Refs: #19153

Complexity: 3

Create Issue


Requirements

  • Python extension pre-release

Verification

  • Install poetry if not already https://python-poetry.org/docs/#installing-with-the-official-installer
  • Create 3 empty projects
  • Open each project in terminal and run the following commands:
    • Initialize the poetry project, keep pressing Enter until finished:
      poetry init
      
    • Create a virtual environment and print executable
      poetry run python -c"import sys;print(sys.executable)"
      
    • Record the executable printed at end of it
      image
  • For each project:
    • Open the project as a workspace folder in VS Code and create a new Python file
    • Make sure the recorded python is the one which is selected:
      image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions