Skip to content

Commit 25ee429

Browse files
sasha-gitgcopybara-github
authored andcommitted
chore: update fastapi upper bound for Custom Prediction Routine
PiperOrigin-RevId: 845301961
1 parent 28f89f8 commit 25ee429

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.kokoro/build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ export PROJECT_ID=$(cat "${KOKORO_GFILE_DIR}/project-id.json")
3636
# Remove old nox
3737
python3 -m pip uninstall --yes --quiet nox-automation
3838

39+
# Match the docker version to the one used by the test runner for CPR
40+
export DOCKER_API_VERSION=1.39
41+
3942
# Install nox
4043
python3 -m pip install --upgrade --quiet uv nox
4144
python3 -m nox --version

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080

8181
prediction_extra_require = [
8282
"docker >= 5.0.3",
83-
"fastapi >= 0.71.0, <=0.114.0",
83+
"fastapi >= 0.71.0, <=0.124.4",
8484
"httpx >=0.23.0, <=0.28.1", # Optional dependency of fastapi
8585
"starlette >= 0.17.1",
8686
"uvicorn[standard] >= 0.16.0",

0 commit comments

Comments
 (0)