Skip to content

Commit 89d6849

Browse files
committed
[Dependencies] Upgrade to Python 3.12 (from 3.9).
1 parent e7a964b commit 89d6849

File tree

5 files changed

+8
-16
lines changed

5 files changed

+8
-16
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM tiangolo/uwsgi-nginx-flask:python3.8-alpine
1+
FROM tiangolo/uwsgi-nginx-flask:python3.12-alpine
22

33
ENV PYTHONUNBUFFERED=1
44
ENV STATIC_URL /static

Dockerfile.awslambda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM public.ecr.aws/lambda/python:3.8-x86_64
1+
FROM public.ecr.aws/lambda/python:3.12-x86_64
22

33
COPY --from=frontend-awslambda /app/build ${LAMBDA_TASK_ROOT}/frontend/public
44

infrastructure/parallelcluster-ui.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ Resources:
438438
Type: AWS::Lambda::Function
439439
Properties:
440440
Handler: index.handler
441-
Runtime: python3.9
441+
Runtime: python3.12
442442
MemorySize: 128
443443
Timeout: 20
444444
TracingConfig:
@@ -748,7 +748,7 @@ Resources:
748748
cfnresponse.send(event, context, response_status, response_data, physical_resource_id, reason)
749749
750750
Handler: index.handler
751-
Runtime: python3.9
751+
Runtime: python3.12
752752
Role: !GetAtt EcrImageDeletionLambdaRole.Arn
753753

754754
EcrImageDeletionLambdaLogGroup:

requirements.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ urllib3==1.26.19
77
# Installing cryptography backend since it is the recommended one: https://pypi.org/project/python-jose/
88
python-jose[cryptography]==3.3.0
99
cryptography==43.0.1
10-
PyYAML==6.0
10+
PyYAML==6.0.2
1111
pytest==7.2.2
1212
pytest-mock==3.8.2
1313
itsdangerous==2.1.2

requirements.txt

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.9
2+
# This file is autogenerated by pip-compile with Python 3.12
33
# by the following command:
44
#
55
# pip-compile
@@ -18,7 +18,7 @@ certifi==2024.7.4
1818
# via
1919
# -r requirements.in
2020
# requests
21-
cffi==1.16.0
21+
cffi==1.17.1
2222
# via cryptography
2323
charset-normalizer==2.1.1
2424
# via requests
@@ -30,8 +30,6 @@ cryptography==43.0.1
3030
# python-jose
3131
ecdsa==0.18.0
3232
# via python-jose
33-
exceptiongroup==1.1.1
34-
# via pytest
3533
flask==2.3.3
3634
# via
3735
# -r requirements.in
@@ -40,8 +38,6 @@ flask-cors==4.0.2
4038
# via -r requirements.in
4139
idna==3.4
4240
# via requests
43-
importlib-metadata==6.6.0
44-
# via flask
4541
iniconfig==2.0.0
4642
# via pytest
4743
itsdangerous==2.1.2
@@ -84,7 +80,7 @@ python-dateutil==2.8.2
8480
# via botocore
8581
python-jose[cryptography]==3.3.0
8682
# via -r requirements.in
87-
pyyaml==6.0
83+
pyyaml==6.0.2
8884
# via -r requirements.in
8985
requests==2.32.0
9086
# via -r requirements.in
@@ -96,8 +92,6 @@ six==1.16.0
9692
# via
9793
# ecdsa
9894
# python-dateutil
99-
tomli==2.0.1
100-
# via pytest
10195
urllib3==1.26.19
10296
# via
10397
# -r requirements.in
@@ -107,5 +101,3 @@ werkzeug==2.3.8
107101
# via
108102
# -r requirements.in
109103
# flask
110-
zipp==3.15.0
111-
# via importlib-metadata

0 commit comments

Comments
 (0)