Skip to content

Commit

Permalink
Feature/python3.11 (#149)
Browse files Browse the repository at this point in the history
* bump python to 3.11

* bump workflows to use python 3.11
  • Loading branch information
tarunmenon95 authored May 7, 2024
1 parent 87ffef6 commit 74397bf
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9
FROM python:3.11

COPY requirements.txt requirements.txt

Expand Down
4 changes: 2 additions & 2 deletions serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service:

provider:
name: aws
runtime: python3.8
runtime: python3.11
iamRoleStatements:
# read only ec2, rds
- Effect: Allow
Expand Down Expand Up @@ -96,7 +96,7 @@ functions:
shelvery:
handler: shelvery_lambda/lambda_handler.lambda_handler
name: shelvery
runtime: python3.8
runtime: python3.11
timeout: 300
events:

Expand Down
2 changes: 1 addition & 1 deletion template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 74397bf

Please sign in to comment.