diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 00e557d..82789cc 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -20,7 +20,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v2 with: - python-version: "3.11" + python-version: "3.12" - name: Install pipenv run: | diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index 6bf06e4..caff50c 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -29,7 +29,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: "3.11" + python-version: "3.12" - name: Install Lambda (Python) dependencies run: | diff --git a/.python-version b/.python-version index 2c07333..e4fba21 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.11 +3.12 diff --git a/Pipfile b/Pipfile index 59679e4..c32de93 100644 --- a/Pipfile +++ b/Pipfile @@ -15,7 +15,7 @@ black = "*" tomli = "*" [requires] -python_version = "3.11" +python_version = "3.12" [scripts] test = "pytest test/ -v" diff --git a/Pipfile.lock b/Pipfile.lock index 9919635..e46c3a2 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,11 +1,11 @@ { "_meta": { "hash": { - "sha256": "599034e116f96b76b5c83ce3869ed82864ffab29bdb0067ba6f4d492f2316dc9" + "sha256": "5f873623f92c36325f186a43b5febe7448b376738299da603d878b8e5502d2d8" }, "pipfile-spec": 6, "requires": { - "python_version": "3.11" + "python_version": "3.12" }, "sources": [ { @@ -1688,7 +1688,7 @@ "sha256:0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466", "sha256:f0fa19c6845758ab08074a0cfa8b7aecb71c999ca73d62883bc25cc018c4e548" ], - "markers": "python_version >= '3.9'", + "markers": "python_version < '3.13'", "version": "==4.15.0" }, "typing-inspection": { diff --git a/template.yml b/template.yml index 380984c..bd65162 100644 --- a/template.yml +++ b/template.yml @@ -25,7 +25,7 @@ Resources: Properties: CodeUri: src/ Handler: app.lambda_handler - Runtime: python3.11 + Runtime: python3.12 Timeout: 5 Architectures: - x86_64 diff --git a/terraform/variables.tf b/terraform/variables.tf index a3e93e4..8c91be9 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -17,7 +17,7 @@ variable "region" { variable "python_runtime" { type = string - default = "python3.11" + default = "python3.12" description = "runtime on which lambda python code will run" }