Support Prebuilt Python Install through uv
H
Henry Cai
Currently when we specify a Python version, Render will try to pull that version from its own cache, this results in building Python every time if the version is not cached by the Render team yet (such as the latest 3.14.2).
To reduce the delay of having a new prebuilt Python version, and reduce the maintenance burden on the Render team, I suggest Render to support installing prebuilt Python version through uv.
This can be done automatically as the default behavior, or if there are any concerns on having this as the default behavior, maybe a runtime initialization command hook can be added, which will be run before Render checking the Python version on the runtime environment and start the current workflow, then users could install Python by themselves through the init command.
Log In
H
Henry Cai
An alternative might be automatically cache new Python version globally, so only the first instance will build it, and all other users can reuse the binary. However, I am not sure if Render team is confident enough on the current Python build process. If not, using well known prebuilt version from uv might be better.