diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 4af5888..a70ebd5 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -12,7 +12,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: '3.9' + python-version: '3.11' - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/publish-to-test-pypi.yml b/.github/workflows/publish-to-test-pypi.yml index 3290da5..3809438 100644 --- a/.github/workflows/publish-to-test-pypi.yml +++ b/.github/workflows/publish-to-test-pypi.yml @@ -13,7 +13,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: '3.9' + python-version: '3.11' - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/Dockerfile b/Dockerfile index 894e7f3..2e3467e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.9 +FROM python:3.11 COPY requirements.txt requirements.txt diff --git a/serverless.yml b/serverless.yml index 62807ec..1e40622 100644 --- a/serverless.yml +++ b/serverless.yml @@ -3,7 +3,7 @@ service: provider: name: aws - runtime: python3.8 + runtime: python3.11 iamRoleStatements: # read only ec2, rds - Effect: Allow @@ -96,7 +96,7 @@ functions: shelvery: handler: shelvery_lambda/lambda_handler.lambda_handler name: shelvery - runtime: python3.8 + runtime: python3.11 timeout: 300 events: diff --git a/template.yaml b/template.yaml index f5853f5..315c038 100644 --- a/template.yaml +++ b/template.yaml @@ -111,7 +111,7 @@ Resources: Properties: FunctionName: ShelveryBackups Handler: shelvery_lambda/lambda_handler.lambda_handler - Runtime: python3.8 + Runtime: python3.11 CodeUri: ./lib Timeout: 900