Skip to content

Commit be351f0

Browse files
committed
feat: remove python2 from server/lib/serverUtils.ts
1 parent 893a735 commit be351f0

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

app/server/lib/serverUtils.ts

+2-6
Original file line numberDiff line numberDiff line change
@@ -144,12 +144,8 @@ export async function checkAllegedGristDoc(docSession: OptDocSession, fname: str
144144
/**
145145
* Only offer choices of engine on experimental deployments (staging/dev).
146146
*/
147-
export function getSupportedEngineChoices(): EngineCode[]|undefined {
148-
if (process.env.GRIST_EXPERIMENTAL_PLUGINS === '1' ||
149-
process.env.PYTHON_VERSION_ON_CREATION) {
150-
return ['python2', 'python3'];
151-
}
152-
return undefined;
147+
export function getSupportedEngineChoices(): EngineCode[] {
148+
return ['python3'];
153149
}
154150

155151
/**

0 commit comments

Comments
 (0)