8000 Add 3.12 to conda version list (#22470) · microsoft/vscode-python@fbfa126 · GitHub
[go: up one dir, main page]

Skip to content

Commit fbfa126

Browse files
authored
Add 3.12 to conda version list (#22470)
1 parent 47552a3 commit fbfa126

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/client/pythonEnvironments/creation/provider/condaUtils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { getPrefixCondaEnvPath, hasPrefixCondaEnv } from '../common/commonUtils'
1818
import { OSType, getEnvironmentVariable, getOSType } from '../../../common/utils/platform';
1919
import { deleteCondaEnvironment } from './condaDeleteUtils';
2020

21-
const RECOMMENDED_CONDA_PYTHON = '3.10';
21+
const RECOMMENDED_CONDA_PYTHON = '3.11';
2222

2323
export async function getCondaBaseEnv(): Promise<string | undefined> {
2424
const conda = await Conda.getConda();
@@ -47,7 +47,7 @@ export async function getCondaBaseEnv(): Promise<string | undefined> {
4747
}
4848

4949
export async function pickPythonVersion(token?: CancellationToken): Promise<string | undefined> {
50-
const items: QuickPickItem[] = ['3.10', '3.11', '3.9', '3.8'].map((v) => ({
50+
const items: QuickPickItem[] = ['3.11', '3.12', '3.10', '3.9', '3.8'].map((v) => ({
5151
label: v === RECOMMENDED_CONDA_PYTHON ? `${Octicons.Star} Python` : 'Python',
5252
description: v,
5353
}));

0 commit comments

Comments
 (0)
0