Skip to content

Commit

Permalink
Upgrade FastAPI to 0.109.2 in examples (#389)
Browse files Browse the repository at this point in the history
  • Loading branch information
bnusunny authored Feb 12, 2024
1 parent 3cecc31 commit bde1a6f
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 28 deletions.
4 changes: 2 additions & 2 deletions examples/bedrock-agent-fastapi-zip/app/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ annotated-types==0.6.0
anyio==4.2.0
click==8.1.7
exceptiongroup==1.2.0
fastapi==0.109.0
fastapi==0.109.2
h11==0.14.0
httptools==0.6.1
idna==3.6
Expand All @@ -12,7 +12,7 @@ pydantic_core==2.14.6
python-dotenv==1.0.1
PyYAML==6.0.1
sniffio==1.3.0
starlette==0.35.1
starlette==0.36.3
typing_extensions==4.9.0
uvicorn==0.27.0
uvloop==0.19.0
Expand Down
4 changes: 2 additions & 2 deletions examples/bedrock-agent-fastapi/app/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ boto3==1.34.28
botocore==1.34.28
click==8.1.7
exceptiongroup==1.2.0
fastapi==0.109.0
fastapi==0.109.2
h11==0.14.0
httptools==0.6.1
idna==3.6
Expand All @@ -18,7 +18,7 @@ PyYAML==6.0.1
s3transfer==0.10.0
six==1.16.0
sniffio==1.3.0
starlette==0.35.1
starlette==0.36.3
typing_extensions==4.9.0
urllib3==2.0.7
uvicorn==0.27.0
Expand Down
21 changes: 11 additions & 10 deletions examples/fastapi-response-streaming-zip/app/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
anyio==3.6.2
click==8.1.3
fastapi==0.95.2
annotated-types==0.6.0
anyio==4.2.0
click==8.1.7
exceptiongroup==1.2.0
fastapi==0.109.2
h11==0.14.0
idna==3.4
importlib-metadata==6.0.0
pydantic==1.10.5
idna==3.6
pydantic==2.6.1
pydantic_core==2.16.2
sniffio==1.3.0
starlette==0.27.0
typing_extensions==4.5.0
uvicorn==0.20.0
zipp==3.13.0
starlette==0.36.3
typing_extensions==4.9.0
uvicorn==0.27.0.post1
2 changes: 1 addition & 1 deletion examples/fastapi-response-streaming-zip/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Resources:
Properties:
CodeUri: app/
Handler: run.sh
Runtime: python3.11
Runtime: python3.12
MemorySize: 256
Environment:
Variables:
Expand Down
4 changes: 2 additions & 2 deletions examples/fastapi-response-streaming/app/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ boto3==1.28.61
botocore==1.31.61
click==8.1.7
exceptiongroup==1.1.3
fastapi==0.103.2
fastapi==0.109.2
h11==0.14.0
idna==3.4
jmespath==1.0.1
Expand All @@ -14,7 +14,7 @@ python-dateutil==2.8.2
s3transfer==0.7.0
six==1.16.0
sniffio==1.3.0
starlette==0.27.0
starlette==0.36.3
typing_extensions==4.8.0
urllib3==1.26.18
uvicorn==0.23.2
2 changes: 1 addition & 1 deletion examples/fastapi/app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM public.ecr.aws/docker/library/python:3.11-slim
FROM public.ecr.aws/docker/library/python:3.12-slim
COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:0.8.1 /lambda-adapter /opt/extensions/lambda-adapter
ENV PORT=8000
WORKDIR /var/task
Expand Down
21 changes: 11 additions & 10 deletions examples/fastapi/app/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
anyio==3.6.2
click==8.1.3
fastapi==0.95.2
annotated-types==0.6.0
anyio==4.2.0
click==8.1.7
exceptiongroup==1.2.0
fastapi==0.109.2
h11==0.14.0
idna==3.4
importlib-metadata==6.0.0
pydantic==1.10.5
idna==3.6
pydantic==2.6.1
pydantic_core==2.16.2
sniffio==1.3.0
starlette==0.27.0
typing_extensions==4.5.0
uvicorn==0.20.0
zipp==3.13.0
starlette==0.36.3
typing_extensions==4.9.0
uvicorn==0.27.0.post1

0 comments on commit bde1a6f

Please sign in to comment.