MCPcopy Create free account
hub / github.com/vercel/vercel / makePythonVersion

Function makePythonVersion

packages/python/src/version.ts:43–56  ·  view source on GitHub ↗
(
  major: number,
  minor: number,
  discontinueDate?: Date
)

Source from the content-addressed store, hash-verified

41)!;
42
43function makePythonVersion(
44 major: number,
45 minor: number,
46 discontinueDate?: Date
47): PythonVersion {
48 return {
49 major,
50 minor,
51 pipPath: `pip${major}.${minor}`,
52 pythonPath: `python${major}.${minor}`,
53 runtime: `python${major}.${minor}`,
54 discontinueDate,
55 };
56}
57
58// The order must be most recent first
59const allOptions: PythonVersion[] = [

Callers 1

version.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected