Skip to content

Hatch: Select interpreter list does not show hatch environments from 3.12 #23827

Description

(per instructions in: #23706 (comment))

In our team some have this problem and for some it just works.

Background:

  • system uses Python 3.10 (Ubuntu 22.04)
  • pyenv is installed and provides 3.12.2
u30576@DCL0004:~$pyenv versions
* system (set by /home/u30576/.pyenv/version)
  3.12.2

image

We have different Python projects (we use hatch) and we are moving them over to 3.12.x.
We therefore have to select interpreter choose workspace and then pick among the following:

image

The hatch project has two environments in addition to the default: lint (black, flake8) and test (pytest etc). These are shown for 3.10.12 but not for 3.12. Why?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-environmentsFeatures relating to handling interpreter environmentsbugIssue identified by VS Code Team member as probable bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions