Skip to content

Commit fa46e5a

Browse files
Merge pull request #105 from socraticDevBlog/20250524-upgradepython
Update Python version to 3.11 in configuration files and templates
2 parents a9fb8d2 + c5545e1 commit fa46e5a

File tree

7 files changed

+29
-27
lines changed

7 files changed

+29
-27
lines changed

.github/workflows/pytest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup Python
2020
uses: actions/setup-python@v2
2121
with:
22-
python-version: "3.10"
22+
python-version: "3.11"
2323

2424
- name: Install pipenv
2525
run: |

.github/workflows/terraform.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Set up Python
2929
uses: actions/setup-python@v2
3030
with:
31-
python-version: "3.10"
31+
python-version: "3.11"
3232

3333
- name: Install Lambda (Python) dependencies
3434
run: |

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.10
1+
3.11

Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ black = "*"
1515
tomli = "*"
1616

1717
[requires]
18-
python_version = "3.10"
18+
python_version = "3.11"
1919

2020
[scripts]
2121
test = "pytest test/ -v"

Pipfile.lock

Lines changed: 23 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Resources:
2525
Properties:
2626
CodeUri: src/
2727
Handler: app.lambda_handler
28-
Runtime: python3.10
28+
Runtime: python3.11
2929
Timeout: 5
3030
Architectures:
3131
- x86_64

terraform/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ variable "region" {
1717

1818
variable "python_runtime" {
1919
type = string
20-
default = "python3.10"
20+
default = "python3.11"
2121
description = "runtime on which lambda python code will run"
2222
}
2323

0 commit comments

Comments
 (0)