Skip to content

Commit 8c7b9f1

Browse files
sergiopaniegoclaudeburtenshaw
authored
fix: pin fastapi>=0.116.0 to prevent starlette 0.46+ incompatibility (#810)
* fix: pin fastapi>=0.116.0 to prevent starlette 0.46+ incompatibility * fix: bump fastapi>=0.116.0 in openapp_env and scaffolding templates Address Copilot review on #810: align openapp_env package dep and the CLI/skill scaffolding templates with the new core minimum so non-Docker and freshly-generated envs can't land on the incompatible fastapi 0.115.x. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Co-authored-by: burtenshaw <ben.burtenshaw@gmail.com>
1 parent a86b072 commit 8c7b9f1

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
openenv-core[core]>=0.2.2
2-
fastapi>=0.115.0
2+
fastapi>=0.116.0
33
uvicorn>=0.24.0

envs/openapp_env/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ dependencies = [
2626
# pip install git+https://github.com/facebookresearch/OpenApps.git
2727
#
2828
# Server dependencies (these are installed by Dockerfile separately for openenv)
29-
"fastapi>=0.115.0",
29+
"fastapi>=0.116.0",
3030
"pydantic>=2.0.0",
3131
"uvicorn[standard]>=0.24.0",
3232
"requests>=2.31.0",

envs/openapp_env/server/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ WORKDIR /app/env
9191
RUN pip install --no-cache-dir -e .
9292

9393
# Ensure fastmcp runtime deps are on compatible versions after all installs.
94-
RUN pip install --no-cache-dir --upgrade "beartype>=0.22.6" "fastmcp>=2.14.5"
94+
RUN pip install --no-cache-dir --upgrade "beartype>=0.22.6" "fastmcp>=2.14.5" "fastapi>=0.116.0"
9595

9696
# Verify installation
9797
RUN python -c "import openapp_env; print('✓ openapp_env installed')" && \

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies = [
1212
# Core shared dependencies - minimal set required for all environments
1313
# Heavy dependencies (torch, numpy, smolagents, etc.) should be in
1414
# individual environment pyproject.toml files
15-
"fastapi>=0.104.0",
15+
"fastapi>=0.116.0",
1616
"pydantic>=2.0.0",
1717
"uvicorn>=0.24.0",
1818
"requests>=2.25.0",
@@ -34,7 +34,7 @@ dependencies = [
3434

3535
[project.optional-dependencies]
3636
core = [
37-
"fastapi>=0.104.0",
37+
"fastapi>=0.116.0",
3838
"pydantic>=2.0.0",
3939
"uvicorn>=0.24.0",
4040
"requests>=2.25.0",

src/openenv/cli/templates/openenv_env/server/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
openenv[core]>=0.2.0
2-
fastapi>=0.115.0
2+
fastapi>=0.116.0
33
uvicorn>=0.24.0
44

55

0 commit comments

Comments
 (0)