Skip to content

Commit 86ac335

Browse files
authored
upgrade Flask (#158)
1 parent a6cc849 commit 86ac335

File tree

8 files changed

+20
-31
lines changed

8 files changed

+20
-31
lines changed

examples/fastapi-zip/app/Makefile

Lines changed: 0 additions & 6 deletions
This file was deleted.

examples/fastapi-zip/app/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22

3-
PATH=$PATH:$LAMBDA_TASK_ROOT/bin PYTHONPATH=$LAMBDA_TASK_ROOT exec uvicorn --port=$PORT main:app
3+
PATH=$PATH:$LAMBDA_TASK_ROOT/bin PYTHONPATH=$LAMBDA_TASK_ROOT exec python -m uvicorn --port=$PORT main:app

examples/fastapi-zip/template.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ Resources:
2525
Events:
2626
ApiEvent:
2727
Type: HttpApi
28-
Metadata:
29-
BuildMethod: makefile
3028

3129

3230
Outputs:

examples/flask-zip/app/Makefile

Lines changed: 0 additions & 6 deletions
This file was deleted.
Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
click==8.0.1
2-
Flask==2.0.1
1+
click==8.1.3
2+
Flask==2.2.3
33
gunicorn==20.1.0
4-
itsdangerous==2.0.1
5-
Jinja2==3.0.1
6-
MarkupSafe==2.0.1
7-
Werkzeug==2.0.1
4+
importlib-metadata==6.0.0
5+
itsdangerous==2.1.2
6+
Jinja2==3.1.2
7+
MarkupSafe==2.1.2
8+
typing_extensions==4.5.0
9+
Werkzeug==2.2.3
10+
zipp==3.13.0

examples/flask-zip/app/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22

3-
PATH=$PATH:$LAMBDA_TASK_ROOT/bin PYTHONPATH=$LAMBDA_TASK_ROOT exec gunicorn -b=:$PORT -w=1 app:app
3+
PATH=$PATH:$LAMBDA_TASK_ROOT/bin PYTHONPATH=$LAMBDA_TASK_ROOT exec python -m gunicorn -b=:$PORT -w=1 app:app

examples/flask-zip/template.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@ Resources:
2525
Events:
2626
ApiEvent:
2727
Type: HttpApi
28-
Metadata:
29-
BuildMethod: makefile
3028

31-
3229
Outputs:
3330
FlaskApi:
3431
Description: "API Gateway endpoint URL for Prod stage for Flask function"
Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
click==8.0.1
2-
Flask==2.0.1
1+
click==8.1.3
2+
Flask==2.2.3
33
gunicorn==20.1.0
4-
itsdangerous==2.0.1
5-
Jinja2==3.0.1
6-
MarkupSafe==2.0.1
7-
Werkzeug==2.0.1
4+
importlib-metadata==6.0.0
5+
itsdangerous==2.1.2
6+
Jinja2==3.1.2
7+
MarkupSafe==2.1.2
8+
typing_extensions==4.5.0
9+
Werkzeug==2.2.3
10+
zipp==3.13.0

0 commit comments

Comments
 (0)