From 89039b5610e3526f55486e35fd460d31206ac87e Mon Sep 17 00:00:00 2001 From: Diana Bacarisas Date: Thu, 24 Oct 2024 20:09:13 +1100 Subject: [PATCH 1/3] [VENDOR] upgrade version python to address dependabot alert --- runtime.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime.txt b/runtime.txt index 1380601..32905d6 100644 --- a/runtime.txt +++ b/runtime.txt @@ -1 +1 @@ -python-3.7.11 +python-3.12.7 From b3c637eaef07563cbe96035c266f0c0d8443ca64 Mon Sep 17 00:00:00 2001 From: Diana Bacarisas Date: Thu, 24 Oct 2024 23:06:14 +1100 Subject: [PATCH 2/3] [VENDOR] upgrade gunicorn version to address dependabot alert --- requirements-lambda.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-lambda.txt b/requirements-lambda.txt index 9f17205..30dcf43 100644 --- a/requirements-lambda.txt +++ b/requirements-lambda.txt @@ -1,6 +1,6 @@ Flask==2.2.5 Flask-HTTPAuth==3.3.0 -gunicorn==19.9.0 +gunicorn==22.0.0 jsonify==0.5 mpmath==1.1.0 git+https://github.com/meganly/sympy@7880910a57540ef09c6e9323c23652f14962ec43#egg=sympy From d84f1d16e72567969a863ae893fae5199c0b7870 Mon Sep 17 00:00:00 2001 From: Diana Bacarisas Date: Fri, 25 Oct 2024 11:03:34 +1100 Subject: [PATCH 3/3] [VENDOR] match python version upgrade --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b9e3352..7ea7834 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ init: install zip --policy-arn arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole || true aws lambda create-function \ --function-name sympy-service \ - --runtime python3.8 \ + --runtime python3.12 \ --handler lambda_function.handler \ --zip-file fileb://function.zip \ --role arn:aws:iam::534897478838:role/lambda-sympy-service || true