feat(cli): support prereleases (#6085)

We previously errored when a user had prerelease dependencies, this PR
passes the `--prereleases=allow` flag to our `uv pip install` call.

This PR also adds a test to verify that said deployments will build and
run as expected.
This commit is contained in:
Isaac Francisco
2025-09-05 15:45:48 -07:00
committed by GitHub
parent f761116de7
commit eaeafe54ab
7 changed files with 145 additions and 24 deletions
+1 -1
View File
@@ -1256,7 +1256,7 @@ def python_config_to_docker(
else:
pip_installer = "pip"
if pip_installer == "uv":
install_cmd = "uv pip install --system"
install_cmd = "uv pip install --system --prerelease=allow"
elif pip_installer == "pip":
install_cmd = "pip install"
else: