Skip to content

Commit f7127ee

Browse files
authored
Upgrade Flask to 2.3.2 (awslabs#225)
1 parent dd4a3fd commit f7127ee

File tree

4 files changed

+15
-22
lines changed

4 files changed

+15
-22
lines changed
+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1+
blinker==1.6.2
12
click==8.1.3
2-
Flask==2.2.3
3+
Flask==2.3.2
34
gunicorn==20.1.0
4-
importlib-metadata==6.0.0
5+
importlib-metadata==6.6.0
56
itsdangerous==2.1.2
67
Jinja2==3.1.2
78
MarkupSafe==2.1.2
8-
typing_extensions==4.5.0
9-
Werkzeug==2.2.3
10-
zipp==3.13.0
9+
Werkzeug==2.3.3
10+
zipp==3.15.0

examples/flask-zip/template.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Resources:
1414
Properties:
1515
CodeUri: app/
1616
Handler: run.sh
17-
Runtime: python3.9
17+
Runtime: python3.10
1818
MemorySize: 256
1919
Environment:
2020
Variables:

examples/flask/app/requirements.txt

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1+
blinker==1.6.2
12
click==8.1.3
2-
Flask==2.2.3
3+
Flask==2.3.2
34
gunicorn==20.1.0
4-
importlib-metadata==6.0.0
5+
importlib-metadata==6.6.0
56
itsdangerous==2.1.2
67
Jinja2==3.1.2
78
MarkupSafe==2.1.2
8-
typing_extensions==4.5.0
9-
Werkzeug==2.2.3
10-
zipp==3.13.0
9+
Werkzeug==2.3.3
10+
zipp==3.15.0

examples/flask/template.yaml

+4-11
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,18 @@ Description: >
88
# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst
99
Globals:
1010
Function:
11-
Timeout: 29
11+
Timeout: 10
1212

1313
Resources:
1414
FlaskFunction:
1515
Type: AWS::Serverless::Function
1616
Properties:
1717
PackageType: Image
18-
MemorySize: 1024
18+
MemorySize: 256
1919
Events:
20-
Root:
20+
ApiEvent:
2121
Type: HttpApi
22-
Properties:
23-
Path: /
24-
Method: ANY
25-
Proxy:
26-
Type: HttpApi
27-
Properties:
28-
Path: /{proxy+}
29-
Method: ANY
22+
3023
Metadata:
3124
Dockerfile: Dockerfile
3225
DockerContext: ./app

0 commit comments

Comments
 (0)