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

Function getDevPythonVersion

packages/python/src/version.ts:69–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67];
68
69function getDevPythonVersion(): PythonVersion {
70 // Omitting major/minor lets uv resolve the interpreter via its own
71 // chain (`.python-version`, managed default, system `python3`) instead
72 // of the old `--python 3.0` placeholder that uv >= 0.10.11 rejects.
73 return {
74 pipPath: 'pip3',
75 pythonPath: 'python3',
76 runtime: 'python3',
77 };
78}
79
80/**
81 * Select the appropriate Python version for production builds when no version is specified

Callers 2

getDefaultPythonVersionFunction · 0.85
resolvePythonVersionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected