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 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 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