From c8d1b126b5494c021698af803b60829a8cb38da2 Mon Sep 17 00:00:00 2001 From: Tarun Menon Date: Tue, 31 Oct 2023 12:13:02 +1100 Subject: [PATCH] Bump python to 3.11 --- s3.config.yaml | 2 +- spec/cors_spec.rb | 2 +- tests/lambda_notifications.test.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/s3.config.yaml b/s3.config.yaml index 00a50cc..acfdfab 100644 --- a/s3.config.yaml +++ b/s3.config.yaml @@ -29,7 +29,7 @@ s3_custom_resources: S3BucketCreateOnlyCR: code: s3_bucket.py handler: s3_bucket.handler - runtime: python3.8 + runtime: python3.11 timeout: 5 role: S3CustomResource environment: diff --git a/spec/cors_spec.rb b/spec/cors_spec.rb index 22abaa5..63a5e2e 100644 --- a/spec/cors_spec.rb +++ b/spec/cors_spec.rb @@ -109,7 +109,7 @@ end it "to have property Runtime" do - expect(resource["Properties"]["Runtime"]).to eq("python3.8") + expect(resource["Properties"]["Runtime"]).to eq("python3.11") end it "to have property Timeout" do diff --git a/tests/lambda_notifications.test.yaml b/tests/lambda_notifications.test.yaml index 0e8829c..dcd4d1a 100644 --- a/tests/lambda_notifications.test.yaml +++ b/tests/lambda_notifications.test.yaml @@ -30,7 +30,7 @@ s3_custom_resources: S3BucketCreateOnlyCR: code: s3_bucket.py handler: s3_bucket.handler - runtime: python3.6 + runtime: python3.11 timeout: 5 role: S3CustomResource environment: