Skip to content

Commit fc89b67

Browse files
committed
Update python version in django, flask, python platforms
1 parent 4c4412c commit fc89b67

2 files changed

Lines changed: 15 additions & 7 deletions

File tree

src/services/get-platform-version.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,15 @@ function getPythonVersion(projectPath: string, debug: DebugLogger) {
118118
'virtualenv',
119119
'.virtualenv',
120120
];
121-
const supportedPythonVersion = ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'];
121+
const supportedPythonVersion = [
122+
'3.7',
123+
'3.8',
124+
'3.9',
125+
'3.10',
126+
'3.11',
127+
'3.12',
128+
'3.13',
129+
];
122130

123131
for (const name of commonVenvNames) {
124132
const venvDir = path.join(projectPath, name);

src/utils/get-supported-versions.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,16 @@ const versions: IVersions = {
3333
allVersions: ['8.4', '8.3', '8.2', '8.1', '8.0', '7.4', '7.3', '7.2'],
3434
},
3535
python: {
36-
defaultVersion: '3.11',
37-
allVersions: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'],
36+
defaultVersion: '3.12',
37+
allVersions: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13'],
3838
},
3939
django: {
40-
defaultVersion: '3.10',
41-
allVersions: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'],
40+
defaultVersion: '3.12',
41+
allVersions: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13'],
4242
},
4343
flask: {
44-
defaultVersion: '3.10',
45-
allVersions: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'],
44+
defaultVersion: '3.12',
45+
allVersions: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13'],
4646
},
4747
go: {
4848
defaultVersion: '1.24',

0 commit comments

Comments
 (0)