Skip to content

Cleanup PythonEnvKind which is now exposed in the proposed API #18931

Description

@karrtikr

export enum PythonEnvKind {
Unknown = 'unknown',
// "global"
System = 'global-system',
MacDefault = 'global-mac-default',
WindowsStore = 'global-windows-store',
Pyenv = 'global-pyenv',
CondaBase = 'global-conda-base',
Poetry = 'global-poetry',
Custom = 'global-custom',
OtherGlobal = 'global-other',
// "virtual"
Venv = 'virt-venv',
VirtualEnv = 'virt-virtualenv',
VirtualEnvWrapper = 'virt-virtualenvwrapper',
Pipenv = 'virt-pipenv',
Conda = 'virt-conda',
OtherVirtual = 'virt-other',
}

  • Remove unused types, for eg. CondaBase, MacDefault etc.
  • Cleanup the string values, for eg. 'global-poetry' isn't correct as poetry envs can be local too.

Metadata

Metadata

Labels

area-environmentsFeatures relating to handling interpreter environmentsdebtCode quality issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions